[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you write input methods?
From: |
Joost Kremers |
Subject: |
Re: How do you write input methods? |
Date: |
Mon, 30 Aug 2021 13:24:07 +0200 |
User-agent: |
mu4e 1.6.5; emacs 27.2 |
On Mon, Aug 30 2021, Stephen Berman wrote:
> 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.
That's interesting... I define a couple of personal input methods in my init
files and they do show up when I do `M-x set-input-method`, even though I don't
use `register-input-method`.
Hmm, looking at the doc string of `register-input-method`, I see the following
comment:
"
The commands ‘describe-input-method’ and ‘list-input-methods’ need
these duplicated values to show some information about input methods
**without loading the relevant Quail packages.** (emphasis mine)
"
Does that mean that `register-input-method` is basically just a way to tell
Emacs about available input methods without loading them? And since my input
methods get loaded during startup, there's no need to register them anymore?
--
Joost Kremers
Life has its moments
Re: How do you write input methods?, Eli Zaretskii, 2021/08/30
Re: How do you write input methods?, André A . Gomes, 2021/08/30