Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 12:03:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 07:03:25 2020 Received: from localhost ([127.0.0.1]:56738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmbiG-00068I-NJ for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 07:03:25 -0500 Received: from mail-pf1-f175.google.com ([209.85.210.175]:33031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1kmbi0-00067I-HH for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 07:03:23 -0500 Received: by mail-pf1-f175.google.com with SMTP id p4so7832834pfg.0 for <45114 <at> debbugs.gnu.org>; Tue, 08 Dec 2020 04:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=C3xry6LKBDXzyAXCP+Y3kyRmh9FiME+epNdtLOPtRu8=; b=tSllu3RgE4+/odgxqnF3DZ0kD4rVLUd53vOZLr8zVqaaZDlCCjq3rrgyCu5clwKWIJ gjf9EyYg4iCoQK1in8wfSkib84UwDpZBRoimqVTxY+X2n5HiuZmfl5TA0Spd7BPiJ8rN CHhPTymfXR7Xj59BJc/icH6hhHgdeLfP1NrY8ch0V8fps89oGarDZ/nfyR7q1lnQ9zmR 4lUU90fNJ1gTKwC/fZuRHrVyvbgyBRfenPuYhuqU0hH1N2hMB2LxT5LY8eV6L6Z1+qeg nIdmmje+sLwgCx6Jp00NWOsZTb4vIRSao/hOojvvpZW7Ff4fIMNZf//n+fMKpK78bonW ygQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=C3xry6LKBDXzyAXCP+Y3kyRmh9FiME+epNdtLOPtRu8=; b=g3MFmZgmNqU+c4NElny8v3jLSHMD9wZcdy9FZKatzH+fnFll7Rb5F7mZZhQvhZRyPa 1XPT9yx6B3607BVzj5A6YKP+WvchAdgjBSSxRlNMVwS4TdAjjen00n9tG0dqn0Lyexb6 aZzO9BnmgBO3vvNzfWGefjv+UW6JXhWWHqIamhoLGD0/0r7A38MGaUd6XwP6qLBUvHpN NjK8yU6Nr1hzr8bD0hUVL99Gmew4A3F7vhemD5lmkPiVGpwCG3HgPAE3hi4A/K9yx6eK zh1d6yWAgTKyy97Rv7b4+Cyz/AMGVuUO6jGgPS6TDL62RahFc2SPgXbRp1ydRS9h/hPy 0vTw== X-Gm-Message-State: AOAM531xfT7o827ZdZB9BuDi3l4rADUoByl/iCYod7uRwGlJ/tOZxGYI M61qgt/kPx9n/ijJ/XDoYqDa42jisVTMyA6gW4o= X-Google-Smtp-Source: ABdhPJwJxW6w1yjotq3BFg4uK4avAgDEiQR5DzACbbebhxh+ZYBBP+sqioMh52NUaYnQoFoMGtGRlvVgrpaWMUXyIdg= X-Received: by 2002:a17:90a:a786:: with SMTP id f6mr4105046pjq.104.1607428982544; Tue, 08 Dec 2020 04:03:02 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 8 Dec 2020 06:03:01 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <87wnxsv9ck.fsf@hajtower> References: <878sa8svfk.5.fsf@HIDDEN> <87wnxsv9ck.fsf@hajtower> MIME-Version: 1.0 Date: Tue, 8 Dec 2020 06:03:01 -0600 Message-ID: <CADwFkmkCpGSUx84nLC+iyAoXsFYKXbLogoWwiBX9pGz7WK5Yiw@HIDDEN> Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly To: =?UTF-8?B?SGFyYWxkIErDtnJn?= <haj@HIDDEN>, =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45114 Cc: 45114 <at> debbugs.gnu.org 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: -1.0 (-) forcemerge 24299 45114 thanks haj@HIDDEN (Harald J=C3=B6rg) writes: > I guess this bug can be merged with Bug#24299? Yes, done.
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 11:14:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 06:14:02 2020 Received: from localhost ([127.0.0.1]:56700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmawT-00043e-P3 for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 06:14:02 -0500 Received: from mout01.posteo.de ([185.67.36.65]:44376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <haj@HIDDEN>) id 1kmawO-00043O-4m for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 06:13:59 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B820816005F for <45114 <at> debbugs.gnu.org>; Tue, 8 Dec 2020 12:13:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1607426029; bh=Qt0wK9QffWEkivSuv+Ia4xoxCiWyJWJ4Wj5RxvF7S5Y=; h=From:To:Cc:Subject:Date:From; b=QiLk4b3McqYAWM/ZOlhX3CCGvQGOdCg0+I4IOCym9sYH6rRIP+GtwNxyHeA5kJaTW 9UrYIM/Wm3VxLpoLO6ttGQZXmV48yhDD1ig1P9jNs0V4JZbIqjMOsydH/kUaTcmyKN DNVTxLATIGGz0FVN5aE+et39fjp+uZG2TeTIBMqYlIXJ+EP5sFVyQTIqRczwew5bh8 VVYH13Uugfkt5XmIXnfJF2sQ1GtuFZ43ma/aQ/m7qE1izdD8cs+JWvr1/1MEuSeor0 +1LufOyWXajz10AqpenckAO57Q2qBvKXUtpdj/nSWEaEf2HdFGmC5s4qQCu9zEsuXS AJBdwB6s0LDQw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CqyH05W0Yz9rxh; Tue, 8 Dec 2020 12:13:48 +0100 (CET) From: haj@HIDDEN (Harald =?utf-8?Q?J=C3=B6rg?=) To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly In-Reply-To: <878sa8svfk.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Tue, 08 Dec 2020 13:45:03 +0800") References: <878sa8svfk.5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Tue, 08 Dec 2020 12:13:47 +0100 Message-ID: <87wnxsv9ck.fsf@hajtower> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45114 Cc: Eli Zaretskii <eliz@HIDDEN>, 45114 <at> debbugs.gnu.org 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 (---) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes: > $ emacs file.pl # and start typing > if(/^[^}]/) ... > > During the process you will get spurious warnings about mismatched > parentheses etc. > > emacs-version "27.1" This is a general Emacs-ism: The warning appears in any mode, not just in Perl mode. So, in any environment of Perl mode: in code, but also in strings, comments, and POD - and in character classes of a regex. Whenever you type [}, the warning will appear (also in Gnus' message mode, as I just experienced). The current message texts "Mismatched parentheses" and "No matching parenthesis found" _look_ pretty much like error messages from a compiler, or from a syntax-aware programming mode. They always make me wince. I suggest to change the message texts to clarify that no effort was taken to find out whether the mismatch is significant, like this: Note: no matching paren shown Would that be acceptable? I guess this bug can be merged with Bug#24299? --=20 Cheers, haj
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 07:14:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 02:14:56 2020 Received: from localhost ([127.0.0.1]:56368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmXD6-0002U0-1E for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:14:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmXD4-0002To-CM for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:14:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45097) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmXCz-0006Kq-7X; Tue, 08 Dec 2020 02:14:49 -0500 Received: from [2a02:14f:0:26a1::1] (port=35362) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmXCx-0005L5-Uq; Tue, 08 Dec 2020 02:14:48 -0500 Date: Tue, 08 Dec 2020 09:14:43 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <871rg0n58g.5.fsf@HIDDEN> References: <878sa8svfk.5.fsf@HIDDEN> <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> <87blf4n6ou.5.fsf@HIDDEN> <911065CD-1474-4C64-A4FC-D0C3E0CCBA43@HIDDEN> <871rg0n58g.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly To: =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> Message-ID: <43FB4B7D-2AE5-4C2A-8EBE-F18D550BEF47@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45114 Cc: 45114 <at> debbugs.gnu.org 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 (---) On December 8, 2020 9:09:51 AM GMT+02:00, "=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan = Jacobson" <jidanni@jidanni=2Eorg> wrote: > >>>>> "EZ" =3D=3D Eli Zaretskii <eliz@gnu=2Eorg> writes: > EZ> I see nothing special about regular expressions in this context=2E= =20 > Parens matching is useful there as well as anywhere else=2E >=20 > /[ >=20 > means we are entering characters that stand on their own, that _should > not be thought to match_ previous characters=2E >=20 > As I am entering the regexp, emacs should not tell me that >=20 > /[} >=20 > is wrong=2E I disagree=2E
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 07:10:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 02:10:03 2020 Received: from localhost ([127.0.0.1]:56364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmX8N-0002MY-9w for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:10:03 -0500 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:60854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1kmX8K-0002M3-F6 for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:10:01 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 61572481544; Tue, 8 Dec 2020 07:09:57 +0000 (UTC) Received: from pdx1-sub0-mail-a48.g.dreamhost.com (100-100-138-63.trex.outbound.svc.cluster.local [100.100.138.63]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C084D481646; Tue, 8 Dec 2020 07:09:56 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a48.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Tue, 08 Dec 2020 07:09:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Stretch-Absorbed: 7223e1e66b028403_1607411397011_1652749183 X-MC-Loop-Signature: 1607411397011:3093148931 X-MC-Ingress-Time: 1607411397011 Received: from pdx1-sub0-mail-a48.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTP id 6E1927F109; Mon, 7 Dec 2020 23:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=06h7QKCdRcLaTAJY/P2c/yru0d8=; b=NDbvHNZaunoCB ZVRDJGmcACpnKoqBL+e9Xd98ZODL51ik6F6ODfsHYZvi2XXNaqVx6V6G1CP3oI48 6ZbbvhRpYdzGZtO8c1sU6GrNuEVE7H4HirRCaX4pR7r0+Af0CykBMT54XeQd9hRw 8XAqAi3rwjd+y9fzyQLGIqbIQxoNQo= Received: from jidanni.org (114-41-10-214.dynamic-ip.hinet.net [114.41.10.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTPSA id D97B07E6A8; Mon, 7 Dec 2020 23:09:55 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a48 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly References: <878sa8svfk.5.fsf@HIDDEN> <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> <87blf4n6ou.5.fsf@HIDDEN> <911065CD-1474-4C64-A4FC-D0C3E0CCBA43@HIDDEN> Date: Tue, 08 Dec 2020 15:09:51 +0800 Message-ID: <871rg0n58g.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45114 Cc: 45114 <at> debbugs.gnu.org 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: -1.0 (-) >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 07:04:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 02:04:51 2020 Received: from localhost ([127.0.0.1]:56347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmX3L-0002DY-4m for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:04:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmX3J-0002DL-DE for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 02:04:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44989) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmX3D-0001yV-GY; Tue, 08 Dec 2020 02:04:43 -0500 Received: from [2a02:14f:0:26a1::1] (port=35346) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmX3C-0003kE-Gv; Tue, 08 Dec 2020 02:04:43 -0500 Date: Tue, 08 Dec 2020 09:04:37 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <87blf4n6ou.5.fsf@HIDDEN> References: <878sa8svfk.5.fsf@HIDDEN> <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> <87blf4n6ou.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly To: =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> Message-ID: <911065CD-1474-4C64-A4FC-D0C3E0CCBA43@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45114 Cc: 45114 <at> debbugs.gnu.org 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 (---) On December 8, 2020 8:38:25 AM GMT+02:00, "=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan = Jacobson" <jidanni@jidanni=2Eorg> wrote: > >>>>> "EZ" =3D=3D Eli Zaretskii <eliz@gnu=2Eorg> writes: >=20 > EZ> This is a well documented feature=2E If you don't like it, turn off > blink-matching-paren=2E >=20 > But that would ruin it outside of regular expressions too=2E I see nothing special about regular expressions in this context=2E Parens= matching is useful there as well as anywhere else=2E
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 06:38:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 01:38:34 2020 Received: from localhost ([127.0.0.1]:56339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmWdt-0001aI-UD for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:38:34 -0500 Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:32845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1kmWds-0001aA-OW for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:38:33 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7DAC0321794; Tue, 8 Dec 2020 06:38:31 +0000 (UTC) Received: from pdx1-sub0-mail-a48.g.dreamhost.com (100-96-27-97.trex.outbound.svc.cluster.local [100.96.27.97]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 16236320ECC; Tue, 8 Dec 2020 06:38:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a48.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Tue, 08 Dec 2020 06:38:31 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Trouble-Keen: 659a932b3d1f2009_1607409511324_2546565041 X-MC-Loop-Signature: 1607409511324:2990964356 X-MC-Ingress-Time: 1607409511324 Received: from pdx1-sub0-mail-a48.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTP id C07C78134A; Mon, 7 Dec 2020 22:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=a60R6zRVFnx/E5PmatPS1RuNHtk=; b=XQiCNJ3FeOhBk y3OJ3RGbfS5QxZb3TfZEB18Gd2IBB5GDCAFhY45n1pGtzcSViKGISU50bOtaAWmC P75wGVqkAnInu331c+7pmnkP3liGa7AdRNId9a3h43OXPZgBfI9DCvSrHc1ft7ZH rgo6JgOcLsU+ImmWk9ejvvs0NbsfpQ= Received: from jidanni.org (114-41-10-214.dynamic-ip.hinet.net [114.41.10.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTPSA id 30BC67E6A8; Mon, 7 Dec 2020 22:38:29 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a48 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly References: <878sa8svfk.5.fsf@HIDDEN> <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> Date: Tue, 08 Dec 2020 14:38:25 +0800 Message-ID: <87blf4n6ou.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45114 Cc: 45114 <at> debbugs.gnu.org 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: -1.0 (-) >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes: EZ> This is a well documented feature. If you don't like it, turn off blink-matching-paren. But that would ruin it outside of regular expressions too.
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at 45114) by debbugs.gnu.org; 8 Dec 2020 06:23:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 01:23:50 2020 Received: from localhost ([127.0.0.1]:56330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmWPe-00018f-Ey for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:23:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmWPR-000186-6D for 45114 <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:23:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44660) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmWPL-00018u-Hm; Tue, 08 Dec 2020 01:23:31 -0500 Received: from [2a02:14f:0:26a1::1] (port=35280) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmWPK-0001lB-8F; Tue, 08 Dec 2020 01:23:30 -0500 Date: Tue, 08 Dec 2020 08:23:25 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <878sa8svfk.5.fsf@HIDDEN> References: <878sa8svfk.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly To: bug-gnu-emacs@HIDDEN, =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN>, 45114 <at> debbugs.gnu.org From: Eli Zaretskii <eliz@HIDDEN> Message-ID: <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45114 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 (---) On December 8, 2020 7:45:03 AM GMT+02:00, "=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan = Jacobson" <jidanni@jidanni=2Eorg> wrote: > $ emacs file=2Epl # and start typing > if(/^[^}]/) =2E=2E=2E >=20 > During the process you will get spurious warnings about mismatched > parentheses etc=2E >=20 > emacs-version "27=2E1" This is a well documented feature=2E If you don't like it, turn off blink= -matching-paren=2E
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Dec 2020 06:23:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 01:23:50 2020 Received: from localhost ([127.0.0.1]:56328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmWPR-00018I-7e for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:23:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:33272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1kmWPM-000187-Fz for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 01:23:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmWPM-00010I-9I for bug-gnu-emacs@HIDDEN; Tue, 08 Dec 2020 01:23:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44660) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1kmWPL-00018u-Hm; Tue, 08 Dec 2020 01:23:31 -0500 Received: from [2a02:14f:0:26a1::1] (port=35280) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1kmWPK-0001lB-8F; Tue, 08 Dec 2020 01:23:30 -0500 Date: Tue, 08 Dec 2020 08:23:25 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <878sa8svfk.5.fsf@HIDDEN> References: <878sa8svfk.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#45114: perl-mode warns about mismatched parentheses wrongly To: bug-gnu-emacs@HIDDEN, =?UTF-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= <jidanni@HIDDEN>, 45114 <at> debbugs.gnu.org From: Eli Zaretskii <eliz@HIDDEN> Message-ID: <674E1471-A231-4336-89A1-AA6ED8EB8A33@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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: -1.0 (-) On December 8, 2020 7:45:03 AM GMT+02:00, "=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan = Jacobson" <jidanni@jidanni=2Eorg> wrote: > $ emacs file=2Epl # and start typing > if(/^[^}]/) =2E=2E=2E >=20 > During the process you will get spurious warnings about mismatched > parentheses etc=2E >=20 > emacs-version "27=2E1" This is a well documented feature=2E If you don't like it, turn off blink= -matching-paren=2E
bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Dec 2020 05:45:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 00:45:28 2020 Received: from localhost ([127.0.0.1]:56313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kmVoV-0008Vw-RP for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 00:45:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:46194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1kmVoT-0008Vn-At for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 00:45:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>) id 1kmVoN-0000yD-C1 for bug-gnu-emacs@HIDDEN; Tue, 08 Dec 2020 00:45:19 -0500 Received: from donkey.elm.relay.mailchannels.net ([23.83.212.49]:56002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>) id 1kmVoJ-00017Y-9L for bug-gnu-emacs@HIDDEN; Tue, 08 Dec 2020 00:45:19 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E75791019B8 for <bug-gnu-emacs@HIDDEN>; Tue, 8 Dec 2020 05:45:09 +0000 (UTC) Received: from pdx1-sub0-mail-a48.g.dreamhost.com (100-98-118-97.trex.outbound.svc.cluster.local [100.98.118.97]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 471BD101B4A for <bug-gnu-emacs@HIDDEN>; Tue, 8 Dec 2020 05:45:09 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a48.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Tue, 08 Dec 2020 05:45:09 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Bubble-Desert: 4dcab20c21a08d2f_1607406309746_164868827 X-MC-Loop-Signature: 1607406309746:2458443561 X-MC-Ingress-Time: 1607406309745 Received: from pdx1-sub0-mail-a48.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTP id 18CF881342 for <bug-gnu-emacs@HIDDEN>; Mon, 7 Dec 2020 21:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=1RMjdnqTYrVDqqPIiK5BqS0Oeoc=; b=CJNofOR5J30Iq5w5 8u3TSR5iJyUkHwDRR1J+iUyH7l3LVJ6Roivr4dnmq0Z0+fRVPYPoY3oNdYNlpTHC qNwAamx9dABW7S7QqaEij9AKcUJopAkX+er07UW+Og4b5GD/IxWSQNAtoDO1tdtj wONycGwMhs4fRl91E4I2ITUjpl0= Received: from jidanni.org (114-41-10-214.dynamic-ip.hinet.net [114.41.10.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a48.g.dreamhost.com (Postfix) with ESMTPSA id D78807F109 for <bug-gnu-emacs@HIDDEN>; Mon, 7 Dec 2020 21:45:06 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a48 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: perl-mode warns about mismatched parentheses wrongly Date: Tue, 08 Dec 2020 13:45:03 +0800 Message-ID: <878sa8svfk.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.212.49; envelope-from=jidanni@HIDDEN; helo=donkey.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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.4 (--) $ emacs file.pl # and start typing if(/^[^}]/) ... During the process you will get spurious warnings about mismatched parentheses etc. emacs-version "27.1"
積丹尼 Dan Jacobson <jidanni@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#45114
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.