Source: emacs23
Version: 23.4+1-4
Tags: patch

        Emacs 23, as currently packaged for Debian, includes two input
        methods for typing in Esperanto texts (esperanto-prefix and
        esperanto-postfix), both of which require up to two keys per a
        single letter.

        The patch suggested defines the ‘esperanto’ Emacs input method,
        which copies the (arguably more ergonomic) X ‘epo’ layout:

--cut: C-h I esperanto RET --
     +----------------------------------------------------------------+
     | 1! | 2@ | 3# | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | -_ | =+ | `~ |
     +----------------------------------------------------------------+
       | ŝŜ | ĝĜ | eE | rR | tT | ŭŬ | uU | iI | oO | pP | ĵĴ | ĥĤ |
       +------------------------------------------------------------+
        | aA | sS | dD | fF | gG | hH | jJ | kK | lL | ;: | '" | \| |
        +-----------------------------------------------------------+
          | zZ | ĉĈ | cC | vV | bB | nN | mM | ,< | .> | /? |
          +-------------------------------------------------+
--cut: C-h I esperanto RET --

        Hopefully, the layout suggested could make it into both the
        Debian package, and the upstream source.

        Dankas antaŭe.

-- 
FSF associate member #7257      http://hfday.org/
(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