From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'? Date: Sat, 10 May 2014 12:22:17 +0200 Message-ID: <536DFDD9.9030702@easy-emacs.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399717476 17128 80.91.229.3 (10 May 2014 10:24:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2014 10:24:36 +0000 (UTC) To: 17446@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 10 12:24:28 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 1Wj4SB-0005wb-0K for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 May 2014 12:24:27 +0200 Original-Received: from localhost ([::1]:57078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4SA-0005np-9y for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 May 2014 06:24:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4Ry-0005ng-OM for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:24:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wj4Ro-0003Of-T8 for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:24:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4Ro-0003Ob-PP for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:24:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wj4Rm-0001ro-F9 for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:24:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 May 2014 10:24: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13997173837100 (code B ref -1); Sat, 10 May 2014 10:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 May 2014 10:23:03 +0000 Original-Received: from localhost ([127.0.0.1]:57786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wj4Qo-0001qH-Ay for submit@debbugs.gnu.org; Sat, 10 May 2014 06:23:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48412) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wj4Ql-0001pr-JA for submit@debbugs.gnu.org; Sat, 10 May 2014 06:23:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wj4QW-0003If-GS for submit@debbugs.gnu.org; Sat, 10 May 2014 06:22:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4QW-0003IY-EE for submit@debbugs.gnu.org; Sat, 10 May 2014 06:22:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4QO-0005hd-DC for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:22:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wj4QG-0003Eh-TK for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:22:36 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.10]:57567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wj4QG-0003Ed-Iy for bug-gnu-emacs@gnu.org; Sat, 10 May 2014 06:22:28 -0400 Original-Received: from [192.168.178.32] (brln-4d0c7371.pool.mediaWays.net [77.12.115.113]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0Lb2eP-1X6oOU45mL-00kf0C; Sat, 10 May 2014 12:22:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 In-Reply-To: X-Provags-ID: V02:K0:02kdge71/btunEbIFCldYTdTykq6n12xOhCtyEUmFEq IsDy2KZtCxoGRLA4p17Om2DJzuqdG3LfB8+CsSBiUp0GCucArb wX3rMKeHgDAR0Ytd8t/7HtXfTNa+IBWRNCpdX1T3PAt46ZaEYj T4bnlAL1InqwDWAvdzRiWcJF8WEnDOL+5XLoI3EcpE7YZtOyCY gAxev77ay3wYAgahQ/0lzpPErefCYzRe2nVFow1Mlyu6/ezD12 XpnsphMVVxJwALh5y71lxpNEbunhKqYOtoEVkHsl7VLGURS8e8 minjeiomXfFOwBt/4OYWau+uIEm/nDzv67GhR+rJtJdUzt6DbE QHCOOn5nRcRG4ZTK4FvDPpODyBeqfta+RcDzfeK8Q X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:88856 Archived-At: On 10.05.2014 08:45, Stefan Monnier wrote: >> (apply #'funcall-interactively (car newcmd) (cdr newcmd)) > > No, `newcmd' is an expression, so (cdr newcommand) contains arguments > that need to be evaluated. In some/many cases this evaluation is > trivial (the args are self-quoting, like nil or integers), but sometimes > the args can be things like (region-beginning). > >>> (defun funcall-interactively (fun &rest args) > [sample hack to define funcall-interactively in terms of call-interactively] >> This won't work IMO, why fun would be a cons or a byte-code-function ? > > These are the only interesting cases. The other cases (subrp and > symbolp, AFAICT) are trivial. > > > Stefan > > > > So maybe the good old and simple (interactive-p) needs no longer being obsolete? Andreas