From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: Making `interactive' conditional Date: Mon, 11 Jan 2016 14:08:35 +0000 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> , <87r3hoehmx.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452521361 17372 80.91.229.3 (11 Jan 2016 14:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2016 14:09:21 +0000 (UTC) To: =?iso-8859-1?Q?=D3scar_Fuentes?= , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 11 15:09:10 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 1aId9b-0002hy-Kz for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2016 15:09:03 +0100 Original-Received: from localhost ([::1]:54430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aId9a-0001fK-QH for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2016 09:09:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aId9H-0001UT-LU for emacs-devel@gnu.org; Mon, 11 Jan 2016 09:08:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aId9B-0008L0-Kr for emacs-devel@gnu.org; Mon, 11 Jan 2016 09:08:43 -0500 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:41158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aId9B-0008KY-D3 for emacs-devel@gnu.org; Mon, 11 Jan 2016 09:08:37 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id u0BE8Zd9010725; Mon, 11 Jan 2016 07:08:35 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id A3F1913BBD45; Mon, 11 Jan 2016 07:08:35 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from ECS-EXG-P-CH05.win.lanl.gov (ecs-exg-p-ch05.win.lanl.gov [128.165.106.15]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 8E20613BBD36; Mon, 11 Jan 2016 07:08:35 -0700 (MST) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.250]) by ECS-EXG-P-CH05.win.lanl.gov ([128.165.106.15]) with mapi id 14.03.0266.001; Mon, 11 Jan 2016 07:08:35 -0700 Thread-Topic: Making `interactive' conditional Thread-Index: AQHRTDwgveca9OTg3U6agyxaEz24FZ72WUer In-Reply-To: <87r3hoehmx.fsf@wanadoo.es> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.106.110] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.21, 1.0.33, 0.0.0000 definitions=2016-01-11_09:2016-01-11, 2016-01-11, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 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:198025 Archived-At: > (and (not read-only) visiting-file)=0A= =0A= So now you can't invoke it in *scratch*?=0A= =0A= Of course, you can come up with another refinement to the condition (e.g., = mode-class). My point is merely that writing these predicates is very subt= le when the standard is not "is this command likely to work when invoked" (= in which case you wouldn't be bothering with "visiting-file") but rather "i= s the user plausibly looking for this command in the list".=0A= =0A= Davis=0A=