GNU bug report logs - #35373
[PATCH] (info "(emacs) Safe File Variables")

Previous Next

Package: emacs;

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

Date: Mon, 22 Apr 2019 01:18:03 UTC

Severity: wishlist

Merged with 6615, 29451, 34130

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 35373 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: 35373 <at> debbugs.gnu.org
Subject: Re: bug#35373: [PATCH] (info "(emacs) Safe File Variables")
Date: Wed, 24 Apr 2019 03:29:58 +0800
>> # Local Variables:
>> # compile-command: "cc @FILE@ ..."
>> # End:

Yes, the brilliant thing about this is @FILE@ is the only item needed.

Naysayers would say "first you want @FILE@, next week you will want
@PWD@, next month you will want @CURRENT_DATE@..."

But that's not true. All the rest can be simply determined by the shell,
e.g., $PWD.

Naysayers will also say "For the filename just use $(ls -t|sed q). Case
closed." Yes but that is playing Russian roulette.




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

Previous Next


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