GNU bug report logs - #11931
Coloring problem with Python variables

Previous Next

Package: emacs;

Reported by: Alireza Pc <afterpc <at> yahoo.com>

Date: Fri, 13 Jul 2012 08:43:02 UTC

Severity: normal

Fixed in version 24.1.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Alireza Pc <afterpc <at> yahoo.com>
Cc: 11931 <at> debbugs.gnu.org
Subject: bug#11931: Coloring problem with Python variables
Date: Fri, 13 Jul 2012 10:55:06 +0200
Alireza Pc <afterpc <at> yahoo.com> writes:

> It's an small problem with python files. For example:
>
> var1 = "variable 1"
> def main():
>     var2 = "variable 2"
>
> Look at var1 and var2. var1 is brown, but var2 is white.

I can reproduce that with Emacs 24.1 (var2 has `default' face), but it
seems to have been already fixed in the emacs bzr trunk, where both
variables are fontified with `font-lock-variable-name-face'.

Bye,
Tassilo




This bug report was last modified 12 years and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.