From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 16:58:43 +0200 Message-ID: <83y1csdkrg.fsf@gnu.org> References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> <8334v0f4s7.fsf@gnu.org> <87cyu4rn8u.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36979"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 16:00:15 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 1rP1yB-0009PH-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 16:00:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP1y2-0002Uc-Db; Sun, 14 Jan 2024 10:00: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 1rP1y0-0002UK-2E for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 10:00:04 -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 1rP1xz-0002o3-18 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 10:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rP1xx-0000cI-W7 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 10:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 15:00: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.17052443512213 (code B ref 68446); Sun, 14 Jan 2024 15:00:01 +0000 Original-Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 14:59:11 +0000 Original-Received: from localhost ([127.0.0.1]:43959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP1x8-0000Zd-J7 for submit@debbugs.gnu.org; Sun, 14 Jan 2024 09:59:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP1x6-0000ZQ-PP for 68446@debbugs.gnu.org; Sun, 14 Jan 2024 09:59:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rP1x1-00027p-Ji; Sun, 14 Jan 2024 09:59:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dxNx7SbjIUD5KWZLWlaEfJOMjaavaxUADFWxKy+lWm0=; b=GBGJcJe91rCf jPPsS9rxMib4n/yuLil4jRoFyzydljrpLs76Tcvf+ROywG6gFrDMBW97S0bDwgiYS+2fLlOw8Sk/t qLx6o3D8lza0WmxrC/H5G10+d1AgXeRPow4aFgnyYcgSyVmAOZEyCg3v0zOqnHZhQJZhhJWaB21Iv IW74N99mF7chnXZBjpcsVD+k90qdqZ5peEatupneWFvmbPgvhnrL7hWdIjQRYPW3z7YVfii48jIWj d+S9DdHABYmnnSAQJd9BGDggAwTD3qFhXWN2NYyqvCv3Lla575euchP1VqxpQfaBHauCK3QxpDu7c rmri62q5uc4Kx1IMmbqWiQ==; In-Reply-To: <87cyu4rn8u.fsf@localhost> (message from Ihor Radchenko on Sun, 14 Jan 2024 14:41:21 +0000) 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:278221 Archived-At: > From: Ihor Radchenko > Cc: thamer.mahmoud@gmail.com, 68446@debbugs.gnu.org > Date: Sun, 14 Jan 2024 14:41:21 +0000 > > Eli Zaretskii writes: > > >> 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". > > > > ... > > If you describe in enough details how the [[link]] thing is handled by > > Org, maybe I could elaborate more than the general observations and > > questions above. Actually, I think I see the reason, and the problem is indeed in the display code's logic in this case. > Let's simplify the reproducer, getting rid of Org mode: > > (let ((str (concat "a " (propertize "[" 'invisible t) "b" (propertize "]" 'invisible t)))) > (with-temp-buffer > (display-buffer (current-buffer)) > (insert str) > (read-char "'a b' is visible. Press any key.") > (setq bidi-paragraph-direction 'right-to-left) > (read-char "'a b' is invisible. Press any key."))) > > Is this the above expected? No.