unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Roman Decker <roman.decker@gmail.com>
Cc: 24904@debbugs.gnu.org
Subject: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals
Date: Mon, 30 Nov 2020 12:46:41 +0100	[thread overview]
Message-ID: <87ft4r9ie6.fsf@gnus.org> (raw)
In-Reply-To: <CAF1Dr3QmiGJG8OtV0VvZomLPs_rZdNfJQOPzx+daA_zsAqycFQ@mail.gmail.com> (Roman Decker's message of "Tue, 08 Nov 2016 18:59:19 +0000")

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





  reply	other threads:[~2020-11-30 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 18:59 bug#24904: 25.1; whitespace-mode ignores file- and dir-locals Roman Decker
2020-11-30 11:46 ` Lars Ingebrigtsen [this message]
2020-11-30 16:01   ` Roman Decker
2020-11-30 16:11     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft4r9ie6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=24904@debbugs.gnu.org \
    --cc=roman.decker@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).