I don't understand how this is to be used:

(quail-defrule ",q" "abcd")

After evaluating this, and typing ,q, I get an underscored a: but how am I supposed to select one of the other characters? Doing (quail-next-translation) does start going through them, but only after inserting an a.

  • I've no idea how quail works. But how would you select between abc and xyz if you did (quail-defrule ",q" ["abc" "xyz"])? From the docstring, it sounds like the same sort of choice.
    – npostavs
    Commented Sep 5, 2018 at 8:47
  • Perhaps you have this enabled: "DETERMINISTIC non-nil means the first candidate of translation is selected automatically without allowing users to select another translation for a key. In this case, unselected translations are of no use for an interactive use of Quail but can be used by some other programs. If this flag is non-nil, FORGET-LAST-SELECTION is also set to t."
    – phils
    Commented Apr 7 at 0:57

1 Answer 1



(quail-defrule ",q" ["abcd"])
  • 1
    It would help if you would elaborate, e.g., explain why/how this corrects the mistake.
    – Drew
    Commented Jul 7, 2018 at 14:51
  • Yeah, I know the function takes a vector argument too, I was just curious about how the string argument is supposed to be used.
    – Toothrot
    Commented Jul 7, 2018 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.