[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mo
From: |
Ihor Radchenko |
Subject: |
bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode |
Date: |
Sun, 14 Jan 2024 12:11:03 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> 1. In emacs -Q, create an empty buffer with Org mode active and type:
>>
>> a [[link]]
>>
>> 2. Evaluate: (setq bidi-paragraph-direction 'right-to-left)
>> 3. Note the "a" and link are no longer visible.
>
> I think it's an Org bug: it should prevent bidi reordering inside the
> "[[link]]" string. For example, wrap the "[[link]]" thing in LRO..PDF
> bidi controls. Because without that, the brackets can be mirrored by
> bidi reordering and the BPA algorithm, and the link is no longer in
> the form that Org expects. The result is that the entire text becomes
> invisible.
May you please elaborate? I do not see anything unexpected in the text
properties that Org mode applies to the link and the letter "a".
In fact, after following the reproducer, and enabling visible-mode, M-x
describe-text-properties on "a" yields
Text content at position 101:
There are text properties here:
fontified t
Yet, "a" is rendered invisible.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>