From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Mon, 14 Mar 2016 13:56:41 +0100
>
> I'd suggest the following (and will happily provide patches if
> accepted):
>
> - Don't enable UTF-8 coordinates at all.=C2=A0 It is too hard to f= igure out
>=C2=A0 =C2=A0whether they are enabled.=C2=A0 Rather, err on the safe si= de and only use
>=C2=A0 =C2=A0single-byte coordinates.=C2=A0 (The superior SGR mode, whi= ch doesn't suffer
>=C2=A0 =C2=A0from this problem, should remain enabled.)
How about providing a user option, off by default, to enable that?=C2=A0 A<= br> user who knows that this works on her machine will then be able to use
the feature.
> - In `xterm-mouse--read-number-from-terminal', specify a very shor= t
>=C2=A0 =C2=A0timeout.=C2=A0 The terminal will always write the entire e= scape sequence as
>=C2=A0 =C2=A0a unit, so waiting only increases the chance to accidentia= lly read
>=C2=A0 =C2=A0unrelated events.
Won't this break when working on a remote machine via a slow link?
<= /blockquote>Maybe, haven't tried.=C2=A0<= /div><= /div> --001a1140c8ece2b948052e058f8f--
> - As an optimization, provide a `read-byte' function written in C = that
>=C2=A0 =C2=A0reads a single byte without taking the current terminal en= coding into
>=C2=A0 =C2=A0account.
You should be able to achieve the same effect by binding
keyboard-coding-system to no-conversion, no?Yes, but that feels kind of like an abstraction inversion. Still prob= ably good enough. As said, this is only an optimization.=C2=A0