unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] allow function values for `enable-local-eval'
Date: Fri, 28 Jun 2002 11:41:10 -0600 (MDT)	[thread overview]
Message-ID: <200206281741.g5SHfAa04345@santafe.santafe.edu> (raw)
In-Reply-To: <E17NLww-0005Cn-00@floss> (message from Karl Fogel on Wed, 26 Jun 2002 18:11:46 -0500)

    This patch allows users to set `enable-local-eval' to a function.  If
    the function returns non-nil, the eval happens, otherwise it does not.

That is a general basis for a solution, but it has no specific
knowledge; it requires that to be provided by the user.  I'm not
necessarily rejecting it, but it would be more helpful to do something
that embody specific knowledge, and does the right thing (for some
cases) without requiring user customization.

    We have a project where virtually every source file has some "eval:"
    forms.

Can you show me some of them?  Maybe we can simply allow these forms
just as the existing code already allows certain `put' expressions.

       reply	other threads:[~2002-06-28 17:41 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 ` Richard Stallman [this message]
     [not found]   ` <87u1nnnqlp.fsf@floss.i-did-not-set--mail-host-address--so-shoot-me>
2002-06-29  0:55     ` [PATCH] allow function values for `enable-local-eval' 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
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

  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=200206281741.g5SHfAa04345@santafe.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@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 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).