[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: |
Eli Zaretskii |
Subject: |
Re: master a3b3130 1/2: Fix cursor movement on the Linux console with certain characters |
Date: |
Mon, 16 Aug 2021 22:14:00 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 16 Aug 2021 20:53:54 +0200
> Cc: emacs-devel@gnu.org
>
> > 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...
We could perhaps introduce a new, non-nil, non-t value of
auto-composition-mode which would internally cause the display code to
test the current terminal?