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: Fri, 04 Oct 2019 10:37:45 +0200
>>>>> On Fri, 04 Oct 2019 16:11:17 +0800, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> said:

    積丹尼> Whatever you are proposing is too complex.
    積丹尼> @CURRENT_FILE@ should just refer to the current file, no hacks needed.

You propose @CURRENT_FILE@, someone else will prefer $..$, someone
else again will want a different set of variables available. This is
why the 'eval' functionality exists, which you donʼt want to use,
hence the proposal to use the hook.

Robert




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

Previous Next


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