emacs-devel
[Top][All Lists]
Advanced

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

Re: not quite understanding input methods


From: Yuri Khan
Subject: Re: not quite understanding input methods
Date: Wed, 1 Sep 2021 12:44:32 +0700

On Tue, 31 Aug 2021 at 00:24, Perry E. Metzger <perry@piermont.com> wrote:

> I would like to prefix my translations with a special character. I've
> mapped my caps lock key to send F19 (I don't use the caps lock key ever
> and using it as a compose key seems reasonable) and I've set Emacs to
> insert a special character for me when I hit that key, like so:
>
> (global-set-key (kbd "<f19>")
>                  (lambda (n)
>                    (interactive "p")
>                    (self-insert-command n ?⎄)))
>
> (quail-define-rules
>   ("⎄gl" ?λ)
> )

Blunt question: Are you trying to solve this to get a better
understanding of the Emacs input subsystem (in which case please
ignore this), or do you just want something done? Because, if you want
Compose, it’s right there almost out-of-the-box in XKB.



reply via email to

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