From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 06:11:35 2020 Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 11:11:35 +0000 Received: from localhost ([127.0.0.1]:40363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kco2J-0006Sr-F8 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 06:11:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:45830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kco2H-0006Sk-H7 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 06:11:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kco2H-00052E-CZ for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 06:11:33 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:42213) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kco2E-0003GG-Ae for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 06:11:33 -0500 Received: by mail-ed1-x535.google.com with SMTP id v22so1835842edt.9 for ; Wed, 11 Nov 2020 03:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=4JrSLLviSziggjgv9EdgQTT8ShtWeGGvjxQg4IouxP0=; b=CFrxgGmR1TGFFzPd/kzTRSGFsVut7PkxxSmIjSvw/C7kujht+TCJYCP0G2iEhPcGaf cCbstmV485cygLp1SV4FbxETTfGw4F6pFYE7Q+orpJRgEkRkzVlKE1oRWXl8y7HpZfKi oYVD5606q/Nu1LMcWp9yztXS3M6i9CY8o0BpESi2pxDoa4Ogjq4OP38X7PisxZpgMtvn eApneDTbcqg0MkHbE2bpieU86U2cLn8gXNmt3Jreb+1M5sMS0Ah1VuhI0sYQBkT5CFGu Dy2Z9+LE3uEPmempTDAxkuqAKThVun7U1m4gw8n/IPDkTCfQqNzUsthu0d1uJKLY3HG/ Pahg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=4JrSLLviSziggjgv9EdgQTT8ShtWeGGvjxQg4IouxP0=; b=hWshTAKctZmcCaowa3TXIzwHLjxwe5iPNdITHJrKFuEUSNgk0RUgIfifx7ID/rmBBQ MuUnZk5E7BjUP6NMz1+ljlPBdqPV1u8UvyDiPmpo0iumHrBfvfwjnVtNMPrLpZG63ey8 D3Ioaeh1PpM41YPLH3ZIHNplTFrfNpsObrbG1Qooa0BBUiGdwJh0/TaonXib95yUclpF T5S3eKlY0GFlpk7S3ijybLYydoZIW03+mKWdaP5I5ebS/tURSX03TUPTmzo2fiUtob8q 0x9uJ40y1ypOigLIznoyOx6MNQPkFQRQoUtfKSX7zVWMPV+g09HV6hMyEuotJDQ2bG2Y gijQ== X-Gm-Message-State: AOAM533wwXkoSnxFxc7UQYjOn28+y5bYPNEo3tj4HhcHjLH3UYVKCGsi XJNeMDGc2cny0ivDXfgwbiwKkMWtX1s= X-Google-Smtp-Source: ABdhPJzKX2HIrKxhPfcmhbkOcSVI6WdbqqV72ZmEd3LKzmE7k604jzxGBErLNv5Edtyib0fj4/KktQ== X-Received: by 2002:a50:e08e:: with SMTP id f14mr25479491edl.374.1605093088577; Wed, 11 Nov 2020 03:11:28 -0800 (PST) Received: from ZALANDO-31298 (p200300e97714b99f94edb9140dbef460.dip0.t-ipconnect.de. [2003:e9:7714:b99f:94ed:b914:dbe:f460]) by smtp.gmail.com with ESMTPSA id k23sm711384ejs.100.2020.11.11.03.11.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Nov 2020 03:11:27 -0800 (PST) From: Dario Gjorgjevski To: bug-gnu-emacs@gnu.org Subject: [PATCH] Fix regression from 296e4dd Date: Wed, 11 Nov 2020 12:11:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=dario.gjorgjevski@gmail.com; helo=mail-ed1-x535.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =E2=80=98symbol-name=E2=80=99 should not be quantified by a =E2=80=98+=E2= =80=99 as it is redundant and performs very badly. Sorry for the mishap! --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-Fix-regression-from-296e4dd.patch Content-Transfer-Encoding: quoted-printable Content-Description: Fix regression from 296e4dd >From e8b6bdff94a4c997eabc332b39a9d009762ae247 Mon Sep 17 00:00:00 2001 From: Dario Gjorgjevski Date: Wed, 11 Nov 2020 12:07:04 +0100 Subject: [PATCH] Fix regression from 296e4dd MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit =E2=80=98symbol-name=E2=80=99 should not be quantified by a =E2=80=98+=E2= =80=99 as it is redundant and performs very badly. --- lisp/progmodes/python.el | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eb84b494e3..a179318589 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -662,14 +662,11 @@ python-font-lock-keywords-maximum-decoration ;; assignments ;; support for a =3D b =3D c =3D 5 (,(lambda (limit) - (let ((re (python-rx (group (+ symbol-name)) - (? ?\[ (+ (not ?\])) ?\]) - (* space) - ;; A type, like " : int ". - (? ?: - (* space) - (+ not-simple-operator) - (* space)) + (let ((re (python-rx (group symbol-name) + ;; subscript, like "[5]" + (? ?\[ (+ (not ?\])) ?\]) (* space) + ;; type hint, like ": int" or ": Mapping[int,= str]" + (? ?: (* space) (+ not-simple-operator) (* sp= ace)) assignment-operator)) (res nil)) (while (and (setq res (re-search-forward re limit t)) @@ -679,9 +676,9 @@ python-font-lock-keywords-maximum-decoration (1 font-lock-variable-name-face nil nil)) ;; support for a, b, c =3D (1, 2, 3) (,(lambda (limit) - (let ((re (python-rx (group (+ symbol-name)) (* space) - (* ?, (* space) (+ symbol-name) (* space)) - ?, (* space) (+ symbol-name) (* space) + (let ((re (python-rx (group symbol-name) (* space) + (* ?, (* space) symbol-name (* space)) + ?, (* space) symbol-name (* space) assignment-operator)) (res nil)) (while (and (setq res (re-search-forward re limit t)) --=20 2.28.0 --=-=-= Content-Type: text/plain Best regards, Dario -- $ keyserver=hkps://hkps.pool.sks-keyservers.net $ keyid=744A4F0B4F1C9371 $ gpg --keyserver $keyserver --search-keys $keyid --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 06:28:41 2020 Received: (at 44572) by debbugs.gnu.org; 11 Nov 2020 11:28:41 +0000 Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcoIr-0006yu-LI for submit@debbugs.gnu.org; Wed, 11 Nov 2020 06:28:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcoIp-0006ye-SD for 44572@debbugs.gnu.org; Wed, 11 Nov 2020 06:28:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=jmRfFWCZcHkYpARiPSN9q5p+zRhGOYsvmb7Ig3D9tuo=; b=YV5aPbRkw9LZRCXOqO87ZRkgTq OLBoKQGdJ64Md8ojqCfdvBZKntEJR+aEgRHctRKAWHJb0Ai9NRML1MN+PKJvrNsbnLPIqBJMMPltc lj8PZVMo5e0BihXL21QvKhjJiNCAt5BJeJhjZg4bWNuzdCrgCsBWjST9A89J76Pg+o/g=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcoIh-0001BS-2P; Wed, 11 Nov 2020 12:28:33 +0100 From: Lars Ingebrigtsen To: Dario Gjorgjevski Subject: Re: bug#44572: [PATCH] Fix regression from 296e4dd References: X-Now-Playing: KiTsuNe and Brian the Fox's _The Future Eve_: "(untitled)" Date: Wed, 11 Nov 2020 12:28:29 +0100 In-Reply-To: (Dario Gjorgjevski's message of "Wed, 11 Nov 2020 12:11:26 +0100") Message-ID: <875z6cceua.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Dario Gjorgjevski writes: > ‘symbol-name’ should not be quantified by a ‘+’ as it is redundant and > performs very badly. > > Sorry for the mishap! No prob; pushed to the trunk. 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: 0.0 (/) X-Debbugs-Envelope-To: 44572 Cc: 44572@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dario Gjorgjevski writes: > =E2=80=98symbol-name=E2=80=99 should not be quantified by a =E2=80=98+=E2= =80=99 as it is redundant and > performs very badly. > > Sorry for the mishap! No prob; pushed to the trunk. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 07:44:11 2020 Received: (at control) by debbugs.gnu.org; 12 Nov 2020 12:44:11 +0000 Received: from localhost ([127.0.0.1]:43914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdBxT-00061u-9V for submit@debbugs.gnu.org; Thu, 12 Nov 2020 07:44:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:48498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdBxR-00061i-Mf for control@debbugs.gnu.org; Thu, 12 Nov 2020 07:44:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=93iYtVO+dVwRoPXvTttlNKYHmQRsr0VTk8+EoM4k6mw=; b=bl80Bz32oYyL7iZReMEI+ra/D4 vDGMAV133rH23SB1jU+26VjSrmNArA1e5S4yYlKJUpK3FsuZAMM40y1G3TLBLPsM4UFKB4Hov4YjR qacKJgqlmg635ZV2v4YqbwG6u/8RyRuIo0IIIuvAK9R1nO6uG0O2T8StnIi41sH38HJo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdBxJ-000108-WF for control@debbugs.gnu.org; Thu, 12 Nov 2020 13:44:04 +0100 Date: Thu, 12 Nov 2020 13:44:00 +0100 Message-Id: <87y2j6agof.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44572 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: tags 44572 fixed close 44572 28.1 quit 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: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 44572 fixed close 44572 28.1 quit From unknown Fri Jun 20 07:23:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Dec 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator