GNU bug report logs - #72287
Emacs 29; RTL replacing display bug on 1st line

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Thu, 25 Jul 2024 12:31:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72287 in the body.
You can then email your comments to 72287 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#72287; Package emacs. (Thu, 25 Jul 2024 12:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to JD Smith <jdtsmith <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 25 Jul 2024 12:31:02 GMT) Full text and rfc822 format available.

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

From: JD Smith <jdtsmith <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 29; RTL replacing display bug on 1st line
Date: Thu, 25 Jul 2024 08:29:45 -0400
With bidi-paragraph-direction=right-to-left, replacing 'display properties are sometimes reversed on the 1st displayed line of text. 

(let* ((w (window-font-width))
       (h (window-font-height))
       (face )
       (str (cl-loop for col in '("red" "green" "blue" "cyan")
                     concat "  "
                     concat (propertize " " 'face `(:background ,col)))))
    (dotimes (i 10)
      (insert "\n" (propertize " " 'display str) (format ";;  line %d" i))))

Evaluate in *scratch* and scroll the color bars off the top of the screen.  Try again with bidi-paragraph-direction=right-to-left and the color order will invert and the bars shift by one char.   

Verified in Emacs 29 emacs-mac and NS builds.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72287; Package emacs. (Thu, 25 Jul 2024 18:29:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: 72287 <at> debbugs.gnu.org
Subject: Re: bug#72287: Emacs 29; RTL replacing display bug on 1st line
Date: Thu, 25 Jul 2024 21:27:47 +0300
> From: JD Smith <jdtsmith <at> gmail.com>
> Date: Thu, 25 Jul 2024 08:29:45 -0400
> 
> With bidi-paragraph-direction=right-to-left, replacing 'display properties are sometimes reversed on the 1st displayed line of text. 
> 
> (let* ((w (window-font-width))
>        (h (window-font-height))
>        (face )
>        (str (cl-loop for col in '("red" "green" "blue" "cyan")
>                      concat "  "
>                      concat (propertize " " 'face `(:background ,col)))))
>     (dotimes (i 10)
>       (insert "\n" (propertize " " 'display str) (format ";;  line %d" i))))
> 
> Evaluate in *scratch* and scroll the color bars off the top of the screen.  Try again with bidi-paragraph-direction=right-to-left and the color order will invert and the bars shift by one char.   
> 
> Verified in Emacs 29 emacs-mac and NS builds.

Thanks, should be fixed now on the master branch.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 17 Aug 2024 08:10:02 GMT) Full text and rfc822 format available.

Notification sent to JD Smith <jdtsmith <at> gmail.com>:
bug acknowledged by developer. (Sat, 17 Aug 2024 08:10:02 GMT) Full text and rfc822 format available.

Message #13 received at 72287-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: jdtsmith <at> gmail.com
Cc: 72287-done <at> debbugs.gnu.org
Subject: Re: bug#72287: Emacs 29; RTL replacing display bug on 1st line
Date: Sat, 17 Aug 2024 11:09:01 +0300
> Cc: 72287 <at> debbugs.gnu.org
> Date: Thu, 25 Jul 2024 21:27:47 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: JD Smith <jdtsmith <at> gmail.com>
> > Date: Thu, 25 Jul 2024 08:29:45 -0400
> > 
> > With bidi-paragraph-direction=right-to-left, replacing 'display properties are sometimes reversed on the 1st displayed line of text. 
> > 
> > (let* ((w (window-font-width))
> >        (h (window-font-height))
> >        (face )
> >        (str (cl-loop for col in '("red" "green" "blue" "cyan")
> >                      concat "  "
> >                      concat (propertize " " 'face `(:background ,col)))))
> >     (dotimes (i 10)
> >       (insert "\n" (propertize " " 'display str) (format ";;  line %d" i))))
> > 
> > Evaluate in *scratch* and scroll the color bars off the top of the screen.  Try again with bidi-paragraph-direction=right-to-left and the color order will invert and the bars shift by one char.   
> > 
> > Verified in Emacs 29 emacs-mac and NS builds.
> 
> Thanks, should be fixed now on the master branch.

No further comments, so I presume the bug is indeed fixed, and I'm now
closing it.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Sep 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 155 days ago.

Previous Next


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