GNU bug report logs - #34130
Specifying File Variables: mention why can't specify "current file"

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 19 Jan 2019 06:38:01 UTC

Severity: wishlist

Merged with 6615, 29451, 35373

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: Robert Pluim <rpluim <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 34130 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, 6615 <at> debbugs.gnu.org
Subject: bug#34130: bug#6615: bug#34130: Specifying File Variables: mention why can't specify "current file"
Date: Thu, 03 Oct 2019 10:25:12 +0200
>>>>> On Thu, 03 Oct 2019 03:11:13 +0800, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> said:

>>>>> "RP" == Robert Pluim <rpluim <at> gmail.com> writes:
    RP> How about this instead:

    RP> before-hack-local-variables-hook is a variable defined in `files.el'...

    積丹尼> All I know is you need to add a paragraph explaining whatever workaround
    積丹尼> recipe that is to (info "(emacs) Specifying File Variables"):

    積丹尼> "You can even refer to the current file name using local variables!
    積丹尼> Here's how: ...

Not really, because itʼs not restricted to just that, you can do whatever
you want in the hook.

Robert




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

Previous Next


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