From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0Ps6NdqtR2NonwAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 08:19:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eKNfNNqtR2MvqQAAG6o9tA (envelope-from ) for ; Thu, 13 Oct 2022 08:19:06 +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 867641DD68 for ; Thu, 13 Oct 2022 08:19:06 +0200 (CEST) Received: from localhost ([::1]:47778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oirYf-0003Cx-EG for larch@yhetil.org; Thu, 13 Oct 2022 02:19:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirXn-0003CE-U0 for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 02:18:11 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:42784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oirXg-0001ek-5u for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 02:18:11 -0400 Received: by mail-pf1-x42d.google.com with SMTP id i3so1060668pfk.9 for ; Wed, 12 Oct 2022 23:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=9LyajiXsxpLxXQRJZZIYhMtP/OsL61JaYTl0lVurjPo=; b=SfkOX4kYOrlI7brQ+V/hbJcPSPyqKsbR9nrvw5amlo+STLWXYiEspD1u0t9siZtph0 VE5dzIPz9czIpLHqbVzcY6mALkEoNmtAY7V3v8a0O+e/Nn2IVLZ5OOaKKt8z+rFLMSI9 cyEiVjQyfJRP7BdC+zXzUtC1S6nNusB9fFra/xtfOGoKKdTvdSgCijraLksp9/P8kIJn osflSIh6rLV8EHEj9k0Iiiz8wXiJjcW9Z+Ke9apvthLV43ocUzyYYwO0PCkK4xo9HJyX hqecmJvb5KINm98OhkB6k3XkSk0QPfgAV1eKVbfaxHvx2YEnbdNbLDEdmVj5CAehFlG6 WX2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9LyajiXsxpLxXQRJZZIYhMtP/OsL61JaYTl0lVurjPo=; b=EoD/HFwBxdqnc6S9I2S8LL52RzzyIzct4IxwrDt4rct7GFGyQhaJjKFd9OVuuQeLJr En4l59FRO/B4uDglwkl2srL9uDqT7ATnThnWzCLbzdsDzQpo1Y4pBLDK5NMBuXAfReCl O19Y64YuF97wcxyotINE1lkyQ5ZFIqR7n6xYQtKRZUwBxW2/KL3V0GKrQe/yq66Vyssa 4JQZJx9AanIZmeLmOiaSQUf1JhdLano/6hx6Pvm8v5Cbt6TftJ5r5P2x74UDhw5lBGMd H0+OTX9nHXCJb5HhH/zqdoVTsIjPKKd26kUbfvO4oZjyxe2uUy496URoyitUJH5dxKHK zeZw== X-Gm-Message-State: ACrzQf0v2Xp5GMGhpB3DQbJEUae+LK0RSkR6obBsc6FAHVh0AugmDmMQ HINTotRUONOU3a/Rk8UXDiGLqElz5wpDnRNKcsROMQ== X-Google-Smtp-Source: AMsMyM5CVB6/DbkNIo6mTM4vQb5T+/cvyPJEZrhzDc/CPLiFLO/X+838R48oBoTbXiyqQIrDcImXiQ== X-Received: by 2002:a63:6909:0:b0:41c:9f4f:a63c with SMTP id e9-20020a636909000000b0041c9f4fa63cmr30000048pgc.76.1665641881968; Wed, 12 Oct 2022 23:18:01 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id u14-20020a17090adb4e00b001fdcb792181sm2400731pjx.43.2022.10.12.23.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 23:18:00 -0700 (PDT) From: Ihor Radchenko To: Kaushal Modi Cc: emacs-org list Subject: Re: [BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too In-Reply-To: <87tuad6zdp.fsf@localhost> References: <87tuad6zdp.fsf@localhost> Date: Thu, 13 Oct 2022 14:18:39 +0800 Message-ID: <877d14tfeo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665641946; 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=9LyajiXsxpLxXQRJZZIYhMtP/OsL61JaYTl0lVurjPo=; b=Ler0w9YkGSGSGDulV8UThH1pJ6m1pwgwAYEbU4/vYxNEKprlmj9DIIbu2Hb5HFegCG/D9X likgbVA++7/KEV6pU26/6F+PqojCiXKpEugpGIFDcUmt5ChupeT5ETs85ZjIXr6xCtd7S+ Pn7WHaMfUcvsj0kFzhh+xsHWaQ7SnOF+lp8Iiu4+o7ywWg2xIgE4dYpNGi+VzuBwWFcAIt Z/TNjk/obrbQ2ynev+PCXr1M8CNt8Q1+hJoVRiZz2/IhQClhE2BNHDjA57X8BhYeO76g0c oxuS6Y8kUIzxBWZ/exYEolM6V3vZf4W1GCIr6xAwIuRGyxMac9jD4VNV6Lx+mA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665641946; a=rsa-sha256; cv=none; b=fRqy+WIpqzJnQ0w1SXE+y8QBq1HjOtHnVQ1Omd0ufC1I/Lth/GqVDEKHwqWmweUmBpabsy tjJgI70hcTyXp/OWhKzZpLogtd09MWaLvAHNGxeYY/PG5Mb+QpTIIm0ozQQzOoSjukdb5a BEZc0eTpXWi6bH2HoRzjKuspZr0KLXSmSJcOLzuUZLLXA9z01x2C5PdbmBei9VJAyWpLOa RatoR8arElhEVmb1XIufgBc66TNTtm5xlnNz5zK5kMDT4sjvD9dtRbWfa7mljbY/aRsU09 icZle+IBEzFaI6Y8dueliOo4jzYrVGiKvBNEDh+ABMg8auj5Lc+eLFeGOFLwlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SfkOX4kY; 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.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SfkOX4kY; 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: 867641DD68 X-Spam-Score: -3.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: KsasB+OUG70m Ihor Radchenko 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. Fixed now. See https://orgmode.org/list/XdWFnN3XCJ67x3SvoiVo_itGGYfboKmuWp7OxQxRZ_SGA5vgb72oWBoqTmOUUtiqUR890-kIXjI7uhlse-HFYqNVJTyVlc15zAzbP8qHVdo=@loderhose.com -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at