From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Making `interactive' conditional Date: Mon, 11 Jan 2016 16:13:20 +0100 Message-ID: References: <87mvszdp6b.fsf@gnus.org> <8737u9kv6f.fsf@russet.org.uk> <87fuy7hdc6.fsf_-_@wanadoo.es> <87bn8vh8q4.fsf@wanadoo.es> <4002fc97-5629-4367-8b8f-48b659fefdce@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452525474 23663 80.91.229.3 (11 Jan 2016 15:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2016 15:17:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 11 16:17:47 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 1aIeE6-0004ph-Lr for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2016 16:17:46 +0100 Original-Received: from localhost ([::1]:55061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIeE5-0007h8-Uk for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2016 10:17:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIeAP-0001gY-2n for emacs-devel@gnu.org; Mon, 11 Jan 2016 10:13:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIeAJ-0008TH-Dm for emacs-devel@gnu.org; Mon, 11 Jan 2016 10:13:57 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:47902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIeAJ-0008Rt-6n; Mon, 11 Jan 2016 10:13:51 -0500 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aIe9p-0005Rm-8w; Mon, 11 Jan 2016 16:13:21 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUnHSMuDCBGBirOytAI BgNNBzAWAwpsB0QYBAt2BkocBQ4dBA5NCDA1CSJKBSzvyPzHAAABeElEQVQ4jZWSsU7DMBCGT+IV YKjYuiKhSFRiRcIK7XNQRemOFGVhASFTJiJCa6p2AIYkIyIqaTYWXoClD8DQJc/A2bFD4zgD/xBb +fXdf2cbjsw6hv8aFtgXRGowLdfRA//Ci4XfId+ya/HfZmKB8x7umwCBk54RIHBqyYSnGkBgxys3 7FWuQ2lcWfWWHmWPMJoZAQJZsJ0wUAASIoy9y5Z4a7aDgg4zCzPyPGf7q1VEx3fsgwol4wQ6IVae 6QmYsQ6rBDV81W4FTMmWkbWFd4pN+FMUh93uJuj+6bO93cyfeEJqlYKl/10/3vIIbiCb1++jMm4n XktGa/iCbB2vkkOloYavMijEgQHgBrk0AIJYmAB3LEo1AIeWpXQAjYiXaia4NOEX5e9q/7FSgnOc 3WtA36H4GNZf6ngruYKI2Zzo6nMjZTpAbFtkGACHzxGrG/X1V9J2H88HjVL42l0KqT52KQp7RsON 4G1hBCJIQxOAcywDg2HT5BdCx6g7zCOGCQAAAABJRU5ErkJggg== In-Reply-To: (Richard Stallman's message of "Sun, 10 Jan 2016 22:46:18 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aIe9p-0005Rm-8w MailScanner-NULL-Check: 1453130002.17478@flcDEeiem0kQxjldT1z3Yg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:198028 Archived-At: Richard Stallman writes: > I think it is reasonable to omit commands from M-x's completion, > but refusing to run them is going to far in imposing on the user. We could provide some sort of mechanism to allow running even if the mode/predicate says we shouldn't, but I'm not sure that's all that helpful. For instance, if it's a command that doesn't run in read-only buffers (that today has `barf-if-read-only' in the code of the command) has a :when predicate that says the same thing, does it make sense to offer the user to override that just because it's now been lifted up to the `interactive' declaration? Perhaps it does. I'm not sure, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no