GNU bug report logs -
#24904
25.1; whitespace-mode ignores file- and dir-locals
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24904 in the body.
You can then email your comments to 24904 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24904
; Package
emacs
.
(Tue, 08 Nov 2016 19:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Roman Decker <roman.decker <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 08 Nov 2016 19:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
whitespace-mode seems to ignore file- and dir-locals when enabled
via `global-whitespace-mode`.
To reproduce:
1. Create a file with the following contents (use everything between the
dashes, the dashes themselves are not part of the file):
-----------------------------test-file.txt--------------------------------------
Only open this file after global-whitespace-mode was enabled.
This is where highlighting of the line should start if everyhing went as
expected: right here ---->|<----
However, if whitespace-mode incorrectly used the default of 80: right here
---->|<----
;; Local Variables:
;; whitespace-line-column: 100
;; End:
--------------------------------------------------------------------------------
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.
If whitespace-mode is enabled locally, after the file-local variables
are set, everything works as expected.
The same issue is explained here:
http://emacs.stackexchange.com/questions/7743/whitespace-mode-ignores-whitespace-line-column
I'm merely referring it to this bugtracker.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24904
; Package
emacs
.
(Mon, 30 Nov 2020 11:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24904 <at> debbugs.gnu.org (full text, mbox):
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
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Nov 2020 11:47:03 GMT)
Full text and
rfc822 format available.
Added tag(s) unreproducible.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Nov 2020 11:48:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24904
; Package
emacs
.
(Mon, 30 Nov 2020 16:02:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 24904 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
just tested again with my current setup of 26.1 and indeed it seems the
issue is resolved.
Am Mo., 30. Nov. 2020 um 12:46 Uhr schrieb Lars Ingebrigtsen <larsi <at> gnus.org
>:
> 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
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24904
; Package
emacs
.
(Mon, 30 Nov 2020 16:12:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 24904 <at> debbugs.gnu.org (full text, mbox):
Roman Decker <roman.decker <at> gmail.com> writes:
> just tested again with my current setup of 26.1 and indeed it seems
> the issue is resolved.
Thanks for checking; closing the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
24904 <at> debbugs.gnu.org and Roman Decker <roman.decker <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 30 Nov 2020 16:12:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 29 Dec 2020 12:24:05 GMT)
Full text and
rfc822 format available.
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.