From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0DddBBmyamJfaQAAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 17:26:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kKFhAxmyamKXrAAAG6o9tA (envelope-from ) for ; Thu, 28 Apr 2022 17:26:17 +0200 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 99AE210AA5 for ; Thu, 28 Apr 2022 17:26:16 +0200 (CEST) Received: from localhost ([::1]:34874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk623-0005G8-5v for larch@yhetil.org; Thu, 28 Apr 2022 11:26:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk5NE-0005fT-64 for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:44:04 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:46987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk5NC-00074A-Kq for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:44:03 -0400 Received: by mail-qv1-xf35.google.com with SMTP id jt15so3338019qvb.13 for ; Thu, 28 Apr 2022 07:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=EYegTepONYaYRO3lB3X2bB1vm/NjhwglNDTZ+3jjAEs=; b=M+y6YNo/IBtvWtxXmlND/AkNmLcpNG3P0jgRYhR68tmb72vuggy22zBPRxOLc1uBn0 Rpgkff0LH1T6WlAoF5InQSphvpor6w/WkaqSaKW0YKs21dpQvxE+An4uT7AElhiiG1VT yQCEXtPODDqZl8uBhCNeHryE7XDT3bMLrsP/D3bGodBz6IQKzcV23wZe1wHWgeZeWWnE CgqVZ0MBWkgrlCv9jQhE5jGt7EwoeG7vcarlUm3cx9+49SGtN+DnidYub5WAtdJRhi3a c4y5Huc23taJP+k0vZA9xkjUVvIBClWCa4/quZINkzgBFRIDAHLZ0YrOB4JWMWEuNJGx utEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=EYegTepONYaYRO3lB3X2bB1vm/NjhwglNDTZ+3jjAEs=; b=22hoia7AxKxrKWzgZtvbRp+I9X8qV2CYc8go5gCR3/4lafbJ1oGe57FNNlnSSzyIYm OsSRXxB95TXSq3Ud9F7AXC0gRPAyqaAbasm6xfonGkXHSm3iyXuNkw05aAgX6v90gGlt I7tzD4LChVmlitQO1j4mnwWbcTKj9IPHvXz1XADiYyNjwUCjQ2Yu3jYjJMKS2aH0VxFp wr9rp7Q5H2XuVh0QqleSVzVwtvtzfrGx5PT1jBdUCBox9ojFbBOtPLXHhb6+/pUn/QD5 JpwOoMPnxXp3grugLp3On8knYfV3tbd0bwv06QP8CJZ88tBLIzRmPr1KIr+jLyCzV4EU UgXw== X-Gm-Message-State: AOAM533eGOzqnPI+10N9j5BdJHDgzzt1qgAPKGi5h7/AqBT60BPd7NC2 4avpOyW2HVJKxTRExc7InSTBkn1+1/7gIQ== X-Google-Smtp-Source: ABdhPJyAOZM/fbsq+FwyRxlgjsAqvDD7P5+SlhdBzXmQOP9x+qctJ+rJFLrCwBv9dJIbafy0BXXT1A== X-Received: by 2002:ad4:5ce3:0:b0:456:3d22:ff29 with SMTP id iv3-20020ad45ce3000000b004563d22ff29mr13403390qvb.53.1651157041567; Thu, 28 Apr 2022 07:44:01 -0700 (PDT) Received: from localhost ([66.150.196.58]) by smtp.gmail.com with ESMTPSA id g10-20020ae9e10a000000b0069f9daa1488sm52828qkm.95.2022.04.28.07.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 07:44:00 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Subject: Re: [BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too In-Reply-To: References: Date: Thu, 28 Apr 2022 22:44:50 +0800 Message-ID: <87tuad6zdp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651159576; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EYegTepONYaYRO3lB3X2bB1vm/NjhwglNDTZ+3jjAEs=; b=EuDAyUh/eMLM9gHFp6B9yMw/VpUy90DrbuU/VTbTxZKJOUv0LCyWKHLh2ytgz/fGM+ip1U LOh0HT4QeVLVNen0XuFIFf/JswhzYD0qK6/9OlJvjElSOeA1kVEcvdJ3HnX3wx2r07WChP SerFIOceF7IyIi/vuC3VQMR6o/d059hBmADSi4e8vlZZi9mEkxlZnMFOIPiUkYCgIf2Ngq 8K2WFHacTOyfEmE1UsEvK2tMd2yq7ORmxIl/vDJwVyU3Qe0qY3KRO9pDWulC9nIPYliG/L 9K/baFoX08KJZILILk2J3cguBFDLhsbdn3hXyC5E9bj+vkTuIeceR8MU3HhyqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651159576; a=rsa-sha256; cv=none; b=ad8gW5u/8vjqskCHIHMTBAKx3+Gmley5uQ3JuJzUeyXmlDdNUPSEREkS3YNDdSmax5ST5W Z1q7GyvGWC2J/IO7z3d+M2vxVR+M7tT0LAYp6WFRfQPptZtwyof5b2TBzZTkbfSbqjAjkJ kHVCONNiimNlpfH5W/OlUBxCWHtOmxEPsn+SvCzJ/VzXFLRaCzFSSQDCmZdAAeLac1P+/X clE53TMQBsjivKDXfnYYP/Whsfp9/Ipx6tRsirPOa/rqvx5gEbdn2A9+Uxwrzb+ZuwX0us bEnPFcGW602zUBCiLtmJn8ntrdEnIzCBx/5yQSHyFdwdWPn74el6yuyfy51TaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="M+y6YNo/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="M+y6YNo/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 99AE210AA5 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: TEq4ZJFz7RN1 Kaushal Modi writes: > With the default value of the new org-fold-core-style, if I have a > snippet like below: > > #+begin_src toml > [[asdf]] > #+end_src > > The brackets around asdf get hidden. ([[asdf]] is TOML syntax for maps > or array of tables: https://toml.io/en/v1.0.0#array-of-tables) > > If I change org-fold-core-style to overlays, and refresh that Org > buffer, I see the square brackets around asdf in the src block (as > expected). Confirmed. The same problem also did exist in the past, but it was shadowed by re-fontification. I am not going to fix this just yet unless it is critical. It does not look like this bug is common. This and other fontification issues will be solved by new parser-based fontification engine I am working on now. Best, Ihor