From: Dan Nicolaescu <dann@ics.uci.edu>
To: Bruce Korb <Bruce.Korb@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?)
Date: Wed, 02 Jan 2008 22:55:19 -0800 [thread overview]
Message-ID: <200801030655.m036tJco000552@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <200801030044.m030ikI2020292@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 02 Jan 2008 16:44:46 -0800")
Dan Nicolaescu <dann@ics.uci.edu> writes:
> Bruce Korb <Bruce.Korb@gmail.com> writes:
>
> > Dan Nicolaescu wrote:
> > > It is, please send the list of variables that you have issues with.
> > > If such variables are defined in emacs itself, then the policy is to
> > > determine what type of arguments are safe for the variables. If the
> > > variables are defined in a package, then it is that package's duty to
> > > mark them as safe.
> >
> > How does "the package" do that?
>
> Fro example
> (put 'VARIABLE_NAME 'safe-local-variable 'integerp)
> for a variable that is of type interger. There are many examples of this
> in the emacs source code.
>
>
> > If the gnulib project doesn't do this, then which package providers
> > actually do know the code?
>
> I can't parse this.
Hmm, so gnulib is a library (never heard of it before). I downloaded it
and looked at all the Local Variables section in all the files. Some of
the variables used were not marked as safe in Emacs, this was causing
warnings. I marked them as safe on the emacs-22.2 CVS branch. It will
get merged into CVS HEAD soon.
The only issue left with the local variables in gnulib is:
# eval: (add-hook 'write-file-hooks 'time-stamp)
This cannot be marked as safe as it is.
Does anyone know if we already have a solution for something that
updates the time stamps when saving?
If not, do we want to add such a solution?
What would that solution be?
next prev parent reply other threads:[~2008-01-03 6:55 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 ` Dan Nicolaescu [this message]
2008-01-04 5:28 ` local variable for updating the time stamp on save (was: Re: HOW CAN I STOP THIS NOVICE MODE STUFF?) Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200801030655.m036tJco000552@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=Bruce.Korb@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.