[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: |
Fri, 04 Jan 2008 10:15:54 -0800 |
Richard Stallman <rms@gnu.org> writes:
> 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'.
IMO we should. config.guess and config.sub use that form. Luckily very
few people need to edit those files...
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Bruce Korb, 2008/01/02
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Dan Nicolaescu, 2008/01/02
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Bruce Korb, 2008/01/02
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Dan Nicolaescu, 2008/01/02
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Bruce Korb, 2008/01/02
- Re: HOW CAN I STOP THIS NOVICE MODE STUFF?, Dan Nicolaescu, 2008/01/02
- local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?), Dan Nicolaescu, 2008/01/03
- Re: local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?), Richard Stallman, 2008/01/04
- Re: local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?),
Dan Nicolaescu <=
- Re: local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?), Dan Nicolaescu, 2008/01/10
- Re: local variable for updating the time stamp on save, Bruce Korb, 2008/01/15
- Re: local variable for updating the time stamp on save, Richard Stallman, 2008/01/16
- Re: local variable for updating the time stamp on save, Bruce Korb, 2008/01/17
- Re: local variable for updating the time stamp on save, Dan Nicolaescu, 2008/01/17
- Re: local variable for updating the time stamp on save, Reiner Steib, 2008/01/17
- Re: local variable for updating the time stamp on save, Richard Stallman, 2008/01/18
- Re: local variable for updating the time stamp on save, Bruce Korb, 2008/01/19
- Re: local variable for updating the time stamp on save, Dan Nicolaescu, 2008/01/19
- Re: local variable for updating the time stamp on save, Bruce Korb, 2008/01/20