emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] allow function values for `enable-local-eval'


From: Karl Fogel
Subject: Re: [PATCH] allow function values for `enable-local-eval'
Date: 29 Jun 2002 18:21:45 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

address@hidden (Kim F. Storm) writes:
> But maybe it would be better to have a more hook-like approach
> such as having a special hook like
>         enable-local-eval-functions
> which are run until success (i.e. any of the functions may return 
> true to allow a specific eval to be executed), and if all of them
> returns false, the default method is used according to enable-local-eval
> (i.e. ignore or ask user for confirmation).

Kim's solution is even better; I volunteer to implement it if that's
what we decide on.

Users will want to write one function for each "acceptable" kind of
eval situation anyway, so providing a list for them to arrange these
functions in is more convenient than forcing them to iterate over
their own array inside a wrapper function.

-Karl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]