From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74341 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: called-interactively-p Date: Wed, 24 Nov 2010 23:46:32 +0100 Message-ID: <87r5ea1gs7.fsf@keller.adm.naquadah.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290638841 23030 80.91.229.12 (24 Nov 2010 22:47:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 22:47:21 +0000 (UTC) Cc: ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M22706@lists.math.uh.edu Wed Nov 24 23:47:17 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PLO7Q-00005M-BC for ding-account@gmane.org; Wed, 24 Nov 2010 23:47:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PLO7J-0003uz-Qi; Wed, 24 Nov 2010 16:47:09 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PLO7I-0003uq-P4 for ding@lists.math.uh.edu; Wed, 24 Nov 2010 16:47:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PLO7H-0006eQ-NR for ding@lists.math.uh.edu; Wed, 24 Nov 2010 16:47:08 -0600 Original-Received: from prometheus.naquadah.org ([212.85.154.174] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PLO7F-0004c9-00 for ; Wed, 24 Nov 2010 23:47:05 +0100 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id C6AAA5C1BD; Wed, 24 Nov 2010 23:46:34 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on prometheus.naquadah.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Original-Received: from keller.adm.naquadah.org (unknown [IPv6:2a01:e35:2e39:e900:222:faff:fe9d:ce44]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id E6ED45C1AD; Wed, 24 Nov 2010 23:46:32 +0100 (CET) Original-Received: from jd by keller.adm.naquadah.org with local (Exim 4.72) (envelope-from ) id 1PLO6i-0003ij-AN; Wed, 24 Nov 2010 23:46:32 +0100 Mail-Followup-To: Katsumi Yamaoka , ding@gnus.org In-Reply-To: (Katsumi Yamaoka's message of "Thu, 25 Nov 2010 07:41:14 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-MIME-Error: demime acl condition: quoted-printable encoding contains illegal character X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74341 Archived-At: <#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. :) --=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info