From: Juanma Barranquero <lekktu@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: deferred-action
Date: Sun, 20 Mar 2011 05:16:04 +0100 [thread overview]
Message-ID: <AANLkTinHTmM7EN_h=oW+13DoQ=96X+0r7XE+g6YwiTaD@mail.gmail.com> (raw)
What are the variables deferred-action-list and
deferred-action-function used for?
Their API is a bit surprising: there's a list of things to do, and a
function to do things (so, a sort of a poor man's hook) with
absolutely no explanation (nor documentation on the Elisp manual) of
how it is intended to be used, how to manage conflicts supposing that
different pieces of code want to use it, etc.
The only reference to them on the Emacs sources is in
emacs-lisp/ert-x.el, and it's really just aping the Emacs
command-loop.
And the only other reference I find is in anything.el (in the Emacs
wiki), where they are basically used as a sort of post-command hook.
I think Roland McGrath asked basically this same question back in 1994
(http://www.maths.tcd.ie/local/JUNK/cyclic/mailing-lists/arcana/0022.html),
so perhaps it is time to document these variables or deprecate them.
Juanma
next reply other threads:[~2011-03-20 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-20 4:16 Juanma Barranquero [this message]
2011-03-21 14:01 ` deferred-action Stefan Monnier
2011-03-21 14:56 ` deferred-action Juanma Barranquero
2011-03-21 16:34 ` deferred-action Stefan Monnier
2011-03-21 16:37 ` deferred-action Juanma Barranquero
2011-03-21 17:24 ` deferred-action Stefan Monnier
2011-03-21 20:05 ` deferred-action Juanma Barranquero
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='AANLkTinHTmM7EN_h=oW+13DoQ=96X+0r7XE+g6YwiTaD@mail.gmail.com' \
--to=lekktu@gmail.com \
--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 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.