From: JD Smith <jdtsmith@gmail.com>
To: 72287@debbugs.gnu.org
Subject: bug#72287: Emacs 29; RTL replacing display bug on 1st line
Date: Thu, 25 Jul 2024 08:29:45 -0400 [thread overview]
Message-ID: <9B4D7166-F63F-4980-9A48-492E8D85036A@gmail.com> (raw)
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.
next reply other threads:[~2024-07-25 12:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 12:29 JD Smith [this message]
2024-07-25 18:27 ` bug#72287: Emacs 29; RTL replacing display bug on 1st line Eli Zaretskii
2024-08-17 8:09 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9B4D7166-F63F-4980-9A48-492E8D85036A@gmail.com \
--to=jdtsmith@gmail.com \
--cc=72287@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).