Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Danjou <julien@danjou.info>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: called-interactively-p
Date: Wed, 24 Nov 2010 23:46:32 +0100	[thread overview]
Message-ID: <87r5ea1gs7.fsf@keller.adm.naquadah.org> (raw)
In-Reply-To: <b4mbp5euyyd.fsf@jpl.org> (Katsumi Yamaoka's message of "Thu, 25 Nov 2010 07:41:14 +0900")

<#secure method=pgpmime mode=sign>
On Wed, Nov 24 2010, Katsumi Yamaoka wrote:

>> That's not in XEmacs.  Please don't use it.  Otherwise may I write
>> a compiler-macro, that replaces it with `interactively-p' in .elc
>> files, in dgnushack.el?

That sounds good. Just add that in gnus-xmas.el I think. :(

> Another solution:
>
> (defun function (&optional called-interactively-p)
>   (interactive (list t))
>   (if called-interactively-p then... else...))

This is what I was trying to avoid and remove. :)

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info



  reply	other threads:[~2010-11-24 22:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24 22:33 called-interactively-p Katsumi Yamaoka
2010-11-24 22:41 ` called-interactively-p Katsumi Yamaoka
2010-11-24 22:46   ` Julien Danjou [this message]
2010-11-24 22:55 ` called-interactively-p Lars Magne Ingebrigtsen
2010-11-24 22:59   ` called-interactively-p Julien Danjou
2010-11-24 23:02     ` called-interactively-p Lars Magne Ingebrigtsen
2010-11-24 23:11       ` called-interactively-p Lars Magne Ingebrigtsen
2010-11-24 23:34         ` called-interactively-p Katsumi Yamaoka
2010-11-25 20:50       ` called-interactively-p Adam Sjøgren
2010-11-24 23:03   ` called-interactively-p Katsumi Yamaoka
2010-11-25  0:24 ` called-interactively-p Katsumi Yamaoka

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=87r5ea1gs7.fsf@keller.adm.naquadah.org \
    --to=julien@danjou.info \
    --cc=ding@gnus.org \
    --cc=yamaoka@jpl.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.
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 NNTP newsgroup(s).