From: Bastien <bzg@altern.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Tim Cross <theophilusx@gmail.com>, emacs-devel@gnu.org
Subject: Re: [emacs-w3m:11603] Re: interactive-p obsolete
Date: Wed, 06 Jul 2011 20:33:08 +0200 [thread overview]
Message-ID: <87d3hnuumz.fsf@gnu.org> (raw)
In-Reply-To: <CANbX367=tuRJcyDYjRrRuH-XQ+jdq+BzLFAzMzh3ksfVNdVGpQ@mail.gmail.com> (Lennart Borgman's message of "Wed, 6 Jul 2011 20:16:17 +0200")
Lennart Borgman <lennart.borgman@gmail.com> writes:
>> (defmacro org-called-interactively-p (&optional kind)
>> (if (featurep 'xemacs)
>> `(interactive-p)
>> (if (or (> emacs-major-version 23)
>> (and (>= emacs-major-version 23)
>> (>= emacs-minor-version 2)))
>> `(with-no-warnings (called-interactively-p ,kind))
>> `(interactive-p))))
>
> Why not add such a macro to Emacs?
I'm focusing on Org, but yes, people could add this to Emacs if useful.
--
Bastien
next prev parent reply other threads:[~2011-07-06 18:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 6:12 Fwd: [emacs-w3m:11603] Re: interactive-p obsolete Andreas Röhler
2011-07-06 7:09 ` Tim Cross
2011-07-06 8:54 ` Bastien
2011-07-06 18:16 ` Lennart Borgman
2011-07-06 18:33 ` Bastien [this message]
2011-07-06 22:51 ` Juanma Barranquero
2011-07-06 23:08 ` Lennart Borgman
2011-07-06 23:10 ` Juanma Barranquero
2011-07-06 23:16 ` Lennart Borgman
2011-07-06 23:32 ` Juanma Barranquero
2011-07-06 23:44 ` Lennart Borgman
2011-07-06 23:47 ` Juanma Barranquero
2011-07-06 23:57 ` Lennart Borgman
2011-07-07 0:01 ` Juanma Barranquero
2011-07-07 0:12 ` Lennart Borgman
2011-07-07 0:32 ` Juanma Barranquero
2011-07-07 0:44 ` Lennart Borgman
2011-07-07 0:54 ` Juanma Barranquero
2011-07-07 11:38 ` Bastien
2011-07-07 11:50 ` Lennart Borgman
2011-07-07 15:37 ` Stephen J. Turnbull
2011-07-06 11:22 ` Andreas Röhler
2011-07-07 0:06 ` Tim Cross
2011-07-07 6:52 ` Andreas Röhler
2011-07-07 11:36 ` Bastien
2011-07-07 12:55 ` Andreas Röhler
2011-07-07 13:41 ` Juanma Barranquero
2011-07-08 9:57 ` Bastien
2011-07-07 20:10 ` Fwd: " Stefan Monnier
2011-07-09 2:52 ` Tim Cross
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3hnuumz.fsf@gnu.org \
--to=bzg@altern.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
--cc=theophilusx@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).