[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting input method automatically whenever text is to be entered.
From: |
max . brieiev |
Subject: |
Re: Setting input method automatically whenever text is to be entered. |
Date: |
Tue, 27 Apr 2021 17:22:26 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Alex Kost <alezost@gmail.com> writes:
> You can use `after-change-major-mode-hook' instead of specifying all
> those mode-hooks manually.
>
> BTW, I also use Dvorak ;-)
Thanks. This works great.
By the way, do you use (ansi-)term? When `term-mode` is in char mode
input method settings are ignored. Is there a workaround for this?
AFAIU in char mode all input is sent directly to the underlying shell
process, ignoring any key translations.
But maybe this can be fixed by some clever usage of hooks like
‘term-input-filter-functions’ or ‘term-input-sender’?