GNU bug report logs -
#72287
Emacs 29; RTL replacing display bug on 1st line
Previous Next
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.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 17 Aug 2024 11:09:01 +0300
with message-id <86plq74llu.fsf <at> gnu.org>
and subject line Re: bug#72287: Emacs 29; RTL replacing display bug on 1st line
has caused the debbugs.gnu.org bug report #72287,
regarding Emacs 29; RTL replacing display bug on 1st line
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
72287: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72287
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
> 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.
This bug report was last modified 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.