Re: 80-column marker minor mode?
- From: Teemu Likonen <tlikonen@xxxxxx>
- Date: Thu, 13 Aug 2009 08:58:20 +0300
On 2009-08-12 10:15 (+0200), Sebastian Waschik wrote:
Paul Miller <neokosmos@xxxxxxxxx> writes:
I'm currently using GNU Emacs 23.0.91.1 with the GTK interface (GTK+
Version 2.16.0). What I'm looking for is a minor mode that will
display a vertical line that marks the 80th (or whichever) column so
I have a simple visual cue when my lines are getting a bit long.
is it enough to mark all long lines? Then hi-lock-mode might help
you. Try the following:
(highlight-regexp "^.\\{81,\\}$")
That, too, can be done with the new whitespace-mode:
(let ((whitespace-line-column 80) ;80 is the default
(whitespace-style '(lines-tail))) ;or '(lines) for the whole line
(whitespace-mode 1))
.
- References:
- 80-column marker minor mode?
- From: Paul Miller
- Re: 80-column marker minor mode?
- From: Sebastian Waschik
- 80-column marker minor mode?
- Prev by Date: Re: 80-column marker minor mode?
- Next by Date: Re: New Features in Emacs 23
- Previous by thread: Re: 80-column marker minor mode?
- Next by thread: AUCTeX printing problem
- Index(es):
Relevant Pages
|