From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AJMfFtpEQmMKegAAbAwnHQ (envelope-from ) for ; Sun, 09 Oct 2022 05:49:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMs6FtpEQmNC3AAA9RJhRA (envelope-from ) for ; Sun, 09 Oct 2022 05:49:46 +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 EB3DDF180 for ; Sun, 9 Oct 2022 05:49:45 +0200 (CEST) Received: from localhost ([::1]:52402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohNJw-0002Zv-Oc for larch@yhetil.org; Sat, 08 Oct 2022 23:49:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohNIP-0002YD-18 for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 23:48:10 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:35385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohNIL-0002Uk-VL for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 23:48:07 -0400 Received: by mail-pl1-x62c.google.com with SMTP id h10so7772903plb.2 for ; Sat, 08 Oct 2022 20:48:05 -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=CG8AV/GHoPCnER/as1p+84KZ8EFDT/gsCdR7IgsrnEY=; b=Q2b6WifTsaOduCLynllRXQu2U3ZDF5y3t//Lkp3Gi4f9ErZIPPNkqNczTVzD4ElkDp TAavd17pI7Rb6mGL8eYLavVJqoCJMn/tDLoPaMBTgrXXPls3a3feU0KS5Dy8cUU06Kro h3953ohys7rwGaKyuXAeeDVeI/Ve7qrYxDupwxe+ST8TGxaC3WKWVlzmXmun5auLKJj+ fe/0eqGXyoG8SiIH0A0d4AcEpJEKog8g1IR4Xzrrf5RktiN6iF9taHBq85n1nc5vdlDS fN4pGsw/9jMAhAZ98Bot1MwsBD1TLyuNzPvJbB47aYFxu/EKN39amZ+BmXYVFxbeNVEn JroA== 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=CG8AV/GHoPCnER/as1p+84KZ8EFDT/gsCdR7IgsrnEY=; b=n5tUXCJV+/avyqVQx3IU7G6YomGfRQ1xXm6HAjSuo1g7M4PtJ/tovDu8MgEA4geJGQ GPS/uI/S86aCDr+Q4vTsb4TakfCC5xy1FvTZjA+Q2ZZ/pmXY6BpLF4aH71KlIAf+Km3H lCfSyzdiKqkF8ESoE484ftwevQ12g9grrqNh2QuU6AarpVfrXMJ0gpdCjz9L9PDQJ+FM fWw8eLcnd+6cS9qYAh0xwcvDH/RwIdfOPnOxKcVLEVqv3RtcGnsh3IwYUUG1bKNE+W+d E2NC45YCcsamm3eoqFHPvGiub4G4RaMi07K6Qnv6NYknYu70fllTVPUJXqoZR6etb3Gh xuuQ== X-Gm-Message-State: ACrzQf0PGOQClC+nzQGIt+7GW+Gylv3Phul1ZopCTVtY2SbEFduakpDv oJOk+FzSHyBxIfYtopJuHgM= X-Google-Smtp-Source: AMsMyM6PzGn1YwM+jvKfVoqQoDwr4VrYUCw3DZu1ACBa9V/muQFjQ21lQ/WK1APWAXt8Pp0A5ED0bA== X-Received: by 2002:a17:90a:4983:b0:20a:9509:8347 with SMTP id d3-20020a17090a498300b0020a95098347mr24276979pjh.101.1665287284414; Sat, 08 Oct 2022 20:48:04 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id a10-20020a1709027e4a00b001806f4fbf25sm2897019pln.182.2022.10.08.20.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 20:48:03 -0700 (PDT) From: Ihor Radchenko To: Tim Loderhose Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] Erroneous link highlighting in src blocks (9.5.5-geeae6e) In-Reply-To: References: Date: Sun, 09 Oct 2022 11:48:55 +0800 Message-ID: <877d19fyhk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.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=1665287386; 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=CG8AV/GHoPCnER/as1p+84KZ8EFDT/gsCdR7IgsrnEY=; b=Jr9CKbrUlMIyapRXhKiu+He5xkaoLYitwpWHFlPYFgJLcVEpyWKR6tubHg8AhRDniQeORo 87ScRn8/ILbXwOjGaXI6825flw3DiHbuX4gQTZwrgwbalj0R3GGWDZ3TnHU6Vz4K4L8xAI XueTTO4/yoEb+nWHYwXunPtKgu6KlyJoQqvAAM0AQ7/vO7xoB/xgaMLM6eNEXiA9Qmf6I+ Uvi2vGDdrP5mqxRH2Ive9ZcgVhedmx8iJ9iFKh9LlVUYjl1xQX3NNjmACZNIh7czzojp2D 85CDcsmjH9kTAVv43YV1+A94y+f9WD8nfUrUOKgxaCsEwrdKXcPVBRqeSiidjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665287386; a=rsa-sha256; cv=none; b=ExBgvRtNqOz/zxXSS1gTCWF6dgD196/Lktk+Uj0r4JY5gjPYUZjq57Y5w37eubp97jX8wb U0y7uwUswJXqHW5k6C7TaWmiLAablBJ2ShbGmri1JQ2/IEYQusOkTBD5f0A/qrwKAF87o0 C1b5RV0hziGFQzNLglmt9n55giIABX64gClegrCXSQrc8ylKZ/iVJqRjdN+EbYO/euYH9z 9XyEdPtrmbrzw0HY4q07G/xhmN3DjmY9cPLivlVEGXw5CMAji57s46Ruwdcm5dSfIh0F2n J2N61I2j7zs36yJ9m+dqcBfqB63rkDuOCq5P5z8rcJAbggKpELHrgaxXf8w0Ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q2b6WifT; 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: -1.89 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q2b6WifT; 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: EB3DDF180 X-Spam-Score: -1.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: IRNxSA0y+4ao Tim Loderhose writes: > Hi, > > In recent org, org-highlight-links including 'bracket' will hide content > with double brackets inside src blocks. > A vanilla config loading 9.5.5 org (I did this through straight.el) can reproduce this with a > minimal org file including just: > > #+begin_src python > [[a]] > #+end_src > > The brackets will be hidden. Thanks for reporting! This is related to the new folding engine that broke the brittle balance of current regexp-based Org fontification. In general, fontification issues are numerous in Org and have to be fixed by a complete rewrite of our fontification system. See https://orgmode.org/list/87ee7c9quk.fsf@localhost However, in a view of upcoming Org release, I am going to fix this particular issue now. It is not too difficult. Fixed on main now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=41a409f79d07fe7a3e8c5f934b97e4a2884bf948 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at