[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35373: [PATCH] (info "(emacs) Safe File Variables")

From: 積丹尼 Dan Jacobson
Subject: 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 @address@hidden"

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]