From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Ordering of command completions Date: Sun, 7 Dec 2014 10:42:50 -0800 (PST) Message-ID: <0c854b9e-16a9-4147-8a82-3ad94b6790f0@default> References: <87zjaztimi.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 1417977813 30309 80.91.229.3 (7 Dec 2014 18:43:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 18:43:33 +0000 (UTC) To: =?iso-8859-1?B?03NjYXIgRnVlbnRlcw==?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 07 19:43:26 2014 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 1Xxgnl-0003wu-Jn for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 19:43:25 +0100 Original-Received: from localhost ([::1]:58866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxgnl-0005fR-6o for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 13:43:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxgnP-0005f0-2Q for emacs-devel@gnu.org; Sun, 07 Dec 2014 13:43:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxgnD-00089l-9s for emacs-devel@gnu.org; Sun, 07 Dec 2014 13:43:02 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:37463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxgnD-00089d-3d for emacs-devel@gnu.org; Sun, 07 Dec 2014 13:42:51 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sB7IgmVQ003711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 7 Dec 2014 18:42:50 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sB7IgmqG015227 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 7 Dec 2014 18:42:48 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sB7Igmc9015222; Sun, 7 Dec 2014 18:42:48 GMT In-Reply-To: <87zjaztimi.fsf@wanadoo.es> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:179292 Archived-At: > the vast majority of noise on M-x comes from packages > distributed with Emacs. Just what noise are we talking about? Are you referring to the fact that there can be many commands that match your minibuffer input? If so, then the answer (IMHO) is better completion behavior. Packages such as Icicles and Helm let you narrow things down quickly. > > But if we had this mechanism, then `M-x m' would only > > complete to things that are potentially useful in the current > > buffer (or globally), which would be very nice. OK, but it might be better to put that the other way around. Emacs should exclude only candidates that it is *sure* are not appropriate in the current context (which might involve more than which buffer is current). Certainly any command that is bound to a key sequence that is available in the current context should be a candidate. (That's a minimum.) =20 > Yes, and with the right completing engine M-x comes to be > much more effective on terms of efficiency and discoverability. Yes.