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 #476 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: Fri, 25 Jul 2025 11:02:33 +0200
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Thu, 24 Jul 2025 09:57:50 +0200, Samuel Thibault <samuel.thibault <at> gnu.org> said:
>
>     Samuel> It was xterm.
>
> Eliʼs scrolling test for src/xdisp.c also doesnʼt result in the use of
> many \t\b sequences in any case (121 in my testing, for a 39k line
> file).
>
> I did the following instead, with a testfile containing 40k lines of
> 01234567cbaaaaaa
>
> (progn
>   (find-file "src/testfile")
>     (let ((oldgc gcs-done)
>         (oldtime (float-time)))
>       (goto-char (point-min))
>       (condition-case nil
>           (while t (right-char 5) (right-char) (redisplay))
>         (error (message "GCs: %d Elapsed time: %f seconds"
>                         (- gcs-done oldgc) (- (float-time)
> oldtime))))))

Here are my results with this new benchmark:
--8<---------------cut here---------------start------------->8---
* master (e026b57f077)
** xterm -geometry 80x50
GCs: 117 Elapsed time: 63.118144 seconds

** vte --geometry=80x50
GCs: 117 Elapsed time: 53.912884 seconds

** alacritty -o "window.dimensions.columns=80" -o "window.dimensions.lines=50"
GCs: 117 Elapsed time: 60.685075 seconds

** OpenBSD console (120x33)
GCs: 116 Elapsed time: 63.612051 seconds

* no "\t\b" patch
** xterm -geometry 80x50
GCs: 116 Elapsed time: 63.245375 seconds

** vte --geometry=80x50
GCs: 116 Elapsed time: 54.085663 seconds

** alacritty -o "window.dimensions.columns=80" -o "window.dimensions.lines=50"
GCs: 117 Elapsed time: 59.986522 seconds

** OpenBSD console (120x33)
GCs: 116 Elapsed time: 64.168769 seconds
--8<---------------cut here---------------end--------------->8---
-- 
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.