From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AHSBCkNAwmEkYgEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 21:59:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sG07BkNAwmE0agAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 20:59:47 +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 E6D80EF5C for ; Tue, 21 Dec 2021 21:59:46 +0100 (CET) Received: from localhost ([::1]:56946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzmEc-0006QL-52 for larch@yhetil.org; Tue, 21 Dec 2021 15:59:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmDt-0006Py-K6 for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 15:59:02 -0500 Received: from [2a00:1450:4864:20::434] (port=42874 helo=mail-wr1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzmDr-0006Bl-H8 for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 15:59:00 -0500 Received: by mail-wr1-x434.google.com with SMTP id n14so258145wra.9 for ; Tue, 21 Dec 2021 12:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AawZ+y1leB22RLxOazyAnnsTYG72gvvuP3txZahSuxM=; b=Z+jt9da+lBnav3FFJydZ7SEfDHFvGncu7aGDc876/zFLiqYOOf00/Mi8xHrhgfEnoA /7B7Q2OxG8t6ubQe67OD3xkRPWph1ch8hSa/nKvObN1XHiLvX5igEbSoCZQximDTUIuf K3E53bZaVvougARU14n5PP9uHcTccobir3Y0ZmBrKpxymzDgffu9A7LMou2xkOIvbjAT RRKCUEIrf5u8lrptLYxTDhCDMNASpNovEyZeOCbeb8deFJ1a88ZJkWrJ8S7GBB3EuUY7 +B+vqVed6KMPZA2YAx824+P4jyUpqrBt8TOZHlV+anFUALqgDq+BzB/2v8iRLCx/zWoA 40Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AawZ+y1leB22RLxOazyAnnsTYG72gvvuP3txZahSuxM=; b=j6bD9Xav498ZHgDSam9q9BbltaIjIHiJY9ll4K1+YjM+CKJyZqDQR3XEtT7RMxynrZ xro/q8Afx87t0WHu54ZMFIc5rzcXEoPJGqlr9tLqPq7Mip2hwKW2vyK0ZV7sJow346Rw Ox5mAIfSr14mhDT3ArzGVbqHQey/Gk682uQHmcQwVKT2+Y5ED76iEC2SX8A+6TV0KsTh fBA4YFOR6YWlT975tmHc4cWQ+s3PaWMVzesC24dWINvAs5NrHffqZY4H/P3T9FCv88wS RjRRoqLbFYFtOpRLFSjCq8xRYR2LSmHAsQMM85jDLAMj47AdePtgHxikTT+tPXYowO92 QZfg== X-Gm-Message-State: AOAM530eBOnw2n0gzs4MhDShsL7+AOpPjVY2/HQdgtmarz9cK9Id/Mr6 VWtp5IkpwwdBykf/OuBYUmeqQ9BFU/e2YSrBRgN7iIC7clc= X-Google-Smtp-Source: ABdhPJy+br8zzHlVqUyZfFG/qmU5QUcKA/UXv9rzxhcVPCXv1v/OnWTgBSe6oVW+SS7+cN4lDgtwz1jqpDO5aU712FA= X-Received: by 2002:adf:f410:: with SMTP id g16mr7352wro.290.1640120337327; Tue, 21 Dec 2021 12:58:57 -0800 (PST) MIME-Version: 1.0 References: <8735ml7qmx.fsf@gmail.com> In-Reply-To: <8735ml7qmx.fsf@gmail.com> From: Tom Gillespie Date: Tue, 21 Dec 2021 15:58:45 -0500 Message-ID: Subject: Re: Parens matching errors in org-babel code blocks To: Tim Cross Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::434 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-orgmode 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=1640120386; 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=AawZ+y1leB22RLxOazyAnnsTYG72gvvuP3txZahSuxM=; b=Mj+CWxo99CG/lvKUSIdn2EsWJeJsb1j6kdmiykidNmAvzzlTht5XxLxJfITvRP7gxrFqRp l8k3tCb9OmeDHwauYJzvuWmp7dtAAOVsTEUpKrdL5CryuUlV8n9cywDfL7UeYO+MZnFIjH i3fxVjbuD6PeWTVr5C3Uj2jrqZrMTVsh5tuPge98LsWiPmdKMoWxQlUthB00LsJsDIuURB QOKFBFwuScxhvFdJgBjB3fuCxN38QNm/T9y92H042Zb5JMOhckAUmNhzkilzNH7s4Hddaj kT910BTcPo8Ys7JGoL9gGMZwAd1LMkZO5iAZ3ZZVfBvJNqhGr2qNE++fXjZcSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640120386; a=rsa-sha256; cv=none; b=MsueJTMrcR7ECq2WBCxO+Y3i6bedB9m/K9ZaU4d46WWvWMWSU2w6DZDnTrIZyHOa1vXTzh Gii62AE4rO2l2X30os3r0SP/Khd+yE/MEraPoPxzWnSYrjz4REMty5Llbz8KjG27EwmTUW PpfW7Nj8c0HEkfJAFdx1LoFcFc+eYmg/Se4ZI7abev3umbXAeYPNtC8Y+DyToy7QaQTO24 kYHRJJseDNJDmDqNj8SVWtQYdZLOBrX5H5YOLF/KgfB4zVoeNBlEYWbI5EOgl7rM9W/pp7 LuHLIuXocrIdO4Gp4N1kIVqNMqYJiit17fdUyucMzoZ1GbN6mBvTLHJpM9Wbog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z+jt9da+; 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: -6.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z+jt9da+; 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: E6D80EF5C X-Spam-Score: -6.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: zy01Ws7InuQi Definitely a known issue. No easy way to fix it without someone doing a deep pass on syntax propertization I think. I have a version of rainbow delimiters mode that tries to work around this at least for font locking, but it is severely broken and has some nasty quadratic performance issues in large files. I'll have to look into the proposed solution that Tim mentions, I may have missed it (unless it was the solution for <> that John mentions in the linked thread, in which case that one is not sufficient). Here is a discussion from back in April. https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00031.html Best, Tom