X-Loop: help-debbugs@HIDDEN Subject: bug#52841: show-paren paring error in org-mode source blocks Resent-From: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 28 Dec 2021 04:03:01 +0000 Resent-Message-ID: <handler.52841.B.16406641359411 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 52841 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 52841 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16406641359411 (code B ref -1); Tue, 28 Dec 2021 04:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2021 04:02:15 +0000 Received: from localhost ([127.0.0.1]:44840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n23gl-0002Rj-NE for submit <at> debbugs.gnu.org; Mon, 27 Dec 2021 23:02:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:49230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yilkalargawworkneh@HIDDEN>) id 1n23gk-0002Rb-8x for submit <at> debbugs.gnu.org; Mon, 27 Dec 2021 23:02:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <yilkalargawworkneh@HIDDEN>) id 1n23gk-0000js-1p for bug-gnu-emacs@HIDDEN; Mon, 27 Dec 2021 23:02:14 -0500 Received: from [2607:f8b0:4864:20::b33] (port=46835 helo=mail-yb1-xb33.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <yilkalargawworkneh@HIDDEN>) id 1n23gi-000075-IH for bug-gnu-emacs@HIDDEN; Mon, 27 Dec 2021 23:02:13 -0500 Received: by mail-yb1-xb33.google.com with SMTP id w13so16447118ybs.13 for <bug-gnu-emacs@HIDDEN>; Mon, 27 Dec 2021 20:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=28HWlJ6RVozyTYQnJPOheeukN/zQ0aBRH8dF7j78I1c=; b=VSoNB7TgcKwJvv4g551Kik4b22Yj69PniByY6r4UZtFzalWtnNNj2ofAYhL9Q5QYXR nu/wqyxKs2C81+Xnks6rcoq9KyNhCx/SeT26q65HGqAD6hQrliYG7V/+13Q8dnFhxuWK G/wBzj00i3iwDEPduV8HGuOpUfgdeqwiOjhw0swXanNaJX0oBrDC60xlDfwaXkpjfUS1 Los6u44EB6/SRzJugPO/iDFkEdl+s3rJWy4EDZnphATwTUN6KOeiDB9xW0ItQMy/ktZG OZcdNtHXeEqVxiWPcP0Y+iAQW81W7PZDXycaqoPTyOqxENCLhbyPaWkhqUHUnZkBU+or mdOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=28HWlJ6RVozyTYQnJPOheeukN/zQ0aBRH8dF7j78I1c=; b=At3/f31tBkxcEsDuSKqowk4HdgD1GuNQIhXyPkqx/Aw+cBpYchGEPGYloFhJlJGC34 ZZy3SbQQsDbgvDWfUe6dfumy41zQoda/U3DWAzMMlGXxgwvq8E6ysVY+5eXeQl5iyAND z7bKr/i2woSZF2DZU4X16vAey942drg6K6HWFlyWatzOE6i2/FZ8x6njeJ2Du9eYjq15 eBmzht/k2ZxgP7pWfNBY/NdqcA+ttNUrrElPMkAEsmpOGCI0HuLGpVIuCZdt2XfOtyMs rOJugDRrA/P+GdSkj3D3iTturU1oOZUhO9xCONYhnf7EZ91nDehZ3Eoy78/TOR9U6PDm LKuw== X-Gm-Message-State: AOAM530KDS2j8zx+AqMQa6Wba5sf9TmLjfDCOsZtOs32VCmHXUGDoBQw MuHoaM9VYAnINzPTLs03k4uDRkIRHhGvKRspM9fPyEJh0/4= X-Google-Smtp-Source: ABdhPJwAoFFYsAETdlJ4/ZGSHdo0xmNrtjISInIQhhvXsAj99HksLgSnA+DrcQBwN3N7HtHbv/ejlBeGbU6rz9Gcm7k= X-Received: by 2002:a25:bd07:: with SMTP id f7mr10692708ybk.307.1640664131116; Mon, 27 Dec 2021 20:02:11 -0800 (PST) MIME-Version: 1.0 From: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Date: Tue, 28 Dec 2021 07:01:37 +0300 Message-ID: <CAJddU=oAnhJiG4R6RiLosx9Q5YEYaiptY_T=MzAv61e==xhV+w@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b33 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=yilkalargawworkneh@HIDDEN; helo=mail-yb1-xb33.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) show-paren-mode works fairly well in lisp source codes but the pairing does not work in emacs source blocks. For example it pairs ) with <. An example source code is in the following source code #+begin_src emacs-lisp (if (not (version< emacs-version "27.0")) (progn (if (fboundp 'native-comp-available-p) (setq comp-deferred-compilation t)) (setq warning-suppress-types '((flycheck syntax-checker) (comp)))) ) #+end_src
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Subject: bug#52841: Acknowledgement (show-paren paring error in org-mode source blocks) Message-ID: <handler.52841.B.16406641359411.ack <at> debbugs.gnu.org> References: <CAJddU=oAnhJiG4R6RiLosx9Q5YEYaiptY_T=MzAv61e==xhV+w@HIDDEN> X-Gnu-PR-Message: ack 52841 X-Gnu-PR-Package: emacs Reply-To: 52841 <at> debbugs.gnu.org Date: Tue, 28 Dec 2021 04:03:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 52841 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 52841: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52841 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#52841: show-paren paring error in org-mode source blocks Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 28 Dec 2021 12:56:02 +0000 Resent-Message-ID: <handler.52841.B52841.164069615318763 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 52841 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Yilkal Argaw <yilkalargawworkneh@HIDDEN> Cc: 52841 <at> debbugs.gnu.org Received: via spool by 52841-submit <at> debbugs.gnu.org id=B52841.164069615318763 (code B ref 52841); Tue, 28 Dec 2021 12:56:02 +0000 Received: (at 52841) by debbugs.gnu.org; 28 Dec 2021 12:55:53 +0000 Received: from localhost ([127.0.0.1]:45305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n2C1B-0004sY-MI for submit <at> debbugs.gnu.org; Tue, 28 Dec 2021 07:55:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1n2C1A-0004sN-Jd for 52841 <at> debbugs.gnu.org; Tue, 28 Dec 2021 07:55:52 -0500 Received: from [2001:470:142:3::e] (port=35242 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1n2C15-0003zJ-8V; Tue, 28 Dec 2021 07:55:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vXvterZieRDxVCFHh9FCjSRVTXiK5udpKzvoeXGrVSg=; b=mRt5nJj8CTL9 3l8UL3+DQPtPeSWsb7rpXIQ4H0qI4nwotp3UI8e6+S1hLKN7DP+o7p9BpRxHORlT2mURRWP2Zux2p y5wtRm3XqHZH8bS8Pi0Fh82s6pQ9MoLGUbBg6frHQbdtwI7uNzhnCuTqrL7mVvyxle2W8k1hQMIZW u6Tc9qqw7aYB4RVHKJHyyHSBObiXkekfl65uIP4ZMJM3IFBamUWvRHG50swwvxu36EBDsCqNMoKrK by+d8cXutwKDioeUfbjte+sAsqxxGZ1UeGOdZM/Lg8T9DIFnnO+lMFJUJGgO4yG0noqAFTqcuF2uy kq5MQidfPpoBZ1PEqkFTOw==; Received: from [87.69.77.57] (port=4485 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1n2C15-0004Kh-7y; Tue, 28 Dec 2021 07:55:47 -0500 Date: Tue, 28 Dec 2021 14:55:47 +0200 Message-Id: <83zgoklwh8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <CAJddU=oAnhJiG4R6RiLosx9Q5YEYaiptY_T=MzAv61e==xhV+w@HIDDEN> (message from Yilkal Argaw on Tue, 28 Dec 2021 07:01:37 +0300) References: <CAJddU=oAnhJiG4R6RiLosx9Q5YEYaiptY_T=MzAv61e==xhV+w@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Yilkal Argaw <yilkalargawworkneh@HIDDEN> > Date: Tue, 28 Dec 2021 07:01:37 +0300 > > show-paren-mode works fairly well in lisp source codes but the pairing > does not work in emacs source blocks. For example it pairs ) with <. > > An example source code is in the following source code > > #+begin_src emacs-lisp > > (if (not (version< emacs-version "27.0")) > (progn > (if (fboundp 'native-comp-available-p) (setq comp-deferred-compilation t)) > (setq warning-suppress-types '((flycheck syntax-checker) (comp)))) > ) > > #+end_src Isn't this a problem specific to Org? If so, please report it to the Org bug address first. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#52841: show-paren paring error in org-mode source blocks Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 29 Dec 2021 15:42:02 +0000 Resent-Message-ID: <handler.52841.B52841.16407924831277 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 52841 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: Yilkal Argaw <yilkalargawworkneh@HIDDEN>, 52841 <at> debbugs.gnu.org Received: via spool by 52841-submit <at> debbugs.gnu.org id=B52841.16407924831277 (code B ref 52841); Wed, 29 Dec 2021 15:42:02 +0000 Received: (at 52841) by debbugs.gnu.org; 29 Dec 2021 15:41:23 +0000 Received: from localhost ([127.0.0.1]:49968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n2b4t-0000KU-Ax for submit <at> debbugs.gnu.org; Wed, 29 Dec 2021 10:41:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1n2b4q-0000KB-Qr for 52841 <at> debbugs.gnu.org; Wed, 29 Dec 2021 10:41:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ks1O0cjl7YRckdlgJfI++wjGG8gFS2yNcLvSyP+1XEA=; b=eFVq9XEiRGdp6uJVXUP7/gYSv/ kS3hkfsY9t4iTS4T708ja1r/WWX71h7XWv0DWwJTbqBV1lNuC6ldcUYxUwpV4VRIPrfR0RuqETX9o vdFpDD+QVvgP+u6tQTXlq6d3hkkP4ekTDxgCVg/WWB4GHKcukiyKDMEj1eruJxjlGXXw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1n2b4i-0007GB-1r; Wed, 29 Dec 2021 16:41:14 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <CAJddU=oAnhJiG4R6RiLosx9Q5YEYaiptY_T=MzAv61e==xhV+w@HIDDEN> <83zgoklwh8.fsf@HIDDEN> X-Now-Playing: Pole's _Pole v Four Tet_: "Heim" Date: Wed, 29 Dec 2021 16:41:09 +0100 In-Reply-To: <83zgoklwh8.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 28 Dec 2021 14:55:47 +0200") Message-ID: <87sfub5sh6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> #+begin_src emacs-lisp >> >> (if (not (version< emacs-version "27.0")) >> (progn >> (if (fboundp 'native-comp-available-p) (setq comp-deferred-compilation t)) >> (setq warning-suppress-types '((fly [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> #+begin_src emacs-lisp >> >> (if (not (version< emacs-version "27.0")) >> (progn >> (if (fboundp 'native-comp-available-p) (setq comp-deferred-compilation t)) >> (setq warning-suppress-types '((flycheck syntax-checker) (comp)))) >> ) >> >> #+end_src > > Isn't this a problem specific to Org? If so, please report it to the > Org bug address first. Well, you see it in any mode that displays code blocks, like in Gnus. Doesn't rmail fontify that block of code for you? I can reproduce the problem in Gnus, too, but I'm not that familiar with how show-paren works -- does it just use the syntax properties in the buffer? In which case I don't know how to fix this, because in Gnus article buffers, <> have parenthesis syntax. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.