From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Ordering of command completions Date: Sun, 07 Dec 2014 22:06:05 +0100 Message-ID: <87iohntbk2.fsf@wanadoo.es> References: <87zjaztimi.fsf@wanadoo.es> <0c854b9e-16a9-4147-8a82-3ad94b6790f0@default> <87r3wbtfn9.fsf@wanadoo.es> <2559f693-8b4b-40c7-b3b4-4b5d932c377c@default> <87mw6ztdhc.fsf@wanadoo.es> <99caf488-cdcb-4897-9a94-393bcbf36326@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417986415 28170 80.91.229.3 (7 Dec 2014 21:06:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 21:06:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 07 22:06:48 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 1Xxj2U-0007PY-IB for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 22:06:46 +0100 Original-Received: from localhost ([::1]:59153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxj2U-0000j7-0G for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 16:06:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxj2A-0000i8-Op for emacs-devel@gnu.org; Sun, 07 Dec 2014 16:06:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxj25-0000e5-4W for emacs-devel@gnu.org; Sun, 07 Dec 2014 16:06:26 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxj24-0000e1-TS for emacs-devel@gnu.org; Sun, 07 Dec 2014 16:06:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xxj23-0007CG-O4 for emacs-devel@gnu.org; Sun, 07 Dec 2014 22:06:19 +0100 Original-Received: from 129.red-88-10-128.dynamicip.rima-tde.net ([88.10.128.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Dec 2014 22:06:19 +0100 Original-Received: from ofv by 129.red-88-10-128.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Dec 2014 22:06:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 129.red-88-10-128.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:HJVhfqv0WkkKHymdWtDhlrlIO0Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:179302 Archived-At: Drew Adams writes: [snip] > Just kidding. If Gnus declares its stuff invocable by `M-x' > only when in some Gnus mode, I agree that that is an improvement. > > But in that case, it should not just be about sort order. The > noise should be removed altogether, if it is truly inappropriate > outside of some context. The idea discussed on this sub-thread (sorry, OP) is about not listing those candidates on M-x. > Sounds good to me, I guess. Is there a way for a user to advise > such a command to change or remove the declaration? Is `declare' > amenable to advising? Dunno. What scenario do you have on mind? As a last resort, the user could define a new interactive function, without associated restrictions, that simply calls the "hidden" one. Besides, the filtering would be optional, of course.