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

From: Samuel Thibault <samuel.thibault <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: bzg <at> gnu.org, Sebastien.Hinderer <at> inria.fr, Robert Pluim <rpluim <at> gmail.com>,
 Eli Zaretskii <eliz <at> gnu.org>, 78474 <at> debbugs.gnu.org
Subject: Re: bug#78474: 31.0.50; Wrong char insertion in rxvt
Date: Tue, 22 Jul 2025 21:54:05 +0200
Re,

Manuel Giraud, le mar. 22 juil. 2025 16:09:33 +0200, a ecrit:
> >>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault <at> gnu.org> said:
> > That was my misinterpretation of the request. Itʼs easy enough to
> > restrict the change to only affect the '\t\b' case, but weʼll have to
> > come up with a new name for the user option :-)
> 
> What about this?

Yes, that works!

> From 002efa4bd1db6efd9f65dc43364b084680906753 Mon Sep 17 00:00:00 2001
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Date: Tue, 22 Jul 2025 15:15:39 +0200
> Subject: [PATCH] Do not overshoot and backup for tty motions
> 
> ---
>  src/cm.c | 24 +++---------------------
>  1 file changed, 3 insertions(+), 21 deletions(-)
> 
> diff --git a/src/cm.c b/src/cm.c
> index 150d1c9a580..fb18ef26251 100644
> --- a/src/cm.c
> +++ b/src/cm.c

> -    if (c < tabcost)		/* then cheaper to overshoot & back up */
> -	ntabs = n2tabs, tabcost = c, tabx = tab2x;
> -
>      if (tabcost >= BIG)		/* caint use tabs */
>  	goto newdelta;

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.