all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: jdtsmith@gmail.com
Cc: 72287-done@debbugs.gnu.org
Subject: bug#72287: Emacs 29; RTL replacing display bug on 1st line
Date: Sat, 17 Aug 2024 11:09:01 +0300	[thread overview]
Message-ID: <86plq74llu.fsf@gnu.org> (raw)
In-Reply-To: <86a5i54998.fsf@gnu.org> (message from Eli Zaretskii on Thu, 25 Jul 2024 21:27:47 +0300)

> Cc: 72287@debbugs.gnu.org
> Date: Thu, 25 Jul 2024 21:27:47 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: JD Smith <jdtsmith@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.





      reply	other threads:[~2024-08-17  8:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 12:29 bug#72287: Emacs 29; RTL replacing display bug on 1st line JD Smith
2024-07-25 18:27 ` Eli Zaretskii
2024-08-17  8:09   ` Eli Zaretskii [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86plq74llu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72287-done@debbugs.gnu.org \
    --cc=jdtsmith@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.