GNU bug report logs - #36837
26.2; whitespace-mode: whitespace-line-column is not set to local fill-column

Previous Next

Package: emacs;

Reported by: tastytea <tastytea <at> tastytea.de>

Date: Mon, 29 Jul 2019 14:40:02 UTC

Severity: minor

Found in version 26.2

Fixed in version 28.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Štěpán Němec <stepnem <at> gmail.com>
Cc: tastytea <tastytea <at> tastytea.de>, 36837 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: bug#36837: 26.2; whitespace-mode: whitespace-line-column is not set to local fill-column
Date: Fri, 02 Aug 2019 15:28:01 -0400
Štěpán Němec <stepnem <at> gmail.com> writes:

> On Fri, 02 Aug 2019 17:04:35 +0200
> Andreas Schwab wrote:
>
>> On Aug 02 2019, Štěpán Němec <stepnem <at> gmail.com> wrote:
>>
>>> Yes, unfortunately, file-local variables are only setup (via
>>> `hack-local-variables') _after_ the mode hooks are run
>>
>> I'd guess the reason is that file local variables should override mode
>> stettings.
>
> Sure, but isn't that precisely an argument for the reverse order?
> Typically those settings are in defvars/defcustoms and thus if set
> before loading the library the user value is respected.

It sounds like you are confusing defcustom settings with file-local
variable settings.  Those are two very different things.  At any rate,
there is no "library being loaded" here.

See also (info "(emacs) File Variables")




This bug report was last modified 5 years and 85 days ago.

Previous Next


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