Public bug reported:
Binary package hint: emacs22
Customizations involving whitespace.el interact poorly so that important
customizations are lost.
WHAT I DID
Starting with an empty '.emacs' file, I made the following customization
through `M-x customize`
Indent Tabs Mode --> off
Whitespace Global Mode --> on
I attach the file `naive.emacs` containing the .emacs config.
WHAT I EXPECTED
On opening a whitespace-clean and tab-free file, I expect to see no
whitespace errors. This is because, the value of whitespace-check-
indent-whitespace defaults to the value of indent-tabs-mode for obvious
reasons.
WHAT HAPPENS
I get whitespace errors relating to the tab-free indent whitespace.
WORKAROUND
Taking the Whitespace Global Mode customization out and explicitly
issuing the command solves the problem, indicating that it is a bug with
how whitespace.el processes the customization. Namely, append the
following to .emacs
;; Workaround for customization bug
(whitespace-global-mode 't)
** Affects: emacs22 (Ubuntu)
Importance: Undecided
Status: New
--
Whitespace customization ignored
https://bugs.launchpad.net/bugs/221733
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs