From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: How does M-x completion works Date: Wed, 24 Feb 2010 08:24:13 +1100 Organization: Rapt Technologies Message-ID: <877hq34pdu.fsf@lion.rapttech.com.au> References: <4b82ff9b$0$279$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1266961255 11962 80.91.229.12 (23 Feb 2010 21:40:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 21:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 22:40:52 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nk2Us-0001Yt-OZ for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 22:40:51 +0100 Original-Received: from localhost ([127.0.0.1]:46640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nk2Us-0001N0-43 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2010 16:40:50 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.astraweb.com!border1.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:rI+yq0sDUOGEjHqIBvRH88AfZ/A= Original-Lines: 53 Original-NNTP-Posting-Host: b61c92fd.news.astraweb.com Original-X-Trace: DXC=Nb6d0WjBQ4Bo; ii5o?B_6AL?0kYOcDh@Ja30YlQ[TC>J`T?X>JDBSaG^J:1TlA[]=B@R`U9dCaf`H Original-Xref: news.stanford.edu gnu.emacs.help:177038 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72075 Archived-At: Andreas Röhler writes: > Hibou57 (Yannick Duchêne) wrote: >> Le Tue, 23 Feb 2010 16:18:05 +0100, Andreas Röhler >> a écrit: >>> Than it's pretty probable it consults the tags-table. You have delete >>> it from there. >> Yes, I have no tags file (you've mint I've deleted it), then so, which >> list does Emacs use in such circumstance ? An internal list shipped >> inside of Emacs, isn't it ? (I suppose) >> > > Rather not. > > Hhm, you said you've done search already. If not, I'd recommend a > M-y grep-find > find . -type f -name "*.el" -print0 | xargs -0 -e grep -nH -e "allout" > > But you said, it's done. > > Did you restart Emacs after deletions? > > Start emacs -Q > > Then it should be gone. > Afterwards load your .emacs step by step and see, if its loaded again. > > HTH > If the OP is talking about M-x without having entered any text at all, the completions buffer will be large because essentially, it will list *all* possible commands that emacs knows about which can be entered interactively i.e via M-x The problem here is that this is a poor use of completion . You need to give it a chance and enter at least a letter to narrow down the search for possible completions. Trying to remove all definitions of interactive functions that are thought to be unnecessary will fail and is a pointless exercise. It will never result in a small/convenient number of commands being shown with just M-x . I'd suspect that even just the C built-in commands alone would likely be too numerous and you cannot remove them. This approach is essentially futile. Tim > > -- tcross (at) rapttech dot com dot au