From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41684: [PATCH] Highlight typed variables in python Date: Sat, 13 Jun 2020 10:35:34 +0300 Message-ID: <83ftaz4dvd.fsf@gnu.org> References: <20200603115103.69611-1-Hi-Angel@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="85544"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41684-done@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 13 09:36:09 2020 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 1jk0i1-000MAB-9E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 09:36:09 +0200 Original-Received: from localhost ([::1]:34816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk0i0-0000uj-AL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jun 2020 03:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk0hu-0000sc-6J for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 03:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jk0ht-0003cE-TK for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 03:36:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jk0ht-0006cx-QF for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2020 03:36:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2020 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41684 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 41684@debbugs.gnu.org, eliz@gnu.org, Hi-Angel@yandex.ru Original-Received: via spool by 41684-done@debbugs.gnu.org id=D41684.159203375125453 (code D ref 41684); Sat, 13 Jun 2020 07:36:01 +0000 Original-Received: (at 41684-done) by debbugs.gnu.org; 13 Jun 2020 07:35:51 +0000 Original-Received: from localhost ([127.0.0.1]:40781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk0hj-0006cT-Bj for submit@debbugs.gnu.org; Sat, 13 Jun 2020 03:35:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk0hi-0006cC-5X for 41684-done@debbugs.gnu.org; Sat, 13 Jun 2020 03:35:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54168) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk0hc-0003ac-DF; Sat, 13 Jun 2020 03:35:44 -0400 Original-Received: from [176.228.60.248] (port=3564 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jk0hb-00040b-Ny; Sat, 13 Jun 2020 03:35:44 -0400 In-Reply-To: <20200603115103.69611-1-Hi-Angel@yandex.ru> (message from Konstantin Kharlamov on Wed, 3 Jun 2020 14:51:03 +0300) 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:181903 Archived-At: > From: Konstantin Kharlamov > Date: Wed, 3 Jun 2020 14:51:03 +0300 > > * progmodes/python.el (python-font-lock-keywords-maximum-decoration): > recognize typed variables like "foo: int = 1" as well. > --- Thanks, I installed this on the master branch. For the future, please note a couple of minor stylistic nits: . it is better to submit patches in "git format-patch" format, as that makes it easier to apply the patch . the description in the log message should start with a capital letter after the function's name . if a comment or a code line exceeds 80 columns, break them into several lines