[Gazpacho] Emacs and trailing whitespace
Johan Dahlin
jdahlin at async.com.br
Sun Jan 15 16:34:55 CET 2006
Hi fellow hackers
I just committed a quite big patch to remove trailing whitespace in all
python files.
It's kinda annoying, since they tend to show up in patches.
In emacs, if you add this to your .emacs you'll see a big red block in
all places where there
are trailing whitespaces:
(mapc (lambda (hook)
(add-hook hook (lambda ()
(setq show-trailing-whitespace t))))
'(python-mode-hook))
To remove all whitespace in a buffer, just type M-x delete-trailing-whitespace
Could all emacs users please add this so we can keep them from creeping in again?
Cheers
Johan
More information about the Gazpacho
mailing list