From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Thamer Mahmoud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 68446@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170522773012111 (code B ref -1); Sun, 14 Jan 2024 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 10:22:10 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOxd4-00039H-Gm for submit@debbugs.gnu.org; Sun, 14 Jan 2024 05:22:10 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOxd2-00038s-DI for submit@debbugs.gnu.org; Sun, 14 Jan 2024 05:22:08 -0500 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 1rOxcy-00055g-0l for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 05:22:04 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOxcv-0007bK-Gr for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 05:22:03 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-336c8ab0b20so6870635f8f.1 for ; Sun, 14 Jan 2024 02:22:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705227719; x=1705832519; darn=gnu.org; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=uzPvNkuF3StVjMLMFrPDACTCs5e2P/XQlmlXFmwTqsc=; b=he36G2mUGu1pnXIorPuolJYy+X4iBJ0d6tJ9HTN3m8MJekuUWBYXdFDywB0n/6B/9o WbvyeP/OXp5ptGqUvniwchOw0upGg3ob6ndmg/9gd3XdIwNJkydorz1Am1Vosw8t2hCy OQzC/kIpq9k8/FufpJwu9m7c55M1PWF+ykN1cY3J4iRA4ObkFXfWfMzL7e9bu00HrI4Y A9RhTWqDg/XaCZ2NLShboIslLY4jKxiDWTvP+9rd/1Faz3TA/ucTjISAuiBHxzCMlTgT lLR0uxIHJ8x3qXiu1bmjeyD4tRmIWdvGz9eXU7a/yUdYYMXLt81QSkXaz7WhGCLEeBsK 2HEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705227719; x=1705832519; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uzPvNkuF3StVjMLMFrPDACTCs5e2P/XQlmlXFmwTqsc=; b=YBWVERA6KZJZjt6neoObiT3+jvG5BZj3EJEnfb3RyHNlidDBh+284WzHstobDfSxz/ 13OG3X3azpnRXy0sTWcmIB5PzG/+MakLeSmWNnuRwi/N9xnKUmXe0XvE8zJxs/wYepqH Zo//lOWRDf0+nsuPX9gpvHLaXc6Y9ng+KJA/aMYbNhRV2rwMYqskhhiYv/qTkts2GX2B MYyR3mEuCcZkH/4L8N3fnUL58Fc//GvQvk5g7b+tPlPp/2D/PZTtkq1VWwhUYlJjMA9w wyJUpGYG7eZIDrgGYnA7AydN7Z1RlM5pC7iYhUgWhUktOW4r29cPGo+miR5oVuIUK2jz 2fyg== X-Gm-Message-State: AOJu0YzS3WY3/EZkuuGOp43Flbr8sRI8pHhrmFobvCFkpyRaQ26rQL2l j2ECL+zdQ9EIUwAw8GAs/XdS25n4joRwhA== X-Google-Smtp-Source: AGHT+IElK4mu0qGmRtDhrU3azYT0n5kQsti6bsutMS8RRahxIJWvEs7YP3XqKL8bgNhNvqilGzsj5Q== X-Received: by 2002:a05:600c:a019:b0:40e:62aa:fa7b with SMTP id jg25-20020a05600ca01900b0040e62aafa7bmr2265617wmb.111.1705227719088; Sun, 14 Jan 2024 02:21:59 -0800 (PST) Received: from [192.168.68.3] ([37.39.148.135]) by smtp.gmail.com with ESMTPSA id v4-20020a05600c470400b0040e5945307esm12121541wmo.40.2024.01.14.02.21.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Jan 2024 02:21:58 -0800 (PST) From: Thamer Mahmoud X-Google-Original-From: Thamer Mahmoud Message-ID: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> Date: Sun, 14 Jan 2024 13:21:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=thamer.mahmoud@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, 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. In GNU Emacs 29.1.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101009 System Description: Debian GNU/Linux trixie/sid Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Regards, Thamer From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thamer Mahmoud , Ihor Radchenko Cc: 68446@debbugs.gnu.org Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170523153228707 (code B ref 68446); Sun, 14 Jan 2024 11:26:01 +0000 Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 11:25:32 +0000 Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOycO-0007Sw-5q for submit@debbugs.gnu.org; Sun, 14 Jan 2024 06:25:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOycL-0007Sf-92 for 68446@debbugs.gnu.org; Sun, 14 Jan 2024 06:25:30 -0500 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 1rOycC-0007xH-Rs; Sun, 14 Jan 2024 06:25:22 -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=piKTbSFnyvkqXldH7gPPgeSXm2j8U5sFDO6+MUL/yZQ=; b=S2WfQ+gW7wqo sOWI11ogLvG2/yPgw0k+SxFnr7MHYuCX3OI+3f+PZahXZPbRpWztMgUnnwz+kJnavC7wycmtfNApJ jAxL0wZzKBe2HV7B4VS3kA7pxicaaIRCvHamK2jc/VHjGNqgiKB7cFXESrKGI0Q8y0LERCm+ICVK1 P+0Yebj6880Z45O1mql5rm6IRFxMsXoqaf426wKfbv0pSpl1gOi/RmERYvMHCi6TlHsdVkes97oPY fEQl+G947d4ZbGQsbO7f/1GLhpHuLxtfbqsJvNC3E4W9EEDtbYrsSi0jy/hdXP3NmZWOW5nfNetSp iVd9U9qlhA5Jlq8hM9B/2w==; Date: Sun, 14 Jan 2024 13:24:59 +0200 Message-Id: <834jfgf984.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> (message from Thamer Mahmoud on Sun, 14 Jan 2024 13:21:57 +0300) References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Thamer Mahmoud > Date: Sun, 14 Jan 2024 13:21:57 +0300 > > 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. A work-around is to do one of the following: . insert one or more L2R characters after the "[[link]]", or . set bidi-inhibit-bpa to a non-nil value I don't see an Emacs bug here, surprising as it may sound. Lisp programs that depend on particular sequence of characters on display should be aware that bidi reordering can affect that. Adding Ihor to the discussion. From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 68446@debbugs.gnu.org, Thamer Mahmoud Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170523408031791 (code B ref 68446); Sun, 14 Jan 2024 12:08:01 +0000 Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 12:08:00 +0000 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 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 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== 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) From: Ihor Radchenko In-Reply-To: <834jfgf984.fsf@gnu.org> References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> Date: Sun, 14 Jan 2024 12:11:03 +0000 Message-ID: <87zfx8ru7c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170523728512604 (code B ref 68446); Sun, 14 Jan 2024 13:02:02 +0000 Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 13:01:25 +0000 Received: from localhost ([127.0.0.1]:41874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP07A-0003Gb-G2 for submit@debbugs.gnu.org; Sun, 14 Jan 2024 08:01:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP077-000384-SX for 68446@debbugs.gnu.org; Sun, 14 Jan 2024 08:01:22 -0500 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 1rP072-0005II-OZ; Sun, 14 Jan 2024 08:01:16 -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=VZiv1AGbIL18rXL5N0M68zyzlLYvkBaGB/jPT3Xg+kc=; b=pQBxVzTExtvg C54XXMzF2ChWMKwd4yBHBMrKy40Dla/wWFCbbQh+UPBhwyFt0b/mMEkxYgP+s6/XJtGAVlRh29Auo Zc0HhbGBsM2f81LNLNiXgsirOhV0PT0UpgTgG+Rf4p2vCJvE8PGyQU7h6NkY/gDHfvqikfvrTfTuJ uElj4sD6uCxIUDuF2emoGaQTOBEUT3orNbTjGcvSbeZSsy3wRuykkGqm/cCvHWlE6w2RAbz6Weygu lCNGmQW3YcSVmulUgNmR/z6M4T0u4fMW14dxVl/QeviN0VBu+asFJCQzp9FCRqe4MNNp8i2eKLAe/ VMHSTlQYEb0R4KgVCN3fgA==; Date: Sun, 14 Jan 2024 15:00:56 +0200 Message-Id: <8334v0f4s7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zfx8ru7c.fsf@localhost> (message from Ihor Radchenko on Sun, 14 Jan 2024 12:11:03 +0000) References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Ihor Radchenko > Cc: Thamer Mahmoud , 68446@debbugs.gnu.org > Date: Sun, 14 Jan 2024 12:11:03 +0000 > > Eli Zaretskii writes: > > > 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". (For some value of "expected". Me, I don't understand more than half of the properties there, wrt their expected effect on the text and its display. Are you surprised?) Anyway, after performing the recipe, do this: . M-< . C-x = . C-f . C-x = . C-f . C-x = etc. IOW, move 1 buffer position forward at a time from BOB, and each time show the character at that position. Do you see something strange? Then do the same in a buffer under Fundamental mode with the same text and the same value of bidi-paragraph-direction. Can you explain what Org does to cause the difference, which makes some characters be "skipped" by C-f (due to point-adjustment feature), and probably also makes all the characters invisible as result? I can tell you what I see when stepping through the display code: it skips all the characters as invisible. I see that org-link is in the buffer-invisibility-spec, but that's probably just the tip of the iceberg, so I'm asking you below to describe what are all those faces and properties for, and how they are related to the invisibility. > 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. When you invoke visible-mode, the text is magically shown as expected. Can you explain why is that? If you invoke describe-text-properties on any character in the buffer, there's no character with 'invisible' face, either. And yet they are invisible. How come? 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. To summarize, my point is simple: the Emacs bidirectional display is responsible for reordering plain text with faces, and while doing so, it more-or-less ignores invisible text. Anything fancier: overlays, images, text properties that affect display in some other ways, etc. -- all these are not guaranteed to behave in reordered text as they do in strict L2R text, and Lisp programs which create visual effects using those fancier features should look out for problems, and should use bidi formatting controls judiciously to prevent such disasters. (My guess is that the brackets in this case are reordered, and as result cause everything to become invisible. But that's just a guess, and I don't expect to understand why without a lot more background and help from Org experts.) From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170524309820227 (code B ref 68446); Sun, 14 Jan 2024 14:39:02 +0000 Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 14:38:18 +0000 Received: from localhost ([127.0.0.1]:41996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP1cv-0005GB-On for submit@debbugs.gnu.org; Sun, 14 Jan 2024 09:38:18 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP1ct-0005Fv-HB for 68446@debbugs.gnu.org; Sun, 14 Jan 2024 09:38:16 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A6986240105 for <68446@debbugs.gnu.org>; Sun, 14 Jan 2024 15:38:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705243090; bh=DlpkvpPk+F2tpUdn0ZNuf2IakUPvzHHcKE6QCeor2Lo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=oqUxuoOe+s2C3Y1Oju8oG217p1fbWxZIDekiwYlAXyj+S7oQDIZ+c9pRwMm2gjCYn 53JFYMekFCV2Or22AIpEACBnbYculAf/RtCffG8sAw6003PEpEEhjHUjAvUj1Q6Oaz W55lGXQc4Rqj0E3H/dcUeSPvXn0VHJqvkuGYE2wuBmxs6w0lxggB8Ax1dNKSHI4AS7 TV4VIuutJYG7b9v0OuhqgwX7vqutj4pSzhyOeLvtB3VSC9/MVMDngzVP623ioKOUAa Z4jXAvNAgpQTIeshfEg2BxJJ44SFXDIkqLtRvU4BVV+86Bc8FFix16WKhldnFtlRDh o143Q4E1T+hnQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TCdDK6snVz6tvw; Sun, 14 Jan 2024 15:38:09 +0100 (CET) From: Ihor Radchenko In-Reply-To: <8334v0f4s7.fsf@gnu.org> References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> <8334v0f4s7.fsf@gnu.org> Date: Sun, 14 Jan 2024 14:41:21 +0000 Message-ID: <87cyu4rn8u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. 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? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode 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 X-GNU-PR-Keywords: To: Ihor Radchenko Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.17052443512213 (code B ref 68446); Sun, 14 Jan 2024 15:00:01 +0000 Received: (at 68446) by debbugs.gnu.org; 14 Jan 2024 14:59:11 +0000 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 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 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==; Date: Sun, 14 Jan 2024 16:58:43 +0200 Message-Id: <83y1csdkrg.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87cyu4rn8u.fsf@localhost> (message from Ihor Radchenko on Sun, 14 Jan 2024 14:41:21 +0000) References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> <8334v0f4s7.fsf@gnu.org> <87cyu4rn8u.fsf@localhost> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2024 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: yantar92@posteo.net, thamer.mahmoud@gmail.com Cc: 68446@debbugs.gnu.org Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.17070402959875 (code B ref 68446); Sun, 04 Feb 2024 09:52:01 +0000 Received: (at 68446) by debbugs.gnu.org; 4 Feb 2024 09:51:35 +0000 Received: from localhost ([127.0.0.1]:48192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWZ9z-0002ZD-6P for submit@debbugs.gnu.org; Sun, 04 Feb 2024 04:51:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWZ9w-0002Yz-Po for 68446@debbugs.gnu.org; Sun, 04 Feb 2024 04:51:33 -0500 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 1rWZ9d-00085k-DR; Sun, 04 Feb 2024 04:51:13 -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=gVPZ+dcsMhnVcBM0lkuaiBAVSPwTTv/YBijZLp2pQM4=; b=rOw91y9Yamfj kP79H5WzyiZGdHArh7jc6lMC9EZOCKmBuTlBGHEcbPZTfHK+vJRjFoAAGvq9UVAdK4LkF7caKEKMj I3xOenukYXGOa04yM6Vmrh5eNzDfq+G0ZicFIed4rNXGUg070uRsPVNaT+GQMiDSlsxQ67cL0WHgL UHsnT3RXdIj43BmUd+ejVeKAwRrAits1RxOklD0Cd/Ia372EaNDQ+COI8FS7o/cD4XV6j6qKV0khF CNVe9UMmNTJ/s+r1gQLBiHN48dgblE39Ma7ZZWJqRJnF3kxwgqwedFMs2QD0FNdfnHD0DR1UKlKjx AAqLwsLAQuynN8e2zITW5A==; Date: Sun, 04 Feb 2024 11:51:11 +0200 Message-Id: <86edds36cw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83y1csdkrg.fsf@gnu.org> (message from Eli Zaretskii on Sun, 14 Jan 2024 16:58:43 +0200) References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> <8334v0f4s7.fsf@gnu.org> <87cyu4rn8u.fsf@localhost> <83y1csdkrg.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com > Date: Sun, 14 Jan 2024 16:58:43 +0200 > From: Eli Zaretskii > > > 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. There was an algorithmic flaw in handling invisible property when the invisible text starts inside embedding level above the base paragraph level: the code failed to account for the "backward" iteration which is part of the bidi reordering, and instead always looked forward for the first visible position. > > 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. Should be fixed now on the master branch. From unknown Sun Jun 22 11:48:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2024 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 68446@debbugs.gnu.org, thamer.mahmoud@gmail.com Received: via spool by 68446-submit@debbugs.gnu.org id=B68446.170705202829601 (code B ref 68446); Sun, 04 Feb 2024 13:08:02 +0000 Received: (at 68446) by debbugs.gnu.org; 4 Feb 2024 13:07:08 +0000 Received: from localhost ([127.0.0.1]:48408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcDD-0007hN-Je for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:07:07 -0500 Received: from mout02.posteo.de ([185.67.36.66]:36159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcDA-0007gr-7F for 68446@debbugs.gnu.org; Sun, 04 Feb 2024 08:07:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9F839240101 for <68446@debbugs.gnu.org>; Sun, 4 Feb 2024 14:06:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707052006; bh=PQDukVIlk0bKQQPKJ75wF535NIArWjC704tW+yId524=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Cx5rg2bE4sZlM78HlgaIwEsI1G92dp7OIfgavmOwQQja5z3ZHoImt8mo2nqMcyKL5 MjCabve9I9K9m8dpuUJLnwvsP+zHggoiLMJ0EHB3Ae5zymnpyPKw7/7x+0pBNFttWW lfJUg6yE3nZy4L2AAbI+yd+0i0mxfMzPQQf159xBtU1jSW2/XLk7TcNQwsuZ8i6Qmi WvEmZOrSK5RveyMM158X+PF/vwrvHFmbJS1bxCkzixwLL1DcZcmXJ+DnN+CBPl4qUZ gCw9jC2H6GzmQUPNPTVU9ih454Erk/FXoqLf8q9II+nFNTg83R+Ec4rF+vm+t/E+DE sfwZg565PK5gA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TSVC92Jrmz6tvJ; Sun, 4 Feb 2024 14:06:44 +0100 (CET) From: Ihor Radchenko In-Reply-To: <86edds36cw.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> <83y1csdkrg.fsf@gnu.org> <86edds36cw.fsf@gnu.org> Date: Sun, 04 Feb 2024 13:10:14 +0000 Message-ID: <87eddsml3d.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Should be fixed now on the master branch. I confirm that I can no longer reproduce the problem following the original steps and my reproducer. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at From unknown Sun Jun 22 11:48:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thamer Mahmoud Subject: bug#68446: closed (Re: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode) Message-ID: References: <868r402vlm.fsf@gnu.org> <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> X-Gnu-PR-Message: they-closed 68446 X-Gnu-PR-Package: emacs Reply-To: 68446@debbugs.gnu.org Date: Sun, 04 Feb 2024 13:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1707054242-792-1" This is a multi-part message in MIME format... ------------=_1707054242-792-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 68446@debbugs.gnu.org. --=20 68446: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68446 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1707054242-792-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 68446-done) by debbugs.gnu.org; 4 Feb 2024 13:43:57 +0000 Received: from localhost ([127.0.0.1]:48435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcmr-0000CO-46 for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:43:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcmn-0000C8-Rc for 68446-done@debbugs.gnu.org; Sun, 04 Feb 2024 08:43:56 -0500 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 1rWcmV-0003BZ-QP; Sun, 04 Feb 2024 08:43:35 -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=CyBIBjlwRCGr8peB7sQq7jz/gfGEsPDklL5byfSdDn8=; b=h6QMK4R+ZSgD 3GoK1jnM4eO/hiaRweWq6AswT1UUGd6cWS3UrnRIEb4GZx0SoXIinkf79OL1o+90aJGVG99Otxdbq RMus9DVke54Psh6ihdayBb97t5SVNZBR7IqSvkrIZ9YZEWf9266wh4Nels2ApnfN2O+8BEBKoNk6S xnSH+yRP8BK7iVYgks8f0qey1pBt0yKS8gS0cyf/TuRdU2SkIQBQ/pj4QCCCPTSMHcwAj4byw3J5O d1AdudmUaxi3uPUz7vkVcmpXeKVK46hSEhPGx3y/rUoyPrI/AtwujtfSGRdjgZt2qoMaG6zkZ8Ozu NHKN2HrFAD7yvt73efPoGA==; Date: Sun, 04 Feb 2024 15:43:33 +0200 Message-Id: <868r402vlm.fsf@gnu.org> From: Eli Zaretskii To: Ihor Radchenko In-Reply-To: <87eddsml3d.fsf@localhost> (message from Ihor Radchenko on Sun, 04 Feb 2024 13:10:14 +0000) Subject: Re: bug#68446: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode References: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> <834jfgf984.fsf@gnu.org> <87zfx8ru7c.fsf@localhost> <8334v0f4s7.fsf@gnu.org> <87cyu4rn8u.fsf@localhost> <83y1csdkrg.fsf@gnu.org> <86edds36cw.fsf@gnu.org> <87eddsml3d.fsf@localhost> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68446-done Cc: 68446-done@debbugs.gnu.org, thamer.mahmoud@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Ihor Radchenko > Cc: thamer.mahmoud@gmail.com, 68446@debbugs.gnu.org > Date: Sun, 04 Feb 2024 13:10:14 +0000 > > Eli Zaretskii writes: > > > Should be fixed now on the master branch. > > I confirm that I can no longer reproduce the problem following the > original steps and my reproducer. Thanks, I'm therefore closing this bug. We can reopen if someone reports some issues or left-overs. ------------=_1707054242-792-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 10:22:10 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOxd4-00039H-Gm for submit@debbugs.gnu.org; Sun, 14 Jan 2024 05:22:10 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOxd2-00038s-DI for submit@debbugs.gnu.org; Sun, 14 Jan 2024 05:22:08 -0500 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 1rOxcy-00055g-0l for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 05:22:04 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOxcv-0007bK-Gr for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 05:22:03 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-336c8ab0b20so6870635f8f.1 for ; Sun, 14 Jan 2024 02:22:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705227719; x=1705832519; darn=gnu.org; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=uzPvNkuF3StVjMLMFrPDACTCs5e2P/XQlmlXFmwTqsc=; b=he36G2mUGu1pnXIorPuolJYy+X4iBJ0d6tJ9HTN3m8MJekuUWBYXdFDywB0n/6B/9o WbvyeP/OXp5ptGqUvniwchOw0upGg3ob6ndmg/9gd3XdIwNJkydorz1Am1Vosw8t2hCy OQzC/kIpq9k8/FufpJwu9m7c55M1PWF+ykN1cY3J4iRA4ObkFXfWfMzL7e9bu00HrI4Y A9RhTWqDg/XaCZ2NLShboIslLY4jKxiDWTvP+9rd/1Faz3TA/ucTjISAuiBHxzCMlTgT lLR0uxIHJ8x3qXiu1bmjeyD4tRmIWdvGz9eXU7a/yUdYYMXLt81QSkXaz7WhGCLEeBsK 2HEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705227719; x=1705832519; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uzPvNkuF3StVjMLMFrPDACTCs5e2P/XQlmlXFmwTqsc=; b=YBWVERA6KZJZjt6neoObiT3+jvG5BZj3EJEnfb3RyHNlidDBh+284WzHstobDfSxz/ 13OG3X3azpnRXy0sTWcmIB5PzG/+MakLeSmWNnuRwi/N9xnKUmXe0XvE8zJxs/wYepqH Zo//lOWRDf0+nsuPX9gpvHLaXc6Y9ng+KJA/aMYbNhRV2rwMYqskhhiYv/qTkts2GX2B MYyR3mEuCcZkH/4L8N3fnUL58Fc//GvQvk5g7b+tPlPp/2D/PZTtkq1VWwhUYlJjMA9w wyJUpGYG7eZIDrgGYnA7AydN7Z1RlM5pC7iYhUgWhUktOW4r29cPGo+miR5oVuIUK2jz 2fyg== X-Gm-Message-State: AOJu0YzS3WY3/EZkuuGOp43Flbr8sRI8pHhrmFobvCFkpyRaQ26rQL2l j2ECL+zdQ9EIUwAw8GAs/XdS25n4joRwhA== X-Google-Smtp-Source: AGHT+IElK4mu0qGmRtDhrU3azYT0n5kQsti6bsutMS8RRahxIJWvEs7YP3XqKL8bgNhNvqilGzsj5Q== X-Received: by 2002:a05:600c:a019:b0:40e:62aa:fa7b with SMTP id jg25-20020a05600ca01900b0040e62aafa7bmr2265617wmb.111.1705227719088; Sun, 14 Jan 2024 02:21:59 -0800 (PST) Received: from [192.168.68.3] ([37.39.148.135]) by smtp.gmail.com with ESMTPSA id v4-20020a05600c470400b0040e5945307esm12121541wmo.40.2024.01.14.02.21.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Jan 2024 02:21:58 -0800 (PST) From: Thamer Mahmoud X-Google-Original-From: Thamer Mahmoud Message-ID: <93fcc2d3-f808-42d7-b31e-a88522986989@gmail.com> Date: Sun, 14 Jan 2024 13:21:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: bug-gnu-emacs@gnu.org Subject: 29.1.90; Bidi right-to-left paragraphs missing text in Org mode Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=thamer.mahmoud@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, 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. In GNU Emacs 29.1.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101009 System Description: Debian GNU/Linux trixie/sid Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Regards, Thamer ------------=_1707054242-792-1--