From: storm@cua.dk (Kim F. Storm)
Cc: monnier+gnu/emacs@rum.cs.yale.edu, storm@cua.dk,
kfogel@red-bean.com, emacs-devel@gnu.org
Subject: Re: [PATCH] allow function values for `enable-local-eval'
Date: 04 Jul 2002 21:36:59 +0200 [thread overview]
Message-ID: <5x3cuzcmjo.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <200207040707.g6477fG05585@aztec.santafe.edu>
Richard Stallman <rms@gnu.org> writes:
> I'm sure crackers will be happy about it.
> The argument passed to `c-add-style' allows you to buffer-locally
> set any variable to any value whatsoever. Hardly "safe" in my book.
>
> I didn't realize that. It will be necessary then to check
> the arguments to c-add-style. Still, it is better to install
> this checking by default than to make users install it as
> a customization.
Whatever we do to automate this, I don't think we will ever
cover every possible hook that people would like to "accept
by default".
So I still propose that we provide a *simple* customization option
safe-local-eval-forms which is just a list that contains verbatim
copies of the eval hooks which the user considers as safe.
We could then enhance the functionality when the user is
asked to "eval local hook (y/n)" to "eval local hook (y/n/s)"
where "s" saves the hook in safe-local-eval-forms.
But just having the option would be great!
next prev parent reply other threads:[~2002-07-04 19:36 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E17NLww-0005Cn-00@floss>
2002-06-28 17:41 ` [PATCH] allow function values for `enable-local-eval' Richard Stallman
[not found] ` <87u1nnnqlp.fsf@floss.i-did-not-set--mail-host-address--so-shoot-me>
2002-06-29 0:55 ` Kim F. Storm
2002-06-29 22:22 ` Richard Stallman
2002-06-30 21:37 ` Kim F. Storm
2002-07-01 14:10 ` Richard Stallman
2002-07-01 21:26 ` Kim F. Storm
2002-07-02 19:46 ` Richard Stallman
2002-07-02 20:11 ` Stefan Monnier
2002-07-02 21:49 ` Kim F. Storm
2002-07-04 7:07 ` Richard Stallman
2002-07-04 15:28 ` Stefan Monnier
2002-07-04 19:38 ` Kim F. Storm
2002-07-04 18:46 ` Stefan Monnier
2002-07-04 21:58 ` Kim F. Storm
2002-07-05 1:26 ` Miles Bader
2002-07-05 13:39 ` Kai Großjohann
2002-07-04 19:36 ` Kim F. Storm [this message]
2002-07-05 22:05 ` Richard Stallman
2002-07-02 21:20 ` Kim F. Storm
2002-07-04 7:06 ` Richard Stallman
2002-07-04 15:13 ` Stefan Monnier
2002-07-05 10:48 ` Richard Stallman
2002-07-03 1:28 ` Kevin Ryde
2002-06-29 22:22 ` Richard Stallman
[not found] ` <877kkhlmgw.fsf@floss.i-did-not-set--mail-host-address--so-shoot-me>
2002-07-01 14:10 ` Richard Stallman
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=5x3cuzcmjo.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=kfogel@red-bean.com \
--cc=monnier+gnu/emacs@rum.cs.yale.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 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.