[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master a3b3130 1/2: Fix cursor movement on the Linux console with ce
From: |
Lars Ingebrigtsen |
Subject: |
Re: master a3b3130 1/2: Fix cursor movement on the Linux console with certain characters |
Date: |
Mon, 16 Aug 2021 20:53:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Fix cursor movement on the Linux console with certain characters
> [...]
>> + ;; Compositions confuse cursor movement.
>> + (global-auto-composition-mode -1)
>
> While disabling composition in `linux` terminals makes sense, the above
> code disables them in all frames, not just those attached to
> `linux` terminals.
(In all frames if you have a frame on a Linux console, I think? Or did
I misunderstand how term/* stuff works?)
We're discussing how to make this work better over at bug#21363. I'm
wondering whether altering global-auto-composition-mode to respect a
predicate function (to only switch it on on the console), but
`auto-composition-mode' is a per-buffer thing, and you may open the
buffer on a different frame, then display it on the console, and then
that won't work either...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no