GNU bug report logs -
#24124
emacs terminal escape command error
Previous Next
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
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> [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;
> }
That was 3 years ago. Did you ever get a chance to try the suggested
fix by Eli above?
Best regards,
Stefan Kangas
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.