From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: interactive-p and called-interactively-p
Date: Sun, 16 Aug 2009 10:53:32 -0400 [thread overview]
Message-ID: <jwvmy5zertq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87my5zopji.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 16 Aug 2009 09:29:21 -0400")
>>> It would have been far better to just add an optional argument to
>>> `interactive-p' than to create a new, similarly named function.
>>
>> Agreed. Any objection?
> Since called-interactively-p has been around since Emacs 22, and the
> benefit in cleanliness is rather minute, I don't think it's worth the
> hassle. We can't just remove called-interactively-p because that would
> break backward compatibility, which means adding another argument to
> interactive-p just means more non-useful complexity (how many people
> would benefit from this anyway?).
It would make this cleaner and easier to explain.
Marking called-interactively-p as obsolete is easy, and
called-interactively-p is probably very rarely used nowadays outside of
Emacs's bundled packages. Also an argument to `interactive-p' makes it
easier for people to learn about the functionality.
Stefan
next prev parent reply other threads:[~2009-08-16 14:53 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-15 23:00 interactive-p and called-interactively-p Drew Adams
2009-08-16 5:16 ` Stefan Monnier
2009-08-16 13:29 ` Chong Yidong
2009-08-16 14:53 ` Stefan Monnier [this message]
2009-08-16 15:51 ` Drew Adams
2009-08-16 21:23 ` Richard Stallman
2009-08-16 22:40 ` Drew Adams
2009-08-17 5:38 ` Stephen J. Turnbull
2009-08-18 4:57 ` Richard Stallman
2009-08-18 7:08 ` Stephen J. Turnbull
2009-08-29 21:54 ` Stefan Monnier
2009-08-31 22:21 ` Richard Stallman
2009-08-31 23:56 ` Stefan Monnier
2009-09-01 1:58 ` Chong Yidong
2009-09-01 5:40 ` Stefan Monnier
2009-09-01 21:20 ` Richard Stallman
2009-09-01 23:30 ` Stefan Monnier
2009-09-03 13:48 ` Richard Stallman
2009-09-03 14:11 ` Stephen J. Turnbull
2009-09-03 21:17 ` Stefan Monnier
2009-09-04 1:21 ` Stephen J. Turnbull
2009-09-04 13:11 ` Stefan Monnier
2009-09-04 3:04 ` Glenn Morris
2009-09-04 4:44 ` Stephen J. Turnbull
-- strict thread matches above, loose matches on Subject: below --
2009-09-03 16:27 MON KEY
2004-12-02 2:16 Luc Teirlinck
2004-12-03 3:41 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmy5zertq.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cyd@stupidchicken.com \
--cc=drew.adams@oracle.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.