From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aIrJG2Sva2KbEgAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 11:27:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SGrxGmSva2KucgAAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 11:27:00 +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 E814CCED7 for ; Fri, 29 Apr 2022 11:26:59 +0200 (CEST) Received: from localhost ([::1]:54582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkMtu-0006XV-OO for larch@yhetil.org; Fri, 29 Apr 2022 05:26:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkMrk-0006VG-5K for emacs-orgmode@gnu.org; Fri, 29 Apr 2022 05:24:44 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:55975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkMri-0004lp-Jb for emacs-orgmode@gnu.org; Fri, 29 Apr 2022 05:24:43 -0400 Received: by mail-pj1-x1029.google.com with SMTP id r9so6615297pjo.5 for ; Fri, 29 Apr 2022 02:24:42 -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=9dGKkPkfKGnA2pme5GuyStMXhBhaOQ1t34BSMcAg7x0=; b=J6dnR2xBoIX/bJpzZgILQUh95m7gSY3EOdW3clvxATTwqygtRkFqV8FWV63y3ty0VZ m5TQm3ybLmM857e2xr5fe9QwQWEDs6Q9mWCS8D5PmYWiSjGGM3fnjQrXl0lK9Wfa/Vog ks5SIFzA9wadoToutCKScBb+/RJeS54AswdEXUNcEQY4DebTaf6Wf2zuupyXkppw2PPj FkKvSMgJ+mzueOiBPwsTansRkp3wu4H9x9LztaEi3VSBwrY9w2Le3H/C5OdtjOZ9lAHO dXYiytprtoWkYsNLFXosWlgdiDKIHaK11Am++GzSzyv2IrqA/aYVkHBOnQqMcTX+gkMv J+6g== 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=9dGKkPkfKGnA2pme5GuyStMXhBhaOQ1t34BSMcAg7x0=; b=v50gFYFb+alSv/te6X+aQV3f95jbI3kBkeOjEUtLC5IDJLGX9W5E77vptNiqE7sgK7 WJbvvI8MajMG9+7uKHwnPLzN8DhdMsQx7LWQHOieXuS7LXSTZUjAaNoCDk09+TsJUjAj zaV67AuDCZbNEfVqF2wdceGmEHv574rm2SnpJJ73u44HYpVWCeDgtVE4oq66yOU6KlLN J+Dtw/JD28AQ+nyEDSC5yYYhQzFKFFWYegGGYrbPrOLuRHZ7LhUx6XyQGG2ibvyv8r00 wcW2+9zsJsAJgkdiiivKo/4D1X2J2ESUFecmJotKnvkEqjfiXxP4yeDW9Gyt0NKmIfb/ QtVg== X-Gm-Message-State: AOAM530MH0e60VkkOiNpmXxxwtOa9Hl27n/XdxgaTgDdiVpSxp4EeouH 739eySBAVq36lQaB5IilUunA+LO9gW9ZfV6j X-Google-Smtp-Source: ABdhPJycoNaGKQD6Z7SpP5y3mHp3maAv4vhxHt4nhlWVrVKaCqrYo+U1L420SbLZV216V3Mof+Mihg== X-Received: by 2002:a17:90a:1602:b0:1d9:9ddd:1f8b with SMTP id n2-20020a17090a160200b001d99ddd1f8bmr2937768pja.130.1651224281268; Fri, 29 Apr 2022 02:24:41 -0700 (PDT) Received: from localhost ([192.161.60.140]) by smtp.gmail.com with ESMTPSA id a5-20020a62d405000000b0050d1dec25cdsm2441305pfh.115.2022.04.29.02.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 02:24:40 -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: <87tuad6zdp.fsf@localhost> Date: Fri, 29 Apr 2022 17:25:31 +0800 Message-ID: <87v8us6y2c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1029.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=1651224420; 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=9dGKkPkfKGnA2pme5GuyStMXhBhaOQ1t34BSMcAg7x0=; b=c8nwuoLjXOTMF+repPVyKWYkVujn3dE7G9QDXzyxKRDa2jVACwYaJSmzI/k+Or05GsDOLg 75CwZDvGoPlqpKW/0vkuvB0sM/C4dGHXTF6B0EaIhnZ1GST+/y/GX1vRIIOoACG4nbwH3z hm/X4EPFGXCE5Ms8ZDWzeXy/3HaA8x0a30Y14fZMCcrwGIyORpNZa0rcRcZN3ER0nGcNiX yfcIHcm0h7kbT+Hep+R92jfMyj6d7hwm41FDFnnTVXvYI7fep/tiTSu7bNEnSRs4/LErhR aMdzvAjKYKB1BKcU4RdL7u55gDfEKwe4+IAUmtsSQ08KMxqmwCyzcZ8/IeN0FA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651224420; a=rsa-sha256; cv=none; b=JF2kEH066XA3FQQQSB/pHOjI+MXJ7lukOm3W6Tn9vJAhfvGQqD5Qv5GiQztOplBLoL18jm GrvpVAUr1OdYf09FH0/9/5fIGp6GYsD22eg1m8hnvbGHu1c65GRB+gn8AIviJ1NKOs60kf ChtSV+lAMONf7vov0vLfeY0eU3eHXKCjq2xxuczu2AqQicvCDR0zjHBfaLmyON8IkBgsrY KxcVPdvnVY5d91ZbsBUku9barKAQOskqLI6dcUEcCPpsljuzcCAP0lxlOieUFzek7TKIxK 0fWrCuLe92d1TeG6AQpv3k+vWIn+5KxoQNluv6E1EELwRTng4YSg76s0zlpKKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J6dnR2xB; 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: -5.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J6dnR2xB; 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: E814CCED7 X-Spam-Score: -5.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: aLXcgUbpRasp Kaushal Modi writes: > It's not time-critical, but it would be good to fix this bug. It's not > just the Org link syntax.. any Org markup is fontified inside the src > blocks. Here's a screenshot (attached) that shows the bold > fortification happen in the src block as well. Emphasis should not be affected by the latest change. Are you sure that what you are seeing appeared _after_ org-fold merge? For me, it looks like known problem with partial fontification of large source blocks. It should disappear if you scroll up to the block begin line. >> This and other fontification issues will be solved by new parser-based >> fontification engine I am working on now. > > If it is planned to be fixed before the next major release of Org, > it's OK. Thanks for working on this! I hope so. Feel free to bump this thread few months later if there is no progress on fontification. Best, Ihor