Hide Forgot
Created attachment 548437 [details] whitespace_test.txt which can be used to reproduce problem. Description of problem: The whitespace-mode in emacs seems broken in emacs 23.3.1. The mode is supposed to highlight trailing whitespace and other whitespace issues, but no highlighting happens in recent emacs releases. Version-Release number of selected component (if applicable): 23.3.1 How reproducible: 100 % Steps to Reproduce: 1. Run "emacs -q whitespace_test.txt". whitespace-test.txt is attached to this bug. 2. Evaluate the lisp code in the file (M-x eval-buffer) 3. Whitespace in the file should be highlighted. Actual results: No whitespace highlighting happens. Expected results: Whitespace problems should be highlighted. Additional info: Screenshots are attached showing the expected behaviour (using emacs 23.2.1) and the faulty behaviour (emacs 23.3.1).
Created attachment 548438 [details] Screenshot showing whitespace-mode working in emacs 23.2.1
Created attachment 548439 [details] Screenshot showing broken whitespace-mode in emacs 23.3.1
You now need to include 'face' in whitespace-style: (setq whitespace-style (quote (face trailing lines space-before-tab empty space-after-tab)))
Thanks Stephen, I didn't read the documentation carefully enough after upgrading emacs.