gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: column-overflow-mode


From: Óscar Fuentes
Subject: Re: column-overflow-mode
Date: Wed, 25 Dec 2013 15:38:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

isachin <address@hidden> writes:

> (require 'whitespace)
> (setq whitespace-line-column 80) ;; limit line length
> (setq whitespace-style '(face lines-tail))
> (add-hook 'prog-mode-hook 'whitespace-mode)
> (global-whitespace-mode +1)
>
> will do the trick.

For me the above highlights all text on the line starting with the 80th
character. Leo's mode highlights just the 80th character. IMO the later
is more pleasant to the eye.

There are some modes on the Emacs Wiki for doing the same, but in my
experience (from a few years ago) they all suffer from serious issues
(bad performance, display artifacts, interactions with other modes...)
Leo's approach seems promising.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]