bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: local variable for updating the time stamp on save (was: Re: HOW CAN


From: Dan Nicolaescu
Subject: Re: local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?)
Date: Thu, 10 Jan 2008 06:02:36 -0800

Richard Stallman <address@hidden> writes:

y  > Bruce wrote:
  > 
  >       > What I think I am asking for is documentation on how to make this 
test:
  >       > 
  >       >      (eq enable-local-variables :all)
  >       > 
  >       > yield "#t" (or however it is spelled in emacs lisp).
  >       > Would that be:
  >       > 
  >       >       (set enable-local-variables  :all)
  >       > 
  >       > in my .emacs file?
  > 
  > (setq enable-local-variables :all) could do it, but that is a really
  > bad idea.  It means that a nasty file sent to you, which you then
  > visit in Emacs, could make your Emacs do anything at all.
  > 
  >     The only issue left with the local variables in gnulib is: 
  >     # eval: (add-hook 'write-file-hooks 'time-stamp)
  > 
  > Bruce, you can add this to `safe-local-eval-forms'.  Does that work
  > for you?
  > 
  > Maybe we should add it to the default value of
  > `safe-local-eval-forms'.

I have done that as per your request. (on the EMACS_22_BASE branch)

Bruce, do you get any other unsafe variable warnings?




reply via email to

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