On Mar 09, 2011, at 10:24 PM, Andreas Röhler wrote: >just seeing highlight-indentation by Anton Johansson - thanks a lot to him >BTW - which I suggest to include into next release. > >It delivers graphical bars indicating the indent-level, makes em more >impressive. Might be useful in certain circumstances.
Hi Andreas, Anton, Indeed, I agree that this could be very useful in some situations. It can be a little distracting, so it probably should not be turned on by default, but for those cases where the indentation is really hard to follow, I think this could be a very nice addition. Is this file going to be added to Emacs? It seems more general than just for Python (e.g. turn it on in python-mode.el). One minor nit: I wonder if it makes sense to highlight columns that are not in the leading whitespace. For example, turn it on and look at the define-key lines starting at about line 845 in python-mode.el. There are some highlighted indentation extents after the "\C-c:" string. Those don't seem useful. Thanks for pointing it out, and thanks to Anton for writing it. Cheers, -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode