The standard way to define an abbreviation using quail is as follows:
(quail-define-rules ("a" ?s ))
Inserting "a" gives "s".
I am wondering if one can insert an arbitrary string using quail, I tried the following but do not work
(quail-define-rules ("a" ?s?o?m?t?h?i?n?g )) (quail-define-rules ("a" "something" ))
I know there are other methods to achieve this (e.g., abbrev-mode) but I am interested if there is way to do it using quail.
Update If one uses
("a" "something" ), typing
s and ignores