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 _______________________________________________ gnu-emacs-sources mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
