GNU bug report logs - #78474
31.0.50; Wrong char insertion in rxvt

Previous Next

Package: emacs;

Reported by: Bastien Guerry <bzg <at> gnu.org>

Date: Sat, 17 May 2025 22:56:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


Message #488 received at 78474 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: bzg <at> gnu.org, Sebastien.Hinderer <at> inria.fr, Eli Zaretskii <eliz <at> gnu.org>,
 Samuel Thibault <samuel.thibault <at> gnu.org>, 78474 <at> debbugs.gnu.org
Subject: Re: bug#78474: 31.0.50; Wrong char insertion in rxvt
Date: Sat, 02 Aug 2025 15:17:35 +0200
[Message part 1 (text/plain, inline)]
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Fri, 25 Jul 2025 13:08:07 +0200, Manuel Giraud <manuel <at> ledu-giraud.fr> said:
>
>     Manuel> Samuel Thibault <samuel.thibault <at> gnu.org> writes:
>     Manuel> [...]
>
>     >>> Here are my results with this new benchmark:
>     >> 
>     >> (Several measurements are really needed because of variability)
>
>     Manuel> Why not.  So, here is the benchmark code I used:
>
> So it looks to me like not emitting \t\b is slightly faster. Could you
> repost your patch with a user option to enable/disable it? Then we can
> discuss what the default should be. Iʼm leaning towards the default
> being not emitting it, since the resulting redisplay will be correct
> in any case.

Hi Robert and all,

Here it is.  I'm not quite sure about the user option name, its
documentation and NEWS entry.  Samuel could you test if this new default
works for screen readers and also if setting
`inhibit-overshoot-in-tty-motions' to nil make them unwork.

FWIW, here are the results for Robert's benchmark (xterm only) with this
patch:

* inhibit-overshoot-in-tty-motions is t (default)
** xterm -geometry 80x50
0) GCs: 116 Elapsed time: 62.708855 seconds
1) GCs: 116 Elapsed time: 70.723578 seconds
2) GCs: 115 Elapsed time: 70.099679 seconds
3) GCs: 115 Elapsed time: 70.479095 seconds
4) GCs: 115 Elapsed time: 70.143764 seconds

* (setopt inhibit-overshoot-in-tty-motions nil)
** xterm -geometry 80x50
0) GCs: 117 Elapsed time: 62.697354 seconds
1) GCs: 115 Elapsed time: 71.844141 seconds
2) GCs: 116 Elapsed time: 71.422948 seconds
3) GCs: 115 Elapsed time: 71.161357 seconds
4) GCs: 115 Elapsed time: 70.877772 seconds
[0001-User-option-to-control-overshoot-and-backup-for-tty-.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.