Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'read.': 0.03; 'variables': 0.07; 'bits': 0.09; 'highlighting': 0.09; 'subset': 0.09; 'undefined': 0.09; 'variables.': 0.09; 'cc:addr:python-list': 0.11; 'useful,': 0.14; 'background,': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'highlight': 0.16; 'identifiers,': 0.16; 'subject:program': 0.16; 'sender:addr:gmail.com': 0.17; 'code.': 0.18; 'coding': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'supported': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'used,': 0.33; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'subject:?': 0.36; 'skip:u 10': 0.60; 'color': 0.61; 'different': 0.65; 'direct': 0.67; 'to,': 0.72; 'capability': 0.84; 'confusing': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Fffat9DDtjAfmO/Twxsd7lKJWqdp08/msmlMQjgIPXE=; b=r1Uc3XC04DcGPeaVsEfwAjvfTqS+iusJfLPqliu2HJWiUAHiHlV7zU5APBvw9HLx63 F87R7ldRdjoyNEh1AwGlR8IWO1ljvgqT8a2GTbI8TQX484fukO0A1dxhY0ZMZBRqX64r DD5IQFgCgu62MXoJi3eVKg9wxrrTgN9eM35C7esK0kE02M3E1iq85iVa5mMrrVgftYKN qUD9OFbraAVW7sKGK995aPJpgtCdpmOoMOsXX2mgeKS7hjjCxSy/icMyKdz31X08bzH9 6vHnyVYcxUQ8Jmw0sqJqmlDIo42gnr6DA94RLfUEzVaR4C4deUZ+IYAt02HwNzAvhDGh yKcg== MIME-Version: 1.0 X-Received: by 10.50.138.72 with SMTP id qo8mr15096583igb.8.1390787203417; Sun, 26 Jan 2014 17:46:43 -0800 (PST) Sender: skip.montanaro@gmail.com In-Reply-To: References: Date: Sun, 26 Jan 2014 19:46:43 -0600 X-Google-Sender-Auth: mJwHCewA9QyGTJHXhbqrCyRX0Sg Subject: Re: Highlighting program variables instead of keywords? From: Skip Montanaro To: Terry Reedy Content-Type: text/plain; charset=UTF-8 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390787615 news.xs4all.nl 2874 [2001:888:2000:d::a6]:41625 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64814 > What it is doing is color coding user-supplied identifiers, with different > color for each one. I found that confusing to read. I think it would take some time to get used to, and I don't think it would be the only way I'd like to view my program. I think an interactive pylint (or pyflakes or frosty) type capability would be useful, highlighting a subset of the messages it produces, like variables which were assigned but never used, or using undefined variables. It might be best supported by actually running the checker in the background, then using its messages to direct where to highlight suspect bits of code. Skip