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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Samuel Thibault <samuel.thibault <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: Wed, 23 Jul 2025 15:01:44 +0300
> Date: Wed, 23 Jul 2025 12:59:08 +0200
> From: Samuel Thibault <samuel.thibault <at> gnu.org>
> Cc: Sebastien.Hinderer <at> inria.fr, bzg <at> gnu.org, 78474 <at> debbugs.gnu.org,
> 	rpluim <at> gmail.com
> 
> Eli Zaretskii, le mer. 23 juil. 2025 13:50:24 +0300, a ecrit:
> > > Seb Hinderer, le mar. 22 juil. 2025 18:05:14 +0200, a ecrit:
> > > > I am not completely sure and would rather let Samuel complete here. What
> > > > I know isthat libvte is used for several terminals so I expect all of
> > > > them to  be affected.
> > > 
> > > Yes, there is a dozen of those in Debian, at least.
> > 
> > Can you name them, please?
> 
> The whole set of packages that depend on libvte is:

Thanks, but I asked only about terminals, because only those are
relevant to this discussion.  (Actually, we are only interested in
terminals on which users could run "emacs -nw".)  Can you name only
those?

> My point is: there is a dozen now, and there will be more later. We
> can't rely on knowling the list.

As mentioned earlier, Emacs already does terminal-specific stuff when
it starts, so the sheer number of affected terminals is not a problem.

> > > Yes, although libvte announces itself as xterm-256color.
> > 
> > So we could have a terminal which sets TERM=xterm-256color, but which
> > doesn't behave like xterm does?
> 
> Again, the question is: what is the expected behavior of 
> 
> echo 'a\ta'

I think I already answered that.

> And yes, a lot of terminals just announce themselves as xterm in TERM,
> that's how it is nowadays. Fighting it is a lost cause nowadays.

We have lisp/term/xterm.el where we can set the new variable to
whatever value we decide.  We don't need to fight anyone.




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.