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 #296 received at 78474 <at> debbugs.gnu.org (full text, mbox):

From: Samuel Thibault <samuel.thibault <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: bzg <at> gnu.org, Sebastien.Hinderer <at> inria.fr, rpluim <at> gmail.com,
 78474 <at> debbugs.gnu.org
Subject: Re: bug#78474: 31.0.50; Wrong char insertion in rxvt
Date: Tue, 22 Jul 2025 20:04:06 +0200
Eli Zaretskii, le mar. 22 juil. 2025 16:18:48 +0300, a ecrit:
> > Eli Zaretskii, le mar. 22 juil. 2025 14:28:19 +0300, a ecrit:
> > > > I have tried the attached test which reproduces both ways and reports
> > > > the time to achieve one million iteration, on my system:
> > > > 
> > > > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > > > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> > > >   ~2.0s.
> > > > 
> > > > So on my system at least the "optimized" way is actually slower.
> > > 
> > > For that particular single case.
> > 
> > Which is exactly the case that we are reporting about.
> 
> No, it isn't.  Not even if only \t\b should be disabled.

? I don't understand.

\t\b really is the only issue that we are having.

And the benchmark above, which you can try on various terminals, does
show that \t\b happens to be less efficient than \e[C. So it would
actually benefit everybody to just use \e[C by default instead of \t\b.

Samuel




This bug report was last modified 2 days ago.

Previous Next


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