From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional Date: Wed, 29 Jun 2016 19:51:07 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467255094 13919 80.91.229.3 (30 Jun 2016 02:51:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 02:51:34 +0000 (UTC) Cc: rswgnu@gmail.com, Richard Stallman , emacs-devel To: Robert Weiner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 04:51:27 2016 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 1bIS4c-00048l-Ay for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 04:51:26 +0200 Original-Received: from localhost ([::1]:46643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIS4b-0000qf-8j for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 22:51:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIS4V-0000qO-3j for emacs-devel@gnu.org; Wed, 29 Jun 2016 22:51:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIS4P-0002zp-72 for emacs-devel@gnu.org; Wed, 29 Jun 2016 22:51:18 -0400 Original-Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:36658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIS4O-0002zT-TS for emacs-devel@gnu.org; Wed, 29 Jun 2016 22:51:13 -0400 Original-Received: by mail-pf0-x22e.google.com with SMTP id t190so24297657pfb.3 for ; Wed, 29 Jun 2016 19:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FedSdfxyHFMRl1czPEJez6I0uab395A18x1KJLORJRc=; b=kYWDcNAFNfpT1Ogb3ucx4Vwa53T12CUf6sQ0X1MBZnvVriUBAqiQv39+QS/oDSCbpv jB2iJt9MiORuWanqZFclzIjobP/pH/aWtwxYQ3M/sZ6AqqXyhCxXkWYG6nGZUVdkrpIE K87txOMrvxRIGFZZe/aMuvZcQpNliy+ctVAtrCLR2+dBOh86/l0miWGH3XJ7JAC6dH83 WpniqWO6/MLtkEQ2wgTLlQtCT+wv1ABrg88pOWvZ0nwpPlmP/KeZiBExnPdYpFSD4bNC vBmz0RduO8OQlpAIliR3Q9kNYDXsP+mxzcKYQL1aai2g+LxE93gxVk4DE+QzxE1uwUs9 HErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FedSdfxyHFMRl1czPEJez6I0uab395A18x1KJLORJRc=; b=e29soqkDVxTxrazbT+x0m29BFmsWxQNBTE/ETpl2FNVNalw/cVuTjH/ZAfvDWaeGgZ Sjk4TnIAd43YqVzxbLbzyAEvYUHV9JiD44DD99I7EPL4kTVrr9O7mxpKfJSl9pCpaMu6 YV8GD0CGFAjVDa4gbmEWgx7iUwI9OHu9tiKH8qTs3zcjAF0tJ2renYZ2VyC/2H/V4A4u pyei/joCPl89kxjVRSQuRZpD1YqfSYsOTuVcYm0KJyNLd8cR+uikQ69yHyfrRTVJjT4t 1lkhi07VEI1fHWQDyjk9zcTnuy21kHdVrreXA1IR3wMU1Wu9l9WLAZyUdnZbktH+FZl7 l/OA== X-Gm-Message-State: ALyK8tJ84wCUnmy5FBNIgysDgj+bZLTxV94CC2MaoJfK+O+3E3hF2Bi3K21sQXI1NJQTKEBw X-Received: by 10.98.200.81 with SMTP id z78mr17231070pff.143.1467255071710; Wed, 29 Jun 2016 19:51:11 -0700 (PDT) Original-Received: from raman-glaptop2 (c-73-170-121-60.hsd1.ca.comcast.net. [73.170.121.60]) by smtp.gmail.com with ESMTPSA id p187sm734039pfg.67.2016.06.29.19.51.08 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 29 Jun 2016 19:51:09 -0700 (PDT) In-Reply-To: (Robert Weiner's message of "Wed, 29 Jun 2016 16:54:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204970 Archived-At: Along those lines I had once suggested that we make (interactive-p) a synonym for (called-interactively-p 'interactive) but it got rejected through a complex email thread. That might still be worth doing. Also, called-interactively-p as it exists has other issues -- specifically fails when called within advice forms. See related email discussion from about a year ago -- as well as comments in the advice implementation. --- for the record interactive-p used to work fine in advice forms for nearly 18 years --- it broke sometime during the transition from advice.el to advice.el plus nadvice.el and the arrival of called-interactively-p, all of which (relatively speaking) happened at around the same time. --