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

Full log


View this message in rfc822 format

From: Bastien Guerry <bzg <at> gnu.org>
To: Samuel Thibault <samuel.thibault <at> gnu.org>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Sebastien.Hinderer <at> inria.fr
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Date: Sun, 18 May 2025 10:54:50 +0200
Samuel Thibault <samuel.thibault <at> gnu.org> writes:

> "Emacs, instead of sending a rightward cursor movement
> (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

I'd describe it as the result of the "optimization" rather than the
optimization itself...

Line 90 of cm.c, there is this if clause that leads to a comment:

	if (tty->Wcm->cm_magicwrap)
	    ;			/* "limbo" */

I guess rxvt and vte implement a variant of magicwrap that is not
handled by addcol, which leaves the cursor in "limbo" state.

Maybe Samuel you can give details on how rxvt vte handle auto/magic
wrapping and, perhaps, how addcol should be fixed?

I don't see any interaction between addcol and evalcost but I might
be wrong.

-- 
 Bastien




This bug report was last modified 34 days ago.

Previous Next


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