From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52841: show-paren paring error in org-mode source blocks Date: Wed, 29 Dec 2021 19:07:59 +0200 Message-ID: <83fsqbjq4w.fsf@gnu.org> References: <83zgoklwh8.fsf@gnu.org> <87sfub5sh6.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24378"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yilkalargawworkneh@gmail.com, 52841@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 29 18:22:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n2ceP-00067X-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 18:22:09 +0100 Original-Received: from localhost ([::1]:44608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2ceO-0006dd-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 12:22:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2cRi-0007gy-7Z for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 12:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2cRh-0005em-Ua for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 12:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2cRh-0007zC-Ib for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 12:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Dec 2021 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52841 X-GNU-PR-Package: emacs Original-Received: via spool by 52841-submit@debbugs.gnu.org id=B52841.164079768630619 (code B ref 52841); Wed, 29 Dec 2021 17:09:01 +0000 Original-Received: (at 52841) by debbugs.gnu.org; 29 Dec 2021 17:08:06 +0000 Original-Received: from localhost ([127.0.0.1]:50188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2cQo-0007xn-JG for submit@debbugs.gnu.org; Wed, 29 Dec 2021 12:08:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2cQm-0007xH-AC for 52841@debbugs.gnu.org; Wed, 29 Dec 2021 12:08:04 -0500 Original-Received: from [2001:470:142:3::e] (port=45154 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 ) id 1n2cQh-0005Yh-1M; Wed, 29 Dec 2021 12:07:59 -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=pzXmUUi5CcAwyM8Np89rerQy4LjnnJIQjmY2pZzT7xM=; b=aqscTzQkC6aw S8gYzjwzCkom1NVpS3baGcRQ45yF2fw2DOcJYU/V2JIvj/kDsiGix+7OMJrZM8bQMPn2onD1ngHCC IZN2CB3tLfVtsElnH5s/fzg2OoTwekFqEwAZLBP+DW7fMepdiemOj4W8xWsiijltGbI5RcNIKrB8v +ciXTUWiav7IjFn240oyheMFo7KdHL81R+P0FmV3WNF99dSV/PzuX2aUTPpdSaQjRdmr8ey0ZVtla CvAcz7GeXUm6lnNPtjZA4LRkfIONnltcEJukyYSllIPpwAo5KaYsS26fkAZYUbx0+aczN4oyFk1Mo f+EQiRI74adrO2sho6FE6w==; Original-Received: from [87.69.77.57] (port=2149 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2cQf-0004QR-3w; Wed, 29 Dec 2021 12:07:59 -0500 In-Reply-To: <87sfub5sh6.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 29 Dec 2021 16:41:09 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223361 Archived-At: > From: Lars Ingebrigtsen > Cc: Yilkal Argaw , 52841@debbugs.gnu.org > Date: Wed, 29 Dec 2021 16:41:09 +0100 > > Eli Zaretskii 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? No, and I'm infinitely grateful that it doesn't. > 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? Yes, it does.