GNU bug report logs - #24904
25.1; whitespace-mode ignores file- and dir-locals

Previous Next

Package: emacs;

Reported by: Roman Decker <roman.decker <at> gmail.com>

Date: Tue, 8 Nov 2016 19:10:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Roman Decker <roman.decker <at> gmail.com>
Cc: 24904 <at> debbugs.gnu.org
Subject: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals
Date: Mon, 30 Nov 2020 12:46:41 +0100
Roman Decker <roman.decker <at> 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




This bug report was last modified 4 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.