From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'? Date: Sun, 11 May 2014 06:31:44 +0200 Message-ID: <87ppjl7x73.fsf@gmail.com> References: <87tx8z6sp2.fsf@gmail.com> <819a6ab8-db8e-4176-a778-02218f08e7af@default> <6e5610f3-d741-4d61-903c-a8f3aa8f46fd@default> <87siojasqx.fsf@web.de> <87r442x00n.fsf@gmail.com> <87bnv6mba5.fsf@gmail.com> <87r442f46r.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399782746 9455 80.91.229.3 (11 May 2014 04:32:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 May 2014 04:32:26 +0000 (UTC) Cc: Michael Heerdegen , 17446@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 11 06:32:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WjLQw-0000WS-7t for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 06:32:18 +0200 Original-Received: from localhost ([::1]:59757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjLQv-0000Rn-MD for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 00:32:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjLQm-0000RS-SB for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 00:32:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjLQh-000562-0b for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 00:32:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjLQg-00055y-SI for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 00:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjLQg-0001PI-2c for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 00:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 May 2014 04:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17446-submit@debbugs.gnu.org id=B17446.13997827175395 (code B ref 17446); Sun, 11 May 2014 04:32:02 +0000 Original-Received: (at 17446) by debbugs.gnu.org; 11 May 2014 04:31:57 +0000 Original-Received: from localhost ([127.0.0.1]:58589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjLQa-0001Ou-DG for submit@debbugs.gnu.org; Sun, 11 May 2014 00:31:56 -0400 Original-Received: from mail-wg0-f48.google.com ([74.125.82.48]:59480) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjLQY-0001Ob-AW for 17446@debbugs.gnu.org; Sun, 11 May 2014 00:31:54 -0400 Original-Received: by mail-wg0-f48.google.com with SMTP id b13so5413629wgh.31 for <17446@debbugs.gnu.org>; Sat, 10 May 2014 21:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=wKRCmTmY3E2ZSb/U0klza7jFW0P7dyj9VPkvs2eBgEc=; b=XkvblHmx1vbwj5eZ+6GsG52DdqfMvmSYe4gQngH2hHXwZz5mO0cXcUlOVuvtCZbE2L 3FHNpg+CEAuioXesR8qqcd0+00z+m2xEFKHElN4IVBR77sIHeh1Xc7vAr2XFbob73RJw gMGDKLLUcMehFvDwc71DlI89dp18sjq+dtI3FSG68071uNH5xUIdNZ0uJI3pA7CTpx6k EN4XyGegnDYqWPucStuw2/wVM++jQ54spcng8VsEUdG3rDYbjvLijvtny0KjPc4XIDuN kX4jGZDjW9Tmkcs1lyPvOsH1c/ThXVh9KjfOAcLXbWTAXN9hH9/Li77YF/MisOOYyrKY R49Q== X-Received: by 10.180.92.34 with SMTP id cj2mr9890070wib.15.1399782708355; Sat, 10 May 2014 21:31:48 -0700 (PDT) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPSA id ph8sm12043390wjb.32.2014.05.10.21.31.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 10 May 2014 21:31:47 -0700 (PDT) User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.1 In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88883 Archived-At: Stefan Monnier writes: >> I still don't understand how this would be able to call interactively >> something like: > >> (count-words-region 234 567 nil) > > The code I showed takes an interactive function with some args, rips the > function apart to rebuild a new one whose interactive spec just returns > those args. > If the function is a symbol, then recurse on (symbol-function fun). I got it now, thanks for explanations and your work on this. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997