From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs 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 Message-ID: <87zfx8ru7c.fsf@localhost> References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68446@debbugs.gnu.org, Thamer Mahmoud To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 13:08:46 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rOzID-0007MF-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 13:08:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOzHa-0004PI-5n; Sun, 14 Jan 2024 07:08:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOzHX-0004OI-Hp for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 07:08:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOzHX-0007Tq-1i for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 07:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOzHV-0008Gx-Rb for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 07:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 12:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs Original-Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170523408031791 (code B ref 68446); Sun, 14 Jan 2024 12:08:01 +0000 Original-Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 12:08:00 +0000 Original-Received: from localhost ([127.0.0.1]:41803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOzHT-0008Gc-OK for submit@debbugs.gnu.org; Sun, 14 Jan 2024 07:08:00 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:53605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOzHR-0008GF-AQ for 68446@debbugs.gnu.org; Sun, 14 Jan 2024 07:07:58 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E3031240028 for <68446@debbugs.gnu.org>; Sun, 14 Jan 2024 13:07:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705234071; bh=H6aP03+SrSd4HxOW0blKuITstzeyhTDEt/j2g0SQKzc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=nBJVcXwSNZLoD9gqk6ZgGt2Q1rXSSgaP4nqktUFJ7ET0jjXfcgWzQdzEPNxy6qMxn Ljr4uaCLuDGEFPaWNxbTjuGVhud3jPsMge09tcP1RxvEcmtigT6/KqKN/bX/oi8a4b sVSzkvn9Fm29uPusoCCO7GCLculqLmJNrNdFuvaDkk7YBW8OA3b7WKIyuoMR0X8O7O Qlxv28SyePgr7mcdpQvPzwVezmSBLDNHDE2N54uOImGwDHaP2eLf3RHSTdK/24nV34 vXxsxgcdcXYKrwUU/kh4nKuCvnRsVnHgWZMk3KfHwgR3oUJ2TSMLIX7VsHI2ibR/ap UoAF8HPUhWnrg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TCYtt4rNfz6tsB; Sun, 14 Jan 2024 13:07:50 +0100 (CET) In-Reply-To: <834jfgf984.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278205 Archived-At: Eli Zaretskii 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 . Support Org development at , or support my work at