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: Filipp Gunbin
Subject: Re: not quite understanding input methods
Date: Thu, 02 Sep 2021 16:03:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

On 01/09/2021 14:43 +0700, Yuri Khan wrote:

> On Wed, 1 Sept 2021 at 14:25, Juri Linkov <juri@linkov.net> wrote:
>
>> > 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.
>>
>> Emacs 28 has the input method "Compose" corresponding to XKB's Compose
>> in leim/quail/compose.el, but many useful key sequences in this
>> input method don't work because of the artificial limitation
>> to ASCII-only chars in read_char.
>
> My point (which some will find offensive) is that maybe one doesn’t
> need to implement input methods in Emacs.
>
> If you have Compose in Emacs, it works in Emacs. If you have Compose
> in XKB, it works across your whole desktop.

I try to use Emacs input wherever possible, because it's cross-platform.
I used Emacs first on Windows/Cygwin, now on macOS, always in tty.  Of
course there's also remote usage via ssh, I don't do that much, but know
that it's possible if I need.  That is, xkb is not an option for me.

I even disable normal layout switching key combo in macOS, so that I
doesn't press it accidentally while in Emacs, and switch layouts by
clicking in dock (not very convenient so it forces me to learn how to
depend on OS less).

Filipp



reply via email to

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