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

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

Re: column-overflow-mode


From: Leo Liu
Subject: Re: column-overflow-mode
Date: Thu, 26 Dec 2013 09:50:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.1)

On 2013-12-25 21:03 +0800, isachin wrote:
> @Leo Liu
>
> (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.
[snipped 14 lines]

On 2013-12-25 21:08 +0800, Jambunathan K wrote:
[snipped 4 lines]
> I have the following in my .emacs
>
>     (custom-set-variables
>      '(whitespace-global-modes (quote (prog-mode)))
>      '(whitespace-line-column nil)
>      '(whitespace-style (quote (face lines-tail))))
>
>     (custom-set-faces
>       '(whitespace-line ((t (:background "gray90")))))
>
> I also rely on
>
>     M-x whitespace-toggle-options
>
> and turn on or off a specific whitespace option.

Interesting. Maybe the right thing for upstream is to extract that part
from whitespace.el and place it elsewhere.

Leo



reply via email to

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