From: Stephen Berman <stephen.berman@gmx.net>
To: "Perry E. Metzger" <perry@piermont.com>
Cc: emacs-devel@gnu.org
Subject: Re: How do you write input methods?
Date: Mon, 30 Aug 2021 13:15:24 +0200 [thread overview]
Message-ID: <87o89fchf7.fsf@gmx.net> (raw)
In-Reply-To: <8d1a3c4b-80fd-65c8-70b6-1ab452a52f6a@piermont.com> (Perry E. Metzger's message of "Sun, 29 Aug 2021 21:10:25 -0400")
On Sun, 29 Aug 2021 21:10:25 -0400 "Perry E. Metzger" <perry@piermont.com> wrote:
> The elisp manual says:
>
> "How to define input methods is not yet documented in this manual, but here we
> describe how to use them."
>
> Do any documents exist at all on how to define a new input method, or do I
> have to read the code?
I don't know of any such documentation, but at least for relatively
simple input methods it's pretty straightforward to define them. You
need to use quail-define-package to define the package containing the
input method and quail-define-rules to define translation rules used by
the input method; many examples (of both simple and more complicated
input methods) are in the Emacs lisp/leim/quail directory. And you need
to use register-input-method to enable invoking the input method via
`C-\'; examples are in the lisp/leim/leim-list.el file.
Steve Berman
next prev parent reply other threads:[~2021-08-30 11:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 1:10 How do you write input methods? Perry E. Metzger
2021-08-30 11:15 ` Stephen Berman [this message]
2021-08-30 11:24 ` Joost Kremers
2021-08-30 11:48 ` Stephen Berman
2021-08-30 16:23 ` Perry E. Metzger
2021-08-30 20:26 ` Stephen Berman
2021-08-30 11:46 ` Eli Zaretskii
2021-08-30 13:40 ` Perry E. Metzger
2021-08-30 14:00 ` Eli Zaretskii
2021-08-30 14:22 ` Perry E. Metzger
2021-08-30 15:43 ` Eli Zaretskii
2021-08-30 16:24 ` Perry E. Metzger
2021-08-30 14:29 ` André A. Gomes
2021-08-30 15:54 ` Eli Zaretskii
2021-08-30 20:12 ` André A. Gomes
2021-08-31 12:02 ` Eli Zaretskii
2021-09-01 17:50 ` Filipp Gunbin
2021-09-01 17:57 ` Eli Zaretskii
2021-09-01 20:33 ` Filipp Gunbin
2021-09-02 6:23 ` Eli Zaretskii
2021-09-02 6:34 ` tomas
2021-09-03 0:59 ` Michael Welsh Duggan
2021-09-03 6:10 ` tomas
2021-09-02 10:47 ` Filipp Gunbin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o89fchf7.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=perry@piermont.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.