This question already has an answer here:
global-whitespace-mode with a particular
whitespace-style as a default for all modes. How can I disable
whitespace-mode completely for a single mode, eg. incoming email?
I tried the following, but I still get all the default whitespace styles when looking at incoming email.
(global-whitespace-mode) (setq whitespace-style '(face trailing lines tabs big-indent)) (add-hook 'rmail-mode-hook '(whitespace-mode 0))