From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 18:30:22 2022 Received: (at submit) by debbugs.gnu.org; 11 Mar 2022 23:30:22 +0000 Received: from localhost ([127.0.0.1]:38709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSoiE-0000mG-49 for submit@debbugs.gnu.org; Fri, 11 Mar 2022 18:30:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:49710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSoiB-0000m8-Rv for submit@debbugs.gnu.org; Fri, 11 Mar 2022 18:30:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSoiB-0008Ls-J2 for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2022 18:30:19 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSoi9-0002HB-Lv for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2022 18:30:19 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9ACBC5C024D for ; Fri, 11 Mar 2022 18:30:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 11 Mar 2022 18:30:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fosskers.ca; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; bh=+ /6h1R2Kqk3/TqUs6WWndEDLfbJrCTExR1JCXgLVd+o=; b=eAdPbvATWUDq69R3z 3zclbToWYKRdqCjTv6RFKAM2ZMq30TkvShnV0mwPVgxXnXo1ZsllXGkkCwPeEaaE otZJYo9ds+w5qMwTgMLwMd0U1UgwGQl/RGmE4CCEgErvh1d3OGQKK4o4IcHTlyQR RyS1Qs6+qdQ3fiiHFhDobNchj1yfF0n5zUvTjiM6BDF3d8i18fl9YF7I+KP1xUxt vtOQbzfoNjDbM5bJn3gNC2ZTRupJh0hJoA4NVZftALED0FmtQ67nxD/GBwruPH2k jnXFTz+7omQO+lwUMWbUnTX9V2EOXVdVElEMqKyCVhrFst9jKv3hMOBkx9x/DoGj drs/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=+/6h1R2Kqk3/TqUs6WWndEDLfbJrCTExR1JCXgLVd +o=; b=feDgj2tftccrX7rwhKY7RkM5BUcp+2Owh6psbuhw0q8sL/myVoAJO8DJ4 0gA9sX8zSjQdRl1YpePQVn5YN38Gf8n4VWWTrJ6932wyZfGAeeqsGM2+Wbj8LqCf 465DWJrduA8NfjZKeAb6Rh4LlZaL2lOqiUcWhaCM6JPIezfZMNHwyg6qQCqLCaMU liePWM5wP/2alGZhj0UeeKgnM7F8eIkaVfDfF5SReiDlGtquPQ81rGfjJSl19JVZ n8DETFLPaWuh7UQ/s6M0MUADqS9tvum92BXab/wgJZf9iEaPvptgxgjvIswfGZgS 09kc+7aSaYOXBUE8EBBarI3jEp3Bg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddvfedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuffgfkfggtgesmhdtreertd erjeenucfhrhhomhepveholhhinhcuhghoohgusghurhihuceotgholhhinhesfhhoshhs khgvrhhsrdgtrgeqnecuggftrfgrthhtvghrnhepudetveffhefhueeutdejleeffeeuvd eghfejhfduffeuffektdfftdegffevgfejnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheptgholhhinhesfhhoshhskhgvrhhsrdgtrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 11 Mar 2022 18:30:15 -0500 (EST) From: Colin Woodbury To: bug-gnu-emacs@gnu.org Subject: [PATCH] Account for new Python 3.10 keywords Date: Fri, 11 Mar 2022 15:28:30 -0800 User-agent: mu4e 1.6.10; emacs 29.0.50 Message-ID: <87tuc42hkq.fsf@fosskers.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=66.111.4.25; envelope-from=colin@fosskers.ca; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline I noticed these keywords unhighlighted even on `master`, and this patch fixes that. Cheers, Colin --==-=-= Content-Type: text/html Content-Disposition: inline

I noticed these keywords unhighlighted even on `master`, and this patch fixes that.

Cheers,

Colin

--==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-progmodes-python.el-Account-for-new-keywords.patch >From a20b88001800a89821680ce6b93eb7aed887f325 Mon Sep 17 00:00:00 2001 From: Colin Woodbury Date: Fri, 11 Mar 2022 15:17:12 -0800 Subject: [PATCH] * lisp/progmodes/python.el: Account for new keywords. As of Python 3.10, Python has structured pattern matching. This adds two new keywords which need to be highlighted. --- lisp/progmodes/python.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d83290fe45..c4d8b123a8 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -563,6 +563,8 @@ class declarations.") ;; Python 3.5+ PEP492 (and "async" (+ space) (or "def" "for" "with")) "await" + ;; Python 3.10+ + "match" "case" ;; Extra: "self") symbol-end) -- 2.35.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 12:47:19 2022 Received: (at 54345) by debbugs.gnu.org; 12 Mar 2022 17:47:19 +0000 Received: from localhost ([127.0.0.1]:40767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5pn-0001uA-Gb for submit@debbugs.gnu.org; Sat, 12 Mar 2022 12:47:19 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5pm-0001tv-2F for 54345@debbugs.gnu.org; Sat, 12 Mar 2022 12:47:18 -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=RL9ZITWk030FinK3JPnV8ati/oK8JTAOs4ULWOMwJm8=; b=pCmg2q13hsKZNLktfSLX+eNVVz Etd5JtMJ9WynBYfPAjfwZRFQIcWN9s5sj3ElDbq2BE1su5ecaxmvUCljPoKwLaq2R4SAh8HjB4rTr X3fWKvN7GzLJjBdduRUhvJcZ6wbDaScMXf5iDKS+IUFNxlQZb4A1H3ZSoADXEF9JzOPQ=; 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 ) id 1nT5pb-0001sT-BW; Sat, 12 Mar 2022 18:47:11 +0100 From: Lars Ingebrigtsen To: Colin Woodbury Subject: Re: bug#54345: [PATCH] Account for new Python 3.10 keywords References: <87tuc42hkq.fsf@fosskers.ca> Date: Sat, 12 Mar 2022 18:47:05 +0100 In-Reply-To: <87tuc42hkq.fsf@fosskers.ca> (Colin Woodbury's message of "Fri, 11 Mar 2022 15:28:30 -0800") Message-ID: <87mthvysfa.fsf@gnus.org> 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: Colin Woodbury writes: > I noticed these keywords unhighlighted even on `master`, and this patch fixes that. Thanks; pushed to Emacs 29. 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-Debbugs-Envelope-To: 54345 Cc: 54345@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: -3.3 (---) Colin Woodbury writes: > I noticed these keywords unhighlighted even on `master`, and this patch fixes that. Thanks; pushed to Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 12 12:47:26 2022 Received: (at control) by debbugs.gnu.org; 12 Mar 2022 17:47:26 +0000 Received: from localhost ([127.0.0.1]:40770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5pt-0001uU-Mj for submit@debbugs.gnu.org; Sat, 12 Mar 2022 12:47:25 -0500 Received: from quimby.gnus.org ([95.216.78.240]:51462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT5pr-0001u3-KH for control@debbugs.gnu.org; Sat, 12 Mar 2022 12:47:23 -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=69rKhIrP73l5aC7jPMwii4Q66JUzSjUz2yvp6E8Xvhs=; b=lkIugZ98fzP1nWFaR0aiPFnNnT 8tA8oOu+a3CKV1/CuiyL+4SHeap9QEE5ATwNVbfWsAdVsdPsUWuNoa7BDKpKh2qHEm10TZgL4zyVF 4RPqLO7iXxzYz/KSca/SrCJLKqacGd/k6FkwxXpcv04rJ4ebHu0NPKZj8JVHRWETi1MU=; 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 ) id 1nT5pk-0001sZ-0T for control@debbugs.gnu.org; Sat, 12 Mar 2022 18:47:17 +0100 Date: Sat, 12 Mar 2022 18:47:13 +0100 Message-Id: <87lexfysf2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54345 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: close 54345 29.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: -2.3 (--) 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: -3.3 (---) close 54345 29.1 quit From unknown Wed Jun 18 23:04:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Apr 2022 11:24:06 +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