GNU bug report logs - #45114
perl-mode warns about mismatched parentheses wrongly

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 8 Dec 2020 05:46:01 UTC

Severity: minor

Tags: confirmed

Merged with 24299

Found in version 26.2

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 45114 <at> debbugs.gnu.org
Subject: bug#45114: perl-mode warns about mismatched parentheses wrongly
Date: Tue, 08 Dec 2020 09:14:43 +0200
On December 8, 2020 9:09:51 AM GMT+02:00, "積丹尼 Dan Jacobson" <jidanni <at> jidanni.org> wrote:
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> EZ> I see nothing special about regular expressions in this context. 
> Parens matching is useful there as well as anywhere else.
> 
> /[
> 
> means we are entering characters that stand on their own, that _should
> not be thought to match_ previous characters.
> 
> As I am entering the regexp, emacs should not tell me that
> 
> /[}
> 
> is wrong.

I disagree.




This bug report was last modified 4 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.