GNU bug report logs - #77452
31.0.50; Wide characters in left margin on ttys

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Wed, 2 Apr 2025 09:53:01 UTC

Severity: normal

Found in version 31.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77452 <at> debbugs.gnu.org
Subject: Re: bug#77452: 31.0.50; Wide characters in left margin on ttys
Date: Wed, 02 Apr 2025 17:22:24 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: 77452 <at> debbugs.gnu.org
>> Date: Wed, 02 Apr 2025 17:47:47 +0300
>> From: Eli Zaretskii <eliz <at> gnu.org>
>>
>> > I tried to read and understand display_line etc. this morning, but I'm afraid
>> > there is too much going on there for me to find the cause of this in
>> > reasonable time.
>>
>> Does the below look right to you?
>
> Sorry, please try the slightly more safe change below:

Thanks! LGTM, and it fixes the problem.

> @@ -25740,6 +25741,15 @@ #define RECORD_MAX_MIN_POS(IT)					\
>  	  row->extra_line_spacing = max (row->extra_line_spacing,
>  					 it->max_extra_line_spacing);
>  	  set_iterator_to_next (it, true);
> +	  if (!FRAME_WINDOW_P (it->f)
> +	      /* If we exhausted the glyphs of the marginal area...	 */
> +	      it->area != area
              ^^^
              && missing




This bug report was last modified 49 days ago.

Previous Next


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