From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Brittleness of called-interactively-p Date: Mon, 20 Jul 2015 18:23:09 -0400 Message-ID: References: <871tgeufzt.fsf@gmail.com> <87r3odtngi.fsf@gmail.com> <87380st7c1.fsf@gmail.com> <87bnfarsdv.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1437431019 30502 80.91.229.3 (20 Jul 2015 22:23:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2015 22:23:39 +0000 (UTC) Cc: emacs-devel@gnu.org, raman To: Dmitri Paduchikh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 21 00:23:31 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZHJT8-0007uv-Ix for ged-emacs-devel@m.gmane.org; Tue, 21 Jul 2015 00:23:30 +0200 Original-Received: from localhost ([::1]:57333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHJT7-0004Iu-CZ for ged-emacs-devel@m.gmane.org; Mon, 20 Jul 2015 18:23:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHJSv-0004In-PZ for emacs-devel@gnu.org; Mon, 20 Jul 2015 18:23:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHJSr-0000rd-G6 for emacs-devel@gnu.org; Mon, 20 Jul 2015 18:23:17 -0400 Original-Received: from smtp-pri-01.vtxnet.net ([212.147.62.135]:50576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHJSr-0000r9-AC for emacs-devel@gnu.org; Mon, 20 Jul 2015 18:23:13 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by smtp-pri-01.vtxnet.net (VTX Services SA) with ESMTP id 92285CFD52; Tue, 21 Jul 2015 00:23:11 +0200 (CEST) Original-Received: from smtp-pri-01.vtxnet.net ([127.0.0.1]) by localhost (smtp-pri-01.vtxnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ajKvzEDNnnQR; Tue, 21 Jul 2015 00:23:10 +0200 (CEST) Original-Received: from fmsmemgm.homelinux.net (dyn.83-228-180-068.dsl.vtx.ch [83.228.180.68]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-01.vtxnet.net (VTX Services SA) with ESMTP id B8B4CCFD51; Tue, 21 Jul 2015 00:23:10 +0200 (CEST) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id EB6C1AE1CA; Mon, 20 Jul 2015 18:23:09 -0400 (EDT) In-Reply-To: <87bnfarsdv.fsf@gmail.com> (Dmitri Paduchikh's message of "Sat, 18 Jul 2015 09:39:40 +0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 212.147.62.135 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188022 Archived-At: > By the way, the interface of called-interactively-p seems somewhat > non-intuitive. Since calling it with 'interactive is intended to replace > `(interactive-p)' it would be more convenient to make `kind' an optional > argument having the default meaning of 'interactive. That would defeat the whole purpose (which is to force the author to make a choice between the two kinds, rather than to use one without knowing that there's a choice). Stefan