all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Roland Winkler" <winkler@gnu.org>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,
	Glenn Morris <rgm@gnu.org>, Francesco Potort=AC <pot@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: master 45a1653: ; Fix last change to bibtex.el
Date: Wed, 18 Nov 2020 16:31:50 -0500	[thread overview]
Message-ID: <jwvlfey9wwc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <21967.72026.373783.24501@gargle.gargle.HOWL> (Roland Winkler's message of "Wed, 18 Nov 2020 11:11:43 -0600")

> The problem is really about allowing user-defined functions.  If one
> excludes user-defined functions and allows only predefined
> functions, the entire 'funcall ...-function' thing is not needed,
> that is, the variable can hold a symbol that triggers a hard-coded call
> of a predefined function.

I don't understand the "the entire ...".  AFAICT the replacement would
be bigger.  So the use of (funcall ...-function) is really a way to make
the code simpler, and it just happens to come with the side benefit of
being also more flexible.

And indeed with the :safe keyword you can specify a number of value that
can be assumed to be safe, while any other value will be raise alarms.


        Stefan




  reply	other threads:[~2020-11-18 21:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201116233108.21940.22514@vcs0.savannah.gnu.org>
     [not found] ` <20201116233110.4E83E209DE@vcs0.savannah.gnu.org>
2020-11-18  1:42   ` master 45a1653: ; Fix last change to bibtex.el Glenn Morris
2020-11-18  4:19     ` Roland Winkler
2020-11-18 12:30       ` Basil L. Contovounesios
2020-11-18 14:13         ` Roland Winkler
2020-11-18 14:36           ` Roland Winkler
2020-11-18 16:35           ` Basil L. Contovounesios
2020-11-18 17:11             ` Roland Winkler
2020-11-18 21:31               ` Stefan Monnier [this message]
2020-11-18 21:56                 ` Roland Winkler
2020-11-28 22:32                   ` Roland Winkler
2020-11-19  5:23               ` Richard Stallman
2020-11-19  8:25                 ` Roland Winkler
2020-11-18 11:47     ` Basil L. Contovounesios
2020-11-18 16:18       ` Basil L. Contovounesios
2020-11-24  6:31         ` Lars Ingebrigtsen
2020-11-24 15:35           ` Eli Zaretskii
2020-11-24 19:26             ` Basil L. Contovounesios
2020-11-24 19:58               ` Eli Zaretskii
2020-11-24 20:25                 ` Eli Zaretskii
2020-11-24 21:01                   ` Eli Zaretskii

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=jwvlfey9wwc.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=contovob@tcd.ie \
    --cc=emacs-devel@gnu.org \
    --cc=pot@gnu.org \
    --cc=rgm@gnu.org \
    --cc=winkler@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.