[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24904: 25.1; whitespace-mode ignores file- and dir-locals
From: |
Lars Ingebrigtsen |
Subject: |
bug#24904: 25.1; whitespace-mode ignores file- and dir-locals |
Date: |
Mon, 30 Nov 2020 12:46:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Roman Decker <roman.decker@gmail.com> writes:
> whitespace-mode seems to ignore file- and dir-locals when enabled
> via `global-whitespace-mode`.
>
> To reproduce:
[...]
> Then:
>
> 2. Run `emacs -Q`
>
> 3. Execute the following commands from the scratch buffer:
>
> (setq whitespace-style '(face lines-tail))
> (global-whitespace-mode)
>
> 4. Open the created file using `M-x find-file test-file.txt`
>
> whitespace-mode will highlight long lines starting at 80 characters
> instead of 100, which is what the file-local variable says.
(This bug report unfortunately got no response at the time.)
I'm unable to reproduce this in Emacs 26.1 and Emacs 28. Are you still
seeing this problem in more recent Emacs versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#24904: 25.1; whitespace-mode ignores file- and dir-locals,
Lars Ingebrigtsen <=