unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: bug-gnu-emacs@gnu.org, Bruce.Korb@gmail.com
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 00:28:13 -0500	[thread overview]
Message-ID: <E1JAf6L-0002GF-L6@fencepost.gnu.org> (raw)
In-Reply-To: <200801030655.m036tJco000552@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Wed, 02 Jan 2008 22:55:19 -0800)

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'.




  reply	other threads:[~2008-01-04  5:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-23 21:48 HOW CAN I STOP THIS NOVICE MODE STUFF? Bruce Korb
2007-12-24 13:23 ` Lennart Borgman (gmail)
2007-12-24 13:54 ` Andreas Schwab
2007-12-25 17:45   ` Bruce Korb
2007-12-25 17:58     ` Lennart Borgman (gmail)
2007-12-25 22:32     ` Michael Schierl
2007-12-26  5:28     ` Richard Stallman
2008-01-02 19:32       ` Bruce Korb
2008-01-02 19:51         ` Dan Nicolaescu
2008-01-02 21:45           ` Bruce Korb
2008-01-02 21:57             ` Dan Nicolaescu
2008-01-03  0:12               ` Bruce Korb
2008-01-03  0:44                 ` Dan Nicolaescu
2008-01-03  6:55                   ` local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?) Dan Nicolaescu
2008-01-04  5:28                     ` Richard Stallman [this message]
2008-01-04 18:15                       ` Dan Nicolaescu
2008-01-10 14:02                       ` Dan Nicolaescu
2008-01-15 18:47                         ` local variable for updating the time stamp on save Bruce Korb
2008-01-16  8:31                           ` Richard Stallman
2008-01-17 15:32                             ` Bruce Korb
2008-01-17 20:08                               ` Dan Nicolaescu
2008-01-17 23:15                                 ` Reiner Steib
2008-01-18 18:21                               ` Richard Stallman
2008-01-19 17:35                               ` Bruce Korb
2008-01-19 18:32                                 ` Dan Nicolaescu
2008-01-20 21:35                                   ` Bruce Korb
2008-01-21  7:18                                     ` Dan Nicolaescu
2008-01-21 14:15                                       ` Bruce Korb
2008-01-21 20:30                                       ` Richard Stallman
2008-01-21 20:54                                         ` Bruce Korb
2008-01-22 22:30                                           ` Richard Stallman
2008-01-21 20:30                                       ` Richard Stallman
2008-01-22  1:00                                         ` Johan Bockgård
2008-01-21  9:08                                   ` Richard Stallman
2007-12-24 14:00 ` HOW CAN I STOP THIS NOVICE MODE STUFF? Bastien
2007-12-25  0:56   ` Michael Schierl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JAf6L-0002GF-L6@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=Bruce.Korb@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=dann@ics.uci.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).