GNU bug report logs - #58228
29.0.50; ansi-term display garbled

Previous Next

Package: emacs;

Reported by: Jose A Ortega Ruiz <jao <at> gnu.org>

Date: Sat, 1 Oct 2022 15:08:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Matthias Meulien <orontee <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58228 <at> debbugs.gnu.org, Jose A Ortega Ruiz <jao <at> gnu.org>
Subject: Re: bug#58228: 29.0.50; ansi-term display garbled
Date: Sat, 01 Oct 2022 22:06:03 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Jose A Ortega Ruiz <jao <at> gnu.org> writes:
>
>> - M-x ansi-term (accept default /bin/bash)
>>
>> - type anything in the bash prompt that produces output, a simple ls
>>   will suffice: the output is garbled, sometimes non-existent (the
>>   effect is very dramatic for ncurses apps).
>
> Perhaps this is related to the recent comint/osc stuff?  I've added
> Matthias to the CCs.

I don't think so.  For example running ansi-term after setting
comint-output-filter-functions to nil leads to the same garbled output.

Bisecting between the parent of (working as expected and not containing
any of my changes to the OSC stuff):

7354f4e3e6..: Matthias Meulien 2022-09-18 Extract support of OSC escape
sequences from comint

and the broken:

cd4208f6d8..: Miha Rihtaršič 2022-09-30 Rename comint-fl-* to
comint-fontify-input-* and mention it in NEWS

leads to the first bad comit being:

matthias <at> carbon:~/Sources/emacs ((12a78711c9...) $|BISECTING)
↳ git bisect good
3553904a90a242b7ee7b48607ac02cf57e2ab753 is the first bad commit
commit 3553904a90a242b7ee7b48607ac02cf57e2ab753
Author: Eli Zaretskii <eliz <at> gnu.org>
Date:   Fri Sep 30 15:38:22 2022 +0300

    Fix some issues with vertical-motion in bidi-reordered text
    
    This fixes some uses of vertical-motion when a screen line
    starts withcharacters of directionality that is opposite to
    the current paragraph's base direction.
    * src/xdisp.c (move_it_vertically_backward): Adjust NLINES to
    compensate for its increasing when DY == 0.

 src/xdisp.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

-- 
Matthias




This bug report was last modified 2 years and 257 days ago.

Previous Next


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