From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Leaving out non-applicable commands on Mx Date: Sat, 9 Jan 2016 15:05:50 +0600 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; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1452330381 13249 80.91.229.3 (9 Jan 2016 09:06:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2016 09:06:21 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 09 10:06:20 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 1aHpTX-0003Ul-KF for ged-emacs-devel@m.gmane.org; Sat, 09 Jan 2016 10:06:19 +0100 Original-Received: from localhost ([::1]:39767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHpTT-0005bm-NH for ged-emacs-devel@m.gmane.org; Sat, 09 Jan 2016 04:06:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHpTQ-0005bW-8y for emacs-devel@gnu.org; Sat, 09 Jan 2016 04:06:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHpTP-00064V-7Z for emacs-devel@gnu.org; Sat, 09 Jan 2016 04:06:12 -0500 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:33568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHpTO-00063j-Vi for emacs-devel@gnu.org; Sat, 09 Jan 2016 04:06:11 -0500 Original-Received: by mail-lf0-x233.google.com with SMTP id m198so42492742lfm.0 for ; Sat, 09 Jan 2016 01:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=voXLsJmmPyLEgSZKWRZIV6tFVPUx1QXjGbDsJYANKrA=; b=ZzWIaWRIJv/5Y4qxrz3AQbenhTujwc+uoMuNJLTFAfl6ep10KDsgjdY2y6b6S0eBn+ ZtMG1RCdMbRTlmnCUoJ1Vw4rEkvxyZsK2Pnv6Cbc0dshQR0r1YFaBLHE4yQCr7XcswFg z2IIHm+JD/0ejHU21sEZk4ZaTpOMJKDJGCyWlNKKzofTwTIlf3ARhXO+wgvrVCwFYsip ZRaQjm6QtTvJQsEWguIEnYNVsvvg4Hz34PoU8G0gqfuBKn8iVq20Nu8q38QE74RqpVsX 0RMFAn7gc0ITwnZi2CAAaC0cbqX5/S0d4jbA6MAHWAqEIw+uwX7yRkxqaQMkG3On0Q84 zvhg== X-Received: by 10.25.154.9 with SMTP id c9mr34642878lfe.79.1452330370080; Sat, 09 Jan 2016 01:06:10 -0800 (PST) Original-Received: by 10.112.129.163 with HTTP; Sat, 9 Jan 2016 01:05:50 -0800 (PST) In-Reply-To: <4002fc97-5629-4367-8b8f-48b659fefdce@default> X-Google-Sender-Auth: 9KbrrqWCheQQh--L3myYA4ksg90 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::233 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:197891 Archived-At: On Sat, Jan 9, 2016 at 9:08 AM, Drew Adams wrote: > And that's also a feature of some "advanced completion > systems". But it should not (except by user option) be > the default behavior. The default behavior should be all > candidates matching the input patterns and the completion > predicate - no other "helpful" filtering unless requested > by the user. Emacs already contains a feature that filters out many defined functions from M-x. It=E2=80=99s called (interactive). Functions that are n= ot declared interactive are not offered as completion candidates, and in fact cannot be executed with M-x. This proposal takes (interactive) to a new level, by allowing authors to specify conditions under which a function should be considered interactive. True, some authors will get it wrong and specify too strict conditions. They will eventually be fixed. Also, M-: is still there as an escape hatch.