From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: locate-library INTERACTIVE-CALL argument Date: Mon, 04 Aug 2003 10:10:04 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F2E855C.5040901@yahoo.com> References: <3F294B31.30800@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1060014503 7885 80.91.224.253 (4 Aug 2003 16:28:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 16:28:23 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 18:28:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19jiCM-0003Ye-00 for ; Mon, 04 Aug 2003 18:28:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jhv5-0007Ae-Ld for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2003 12:10:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19jhv2-0007A3-Fn for bug-gnu-emacs@prep.ai.mit.edu; Mon, 04 Aug 2003 12:10:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19jhuW-00076H-NA for bug-gnu-emacs@prep.ai.mit.edu; Mon, 04 Aug 2003 12:10:43 -0400 Original-Received: from [216.168.1.22] (helo=trinity.supernews.net) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jhuW-00076C-CX for bug-gnu-emacs@prep.ai.mit.edu; Mon, 04 Aug 2003 12:10:12 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]:54660 ident=root) by trinity.supernews.net with esmtp (Exim 4.20) id 19jhuV-0002VJ-Ow for gnu-emacs-bug@moderators.isc.org; Mon, 04 Aug 2003 16:10:11 +0000 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 4 Aug 2003 18:10:05 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 4 Aug 2003 18:10:04 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 18 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: news.uni-berlin.de 1060013404 26922044 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5477 Richard Stallman wrote: > Using interactive-p is not equivalent to what the INTERACTIVE-CALL > argument does. So the change is not a no-op. The effect of the change > would be not to output anything if used in a keyboard macro. This is > explained in the Lisp Manual. Thanks for pointing that out. But I'm still not happy with the current implementation. If the command is called interactively (within a keyboard macro or not), INTERACTIVE-CALL is unconditionally set to t, so the message will displayed. Since the intent is to display the message when the command is called interactively, even when it is called via a keyboard macro, why not test for those conditions explicitly with interactive-p and executing-macro respectively? -- Kevin Rodgers