unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: 16002@debbugs.gnu.org
Subject: bug#16002: an improved input method for Esperanto
Date: Sat, 27 Dec 2014 08:10:36 +0000	[thread overview]
Message-ID: <87bnmpcy2r.fsf@violet.siamics.net> (raw)
In-Reply-To: <87txevdt3h.fsf@violet.siamics.net> (Ivan Shmakov's message of "Fri, 29 Nov 2013 17:18:42 +0000")

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

>>>>> 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

[-- Attachment #2: Type: text/emacs-lisp, Size: 485 bytes --]

(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	other threads:[~2014-12-27  8:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29 17:18 bug#16002: an improved input method for Esperanto Ivan Shmakov
2014-12-27  8:10 ` Ivan Shmakov [this message]
2016-02-24  3:45   ` Lars Ingebrigtsen
2019-06-26 15:17 ` Lars Ingebrigtsen
2020-08-13 10:50   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnmpcy2r.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=16002@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).