From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sODoIezOLWDpZgAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 02:20:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OKCRHezOLWBPegAAbx9fmQ (envelope-from ) for ; Thu, 18 Feb 2021 02:20:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C4FD2CE45 for ; Thu, 18 Feb 2021 03:20:27 +0100 (CET) Received: from localhost ([::1]:45828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCYvZ-00081Q-2X for larch@yhetil.org; Wed, 17 Feb 2021 21:20:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCYv7-00080S-Jz for emacs-orgmode@gnu.org; Wed, 17 Feb 2021 21:19:57 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:46517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCYv5-0005Al-HX for emacs-orgmode@gnu.org; Wed, 17 Feb 2021 21:19:57 -0500 Received: by mail-lj1-x22b.google.com with SMTP id b16so694674lji.13 for ; Wed, 17 Feb 2021 18:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1kMuk4ATHdLBA6nS9+/Ql1o5u2DufdURoVagZdgPoOs=; b=tJ4h7QAf5lL9BBW4I+Zjn5HXVSLHIvIdREbTDWLAcWWP8QEmiu1K/OKiz6EcRqUAEW o6wmYUbwnFBvnb3/Q1VErbz1oGZnFjlplaPOAZ/+JwFNm4ZpjSBCEYX8WYw9kuNPCLgx 4H1A6p+mHLYsffNy/IpG2AXh4C0N1ydre4xU5fGux8tFwfhCJ+kQ9ILa74QsIaNwEcNo Z9fX/EAGVGPpuSq78hJZjrM33+F0TjbziaOOTtkA2QN8Z3spIlJ45VBHLD6ZRx4d8l/f cePrb6r16DpodOBcFn3AXxUE0/sOrHkMMvF6/INpNImD6ugrelisIwWupZNLqQ/3LVq7 YSrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1kMuk4ATHdLBA6nS9+/Ql1o5u2DufdURoVagZdgPoOs=; b=m+SGL7/4gmmbb+XwmYY7q+z6AaqQtyQhx1cB17lTzVDfPdOEVuSDQFXEI/3g7I39AC j+PDEfBJ+CGkMyLLo0g13lq2meLtjbgRvh5nx1lfakxuurQUIs7sSLQpc9q8HJq/vNF6 FTk4JeKlsH4sQJ1oe1d1MrIjpGPAqr7epEUw2FSdn3rjtExCHyYNpbuvgDhaBxf+U/vI Pcj1CtYrLNAV97Ga8wC7WtGTsqxz7b5HFRg7Cl5rx7HnFJ3fnCYdPfZUvgJuvGvMfDfE DU6KPXP0oIr8+OzVD6fEOVuHlgj5pfZimYbVx8/ybdmEzXDmY35AoLUaCBjKaigEhM34 e7Qg== X-Gm-Message-State: AOAM532CTe8SfiqpfuH4/UqYOIiy79iTHvc0cIjYFG6QMpWK+NtmgDoo vep4sJN5rKIYrzjFefzSI8FESqIRhM6A/rdsXFs= X-Google-Smtp-Source: ABdhPJyuvrBV4LzSW5jf8Z8Ml1AKIb2G5rfVhu1d3ERioCqxq4P4ZAlEcaU2Rnqmi0VlDMVDmAd1gR9RDdSuzXRSotQ= X-Received: by 2002:a05:651c:1393:: with SMTP id k19mr1285121ljb.448.1613614792927; Wed, 17 Feb 2021 18:19:52 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:40c8:0:0:0:0 with HTTP; Wed, 17 Feb 2021 18:19:52 -0800 (PST) In-Reply-To: <7456c577-b2d9-f847-8bdd-db602ad4d0ed@protonmail.com> References: <009a7aa5-3b23-b79a-9e65-a3a1bce645d7@protonmail.com> <03D50C6E-50A5-4D4A-BB71-B8C1DBAFAC0E@health.ucsd.edu> <4d4823eb-926a-0b5b-a594-69b8d3c9cbe8@protonmail.com> <200F8C74-6673-4EF4-A8DC-A45C5E865A2A@health.ucsd.edu> <7456c577-b2d9-f847-8bdd-db602ad4d0ed@protonmail.com> From: Samuel Wales Date: Wed, 17 Feb 2021 19:19:52 -0700 Message-ID: Subject: Re: Org failing to format a link with verbatim text To: Okam Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=samologist@gmail.com; helo=mail-lj1-x22b.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Berry, Charles" , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=tJ4h7QAf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6C4FD2CE45 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZuCDdDzH8LqM in maint for regular emacs i get link face for the link.: The link [[phrase with =3Dverbatim text 1=3D][a phrase with =3Dverbatim tex= t 2=3D]] face (org-link org-verbatim org-link) followed by a phrase in =3Dverbatim text 3=3D followed by normal text. face (org-verbatim org-verbatim) =3Dverbatim=3D face (org-verbatim) On 2/17/21, Okam wrote: > On 2/17/21 1:00 PM, Berry, Charles wrote: >> >> >> >>> On Feb 17, 2021, at 6:48 AM, Okam >>> wrote: >>> >>> On 2/16/21 6:52 PM, Berry, Charles" via "General discussions about >>> Org-mode. wrote: >>>> >>>> >>>> >>>>> On Feb 16, 2021, at 1:20 PM, Okam >>>>> wrote: >>>>> >>>>> I am using the Emacs gccemacs branch with Org version "9.5-dev". >>>>> I have noticed that when I try to insert the stored link >>>>> >>>>> file:doc/loopy-doc.org::*Destructuring with =3Ddash=3D >>>>> >>>>> and use the heading as the link description, that Org cannot format >>>>> this >>>>> link correctly in all circumstances, and tries to make the verbatim >>>>> text >>>>> break out from the link. >>>> >>>> The last para of (info "(org) External Links") says in part: >>>> >>>> #+begin_quote >>>> If spaces must be part of the link (for example in >>>> =E2=80=98bbdb:R.*Stallman=E2=80=99), or if you need to remove ambiguit= ies about the >>>> end of the link, enclose the link in square or angular brackets. >>>> #+end_quote >>>> >>>> To me, this sounds like advice not to drop external links amid normal >>>> text. i.e. put them in brackets instead. >>>> >>>> HTH, >>>> >>>> Chuck >>>> >>>> >>> >>> Hello, >>> >>> The link is being insert with the command `org-insert-link`, and the >>> information is gotten by the command `org-store-link`. The link is >>> being surrounded by square brackets when `org-insert-link` inserts the >>> link. However, Org mode does not format the link correctly, as seen in >>> the pictures I sent. >>> >>> I am wondering whether I should report this as a bug, or whether this >>> problem is already fixed, as I do not update Org frequently. >>> >>> Thank you. >>> >> >> I cannot reproduce this. These keystrokes: >> >> #+begin_example >> M-x org-insert-link file:doc/loopy-doc.org::*Destructuring with =3Ddash= =3D RET >> Destructuring with =3Ddash=3D RET >> #+end_example >> >> yield a link displayed as underlined `Destructuring with =3Ddash=3D' and= show >> the actual link when the cursor hovers over the description. Further, >> when I run `org-fill-paragraph' I sometimes get newlines inserted in the >> description, but the link is still functional. >> >> What is needed is an ECM [1] that will lead to the problem you describe. >> >> Screenshots do not help very much as the precise sequence of keystrokes >> that results in the issue cannot be reverse engineered, so others cannot >> easily trace the action. >> >> Chuck >> >> p.s. Using Org version 9.4.3 >> >> [1] https://orgmode.org/worg/org-faq.html#ecm >> > > Hello, > > I have attached a minimum working example. The bad formatting also > occurs when just pasting the link. In the example, Org mode highlights > from beginning of the phrase "=3Dverbatim text 1=3D" to the end of the > phrase "=3Dverbatim text 3=3D" in the verbatim font style. Part of the li= nk > is hidden as normal, but the text within the region of now verbatim text > is not hidden, including some of the brackets. > > I have reproduced this without loading a configuration, so it is present > in version of Org included in the Gccemacs branch of Emacs. > > Does that help? > > Thank you. > > --=20 The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged= .html