From: "Drew Adams" <drew.adams@oracle.com>
To: "'Le Wang'" <l26wang@gmail.com>, <emacs-devel@gnu.org>
Subject: RE: unobstrusive way to show indentation
Date: Thu, 12 Jan 2012 08:39:35 -0800 [thread overview]
Message-ID: <C65FED8ED0FA42D68BC198B23F0953BF@us.oracle.com> (raw)
In-Reply-To: <CAM=K+ipdJ3FggDQ1=PeAqx6spOKiXOYCf83z9qjOCn42TRVr8Q@mail.gmail.com>
> 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.
>
> I guess it can be faked by changing the face of that column,
> but that would be more obstrusive than a thin line. Maybe
> there is another solution I haven't thought of?
>
http://stackoverflow.com/questions/8836336/sublime-text-2-like-block-highlightin
g-in-emacs
It's not quite the same thing, but you get a similar benefit from the features
mentioned here:
http://www.emacswiki.org/emacs/HighlightCurrentColumn
http://www.emacswiki.org/emacs/VlineMode
Vline can use a thin line (or a face). Column-marker highlighting stays put
(doesn't move with the cursor), and you can highlight any number of columns, but
it uses a face, not a thin line.
next prev parent reply other threads:[~2012-01-12 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-12 16:10 unobstrusive way to show indentation Le Wang
2012-01-12 16:12 ` Le Wang
2012-01-12 16:39 ` Drew Adams [this message]
2012-01-13 3:31 ` Tim Connors
2012-01-12 16:35 ` Stephen J. Turnbull
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C65FED8ED0FA42D68BC198B23F0953BF@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=l26wang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.