unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: How does M-x completion works
Date: Wed, 24 Feb 2010 08:24:13 +1100	[thread overview]
Message-ID: <877hq34pdu.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.1728.1266953431.14305.help-gnu-emacs@gnu.org

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Hibou57 (Yannick Duchêne) wrote:
>> Le Tue, 23 Feb 2010 16:18:05 +0100, Andreas Röhler
>> <andreas.roehler@easy-emacs.de> 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 <tab> 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 <tab>. 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


  parent reply	other threads:[~2010-02-23 21:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 12:35 How does M-x completion works Hibou57 (Yannick Duchêne)
2010-02-22 16:34 ` Lennart Borgman
     [not found] ` <4B82A7A4.6050005@easy-emacs.de>
     [not found]   ` <op.u8jfv6nuesn74s@garhos>
2010-02-22 17:42     ` Andreas Röhler
2010-02-22 22:06 ` Colin S. Miller
2010-02-23  7:06   ` Hibou57 (Yannick Duchêne)
2010-02-23  8:36     ` Barry Margolin
2010-02-23  9:25       ` Hibou57 (Yannick Duchêne)
2010-02-23 10:03         ` Andreas Röhler
     [not found]         ` <mailman.1694.1266919287.14305.help-gnu-emacs@gnu.org>
2010-02-23 13:47           ` Hibou57 (Yannick Duchêne)
2010-02-23 15:18             ` Andreas Röhler
2010-02-24  3:44               ` Kevin Rodgers
2010-02-26 13:12                 ` Andreas Röhler
     [not found]               ` <mailman.1758.1266983111.14305.help-gnu-emacs@gnu.org>
2010-02-26 11:58                 ` Hibou57 (Yannick Duchêne)
     [not found]             ` <mailman.1706.1266938167.14305.help-gnu-emacs@gnu.org>
2010-02-23 17:17               ` Hibou57 (Yannick Duchêne)
2010-02-23 19:32                 ` Andreas Röhler
     [not found]                 ` <mailman.1728.1266953431.14305.help-gnu-emacs@gnu.org>
2010-02-23 21:24                   ` Tim X [this message]
2010-02-24  4:08                     ` Kevin Rodgers
2010-02-24 20:10         ` Stefan Monnier
2010-02-24  4:10     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hq34pdu.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).