Google search brought up show whitespace-mode. Haven't tried it myself.
Hemal Pandya
2009-02-20 09:42:13
Google search brought up show whitespace-mode. Haven't tried it myself.
Use "M-:" (M-x eval-expression) and enter the following expression:
(let ((d (make-display-table))) (aset d 9 (vector ?> ?>)) (set-window-display-table nil d))
To get back to normal enter:
(set-window-display-table nil nil)
EDIT: Just realized that blank-mode is superseded by whitespace. Load this and customize whitespace-style
to at least contain tabs
and tabs-mark
. I currently have:
(setq whitespace-style '(trailing tabs newline tab-mark newline-mark))
There is also blank-mode which allows you to achive what you want and it gives you some nice functions to cleanup the whitespace to your likings: http://www.emacswiki.org/emacs/BlankMode
Cheers, Daniel