bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16002: an improved input method for Esperanto


From: Ivan Shmakov
Subject: bug#16002: an improved input method for Esperanto
Date: Sat, 27 Dec 2014 08:10:36 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Ivan Shmakov <oneingray@gmail.com> writes:

 > As of e7203144, Emacs provides esperanto-postfix and esperanto-prefix
 > input methods, which both require the use of up to two keystrokes per
 > Esperanto letter.

        As of 36c43e95de5e (2014-12-18 16:44:11 +0000), the above still
        holds.

 > A more ergonomic approach is, however, to remap the letters not
 > used in Esperanto (q, w, x, y), as well as the square brackets, to
 > the “extra” letters needed, like (following the example of the ‘epo’
 > Xkb layout):

[…]

        … Which is easy to achieve with the quail code MIMEd.

        The question is: the code below doesn’t fit either latin-pre.el
        or latin-post.el.  Do we perhaps need to split esperanta layouts
        into a separate esperanto.el package?

        TIA.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A
(quail-define-package
 "esperanto" "Esperanto" "EO" nil
 "Esperanto input method without modifiers
Key translation rules are:
 X → ?Ĉ   W → ?Ĝ   } → ?Ĥ   { → ?Ĵ   Q → ?Ŝ   Y → ?Ŭ
 x → ?ĉ   w → ?ĝ   ] → ?ĥ   [ → ?ĵ   q → ?ŝ   y → ?ŭ
" nil t t nil t nil nil nil nil nil t)

(quail-define-rules
 ("X" ?Ĉ)
 ("W" ?Ĝ)
 ("{" ?Ĵ)
 ("}" ?Ĥ)
 ("Q" ?Ŝ)
 ("Y" ?Ŭ)
 ("x" ?ĉ)
 ("w" ?ĝ)
 ("[" ?ĵ)
 ("]" ?ĥ)
 ("q" ?ŝ)
 ("y" ?ŭ)
 )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]