GNU bug report logs - #24124
emacs terminal escape command error

Previous Next

Package: emacs;

Reported by: modem <modem <at> member.fsf.org>

Date: Mon, 1 Aug 2016 15:03:02 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 24124 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: modem <modem <at> member.fsf.org>
Cc: 24124 <at> debbugs.gnu.org
Subject: Re: bug#24124: emacs terminal escape command error
Date: Tue, 02 Aug 2016 18:39:57 +0300
[Please keep the bug address on the CC list.]

> From: modem <modem <at> member.fsf.org>
> Date: Tue, 2 Aug 2016 11:47:55 +0200
> 
> Thanks you for your advises.
> 
> My terminfo: "echo $TERM" return "screen". Is that it ?

Probably.

> I recompiled emacs after commenting a few optimization in src/cm.c (cmgoto).
> Unfortunately I can still reproduce the bug with this binary.
> 
> I am attaching you the patch I did.

I think you disabled the wrong code.  What you need is force Emacs to
always do this:

      if (cost <= relcost)
	{	/* really is cheaper */
	  emacs_tputs (tty, p, 1, cmputc);
	  curY (tty) = row, curX (tty) = col;
	  return;
	}




This bug report was last modified 5 years and 128 days ago.

Previous Next


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