| Summary: | whitespace-mode broken in emacs 23.3.1 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | robho <robert> |
| Component: | emacs | Assignee: | Karel Klíč <kklic> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | jonathan.underwood, kklic, rvokal, sdeasey |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-18 19:47:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Attachments: | |||
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. |
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).