From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Chapel Newsgroups: gmane.emacs.bugs Subject: bug#8639: 23.2; emacs python mode should colorize nonlocal keyword Date: Fri, 13 May 2011 08:29:30 -0400 Message-ID: <4DCD242A.5050807@umich.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305289818 14120 80.91.229.12 (13 May 2011 12:30:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 May 2011 12:30:18 +0000 (UTC) Cc: 8639@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 13 14:30:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QKrVS-0001iq-42 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2011 14:30:10 +0200 Original-Received: from localhost ([::1]:35317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKrVR-0004Iq-71 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2011 08:30:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:32880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKrVN-0004FD-I2 for bug-gnu-emacs@gnu.org; Fri, 13 May 2011 08:30:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKrVM-0002Jy-Iq for bug-gnu-emacs@gnu.org; Fri, 13 May 2011 08:30:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKrVM-0002Iv-GK for bug-gnu-emacs@gnu.org; Fri, 13 May 2011 08:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QKrVK-0002Bp-WF; Fri, 13 May 2011 08:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Chapel Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2011 12:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8639-submit@debbugs.gnu.org id=B8639.13052897848377 (code B ref 8639); Fri, 13 May 2011 12:30:02 +0000 Original-Received: (at 8639) by debbugs.gnu.org; 13 May 2011 12:29:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKrV1-0002B4-Ss for submit@debbugs.gnu.org; Fri, 13 May 2011 08:29:44 -0400 Original-Received: from smtp.mail.umich.edu ([141.211.14.82] helo=hellskitchen.mr.itd.umich.edu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKrUz-0002Ar-MF for 8639@debbugs.gnu.org; Fri, 13 May 2011 08:29:42 -0400 Original-Received: FROM laptop.stevechapel.com (stevechapel.com [69.11.220.126]) By hellskitchen.mr.itd.umich.edu ID 4DCD242F.15B4A.13720 ; Authuser schapel; 13 May 2011 08:29:35 EDT User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 13 May 2011 08:30:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46445 Archived-At: On 05/11/2011 06:13 PM, Juanma Barranquero wrote: > On Mon, May 9, 2011 at 00:56, Steve Chapel wrote: > >> When editing a Python source file, the nonlocal keyword is not colorized >> as are other keywords. > It's easy to fix (see below), but "nonlocal" is a Python 3.X keyword, > and python-mode does not really support Python 3 at this point, so I > suppose that's not the only inconvenience you find when editing Python > 3 code. I've programmed thousands of lines of Python 3 code over the past year, nearly exclusively in emacs, and this is the only problem I've noticed. Perhaps there are others I'm not aware of. Thanks for the patch! -- Steve