Re: [Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-27 Thread Andrew V. Uzilov
On Sun, Sep 25, 2011 at 10:20 PM, Andreas Röhler andreas.roeh...@online.de wrote: Am 25.09.2011 22:31, schrieb Barry Warsaw: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sep 25, 2011, at 06:58 PM, Georg Brandl wrote: if anything is highlighted, then it should be only locals at

[Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andreas Röhler
Hi folks, possibility of highlighting variable name is a new feature in the trunk. It's not clear however, in which circumstances variable should get highlighted -if at all. Also might drop that, should it not be considered useful. Would be nice to get some comments before a release.

[Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andrew V. Uzilov
Since I opened the ticket that led to this, I'll weight in. I was quite happy to see variable name highlighting as a new feature, but I would like to see it used only in assignments. I find it convenient to have a visual cue that tells me when names are rebound. In many cases it homes me in on

Re: [Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sep 25, 2011, at 06:58 PM, Georg Brandl wrote: if anything is highlighted, then it should be only locals at assignment. Highlighting other assignments gets much too messy on the eyes (and if you start highlighting variable (no such thing in

Re: [Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andreas Röhler
Am 25.09.2011 22:31, schrieb Barry Warsaw: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sep 25, 2011, at 06:58 PM, Georg Brandl wrote: if anything is highlighted, then it should be only locals at assignment. Highlighting other assignments gets much too messy on the eyes (and if you