Bug 768776 - whitespace-mode broken in emacs 23.3.1
Summary: whitespace-mode broken in emacs 23.3.1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 15
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-18 19:45 UTC by robho
Modified: 2013-03-03 23:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-18 19:47:34 UTC
Type: ---


Attachments (Terms of Use)
whitespace_test.txt which can be used to reproduce problem. (163 bytes, text/plain)
2011-12-18 19:45 UTC, robho
no flags Details
Screenshot showing whitespace-mode working in emacs 23.2.1 (49.04 KB, image/png)
2011-12-18 19:46 UTC, robho
no flags Details
Screenshot showing broken whitespace-mode in emacs 23.3.1 (96.79 KB, image/png)
2011-12-18 19:47 UTC, robho
no flags Details

Description robho 2011-12-18 19:45:17 UTC
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).

Comment 1 robho 2011-12-18 19:46:40 UTC
Created attachment 548438 [details]
Screenshot showing whitespace-mode working in emacs 23.2.1

Comment 2 robho 2011-12-18 19:47:36 UTC
Created attachment 548439 [details]
Screenshot showing broken whitespace-mode in emacs 23.3.1

Comment 3 Stephen 2012-01-18 16:42:15 UTC
You now need to include 'face' in whitespace-style:

(setq whitespace-style (quote (face trailing lines space-before-tab empty space-after-tab)))

Comment 4 robho 2012-01-18 19:47:34 UTC
Thanks Stephen, I didn't read the documentation carefully enough after upgrading emacs.


Note You need to log in before you can comment on or make changes to this bug.