From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: called-interactively-p
Date: Thu, 01 Oct 2009 14:15:39 -0400 [thread overview]
Message-ID: <jwv7hvf0yyd.fsf-monnier+emacs@gnu.org> (raw)
Following the discussion we had here around interactive-p and
called-interactively-p, I've just installed the following changes:
- called-interactively-p takes a parameter `kind' which can be
either `interactive' or `any', the first corresponds to what
interactive-p used to do and the second to what called-interactively-p
used to do.
The function still works if called without any argument, but the
byte-compiler will complain about the missing argument (it's the best
trade-off I could come up between breaking compatibility and
enouraging people to pass as argument).
- interactive-p is marked obsolete. This is not quite as simple as it
sounds, because interactive-p has its own byte-code. So we'll have to
improve our "obsolescence" infrastructure if we want to handle this
right. For now, all the "make-obsolete" does in the end is to make
C-h f tell you the function is obsolete, which seems good enough for
now, especially given the 300 or so calls to interactive-p we still
have in our own code.
-- Stefan
next reply other threads:[~2009-10-01 18:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 18:15 Stefan Monnier [this message]
2009-10-02 3:59 ` called-interactively-p Juanma Barranquero
2009-10-09 8:50 ` called-interactively-p Carsten Dominik
2009-11-05 15:22 ` called-interactively-p Carsten Dominik
2009-11-05 19:13 ` called-interactively-p Stefan Monnier
2009-11-06 11:09 ` called-interactively-p Andreas Roehler
2009-11-09 16:28 ` called-interactively-p Carsten Dominik
2009-11-09 22:00 ` called-interactively-p Stefan Monnier
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=jwv7hvf0yyd.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.