GNU bug report logs - #41506
two newlines followed by RTL text aligns left instead of right

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Sun, 24 May 2020 13:06:01 UTC

Severity: normal

Tags: confirmed

Found in version 28.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> gmail.com>
Cc: 41506 <at> debbugs.gnu.org
Subject: Re: bug#41506: 28.0.50; RTL problem
Date: Sat, 06 Jun 2020 11:35:06 +0300
> From: Pip Cet <pipcet <at> gmail.com>
> Cc: 41506 <at> debbugs.gnu.org
> Date: Sat, 06 Jun 2020 07:58:24 +0000
> 
> when we're called with bidi_it->first_elt = true, it's possible we
> shouldn't touch bidi_it->new_paragraph at all...

Can you elaborate on why you think that?

first_elt can be set when we are at the beginning of a paragraph or
when we are in the middle of it, so its meaning is different from that
of new_paragraph.

> +	 paragraph might start.  But don't do that for the first
> +	 element since this function will be called twice in that
> +	 case.  */

Which code causes the two calls, and why is that significant in this
case?




This bug report was last modified 5 years and 9 days ago.

Previous Next


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