[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system-wide input methods and unmodified keys
From: |
Eric Abrahamsen |
Subject: |
Re: system-wide input methods and unmodified keys |
Date: |
Thu, 26 Jun 2014 10:28:16 -0700 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Ideally, the IM would only ever handle keypresses that would eventually
>> call `self-insert-command' in emacs. I have no idea how this works,
>> however -- I don't know which application "comes first" in receiving
>> keypresses, and whether emacs could conceivably intercept these
>> unmodified keys and prevent the IM from reading them. I imagine if the
>> IM comes first, then there's no hope.
>
> The IM comes first, indeed, hence the problems. Maybe there's a way for
> Emacs to temporarily suspend the external IM processing. IF so, someone
> will have to implement support for it :-(
>
> But if/when such support is installed, we could maybe automatically
> disable IM processing after C-x or in windows displaying
> special-mode buffers. That would be really welcome.
Bad news, but not a surprise. I would have no idea how to start
implementing that. Something tells me we'll all be using Wayland before
anyone gets to it :)