[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: unobstrusive way to show indentation
From: |
Tim Connors |
Subject: |
RE: unobstrusive way to show indentation |
Date: |
Fri, 13 Jan 2012 14:31:53 +1100 (EST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Thu, 12 Jan 2012, Drew Adams wrote:
> > How difficult would it be to implement some way to show
> > indentation levels in an unobstrusive way? Sublime text
> > and other modern editors do this by drawing a thin
> > vertical line down from (back-to-indentation). I find it
> > really helpful when reading code. This stackoverflow
> > question clarifies what I'm after, although I didn't ask it.
> > I find this really helpful when reading a piece of code
> > with many block levels, especially since the standard
> > indentation level for ruby is 2 spaces.
...
> http://stackoverflow.com/questions/8836336/sublime-text-2-like-block-highlightin
> g-in-emacs
...
> http://www.emacswiki.org/emacs/HighlightCurrentColumn
> http://www.emacswiki.org/emacs/VlineMode
...
Thanks. Found vline a bit slow though - slowed down cursor movement a lot
despite adjusting timer values (which seemed to be ignored - but maybe I
was meant to touch them before initialising the library). But
col-highlight is neat enough.
Looks like sublime does it quite nicely. I wonder if someone with more
elisp-fu than myself wants to go ahead and try to reproduce it :)
--
Tim Connors