[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does M-x completion works
From: |
Andreas Röhler |
Subject: |
Re: How does M-x completion works |
Date: |
Mon, 22 Feb 2010 18:42:58 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Yannick wrote:
> Hi, and thanks for the reply,
>
> On Mon, 22 Feb 2010 16:49:56 +0100, Andreas Röhler
> <andreas.roehler@easy-emacs.de> wrote:
>>> I was stripping off from my Emacs on Windows, every things I do not need
>>> or use (or which is not design as I would like). But something does not
>>> seems logical to me : as an example, I have removed the Allout package
>>> (allout.el), Ok, but when I do a M-x TAB, allout-mode is still there
>>> (and obviously fails if I hit ENTER, as I've removed it). I've run
>>> search for allout inclusions in all *.el files, but this did not solve
>>> the trick.
>>>
>>
>> M-x unload-feature
> This was not the purpose : as an example, I've removed, deleted, the
> allout.el file, but allout-mode still appears in completion of M-x. This
> was the reason why I was wondering if weither or not the completion list
> is hard-coded. I first though Emacs was scanning modules at startup, but
> this does not seems to do so, as the allout.el file is no more there,
> but Emacs still think it's there.
Emacs is a complex machine.
Maybe have a look at these helper-functions, which are in daily use here:
http://repo.or.cz/w/elbb.git/blob/HEAD:/code/Go-to-Emacs-Lisp-Definition.el
Good luck
Andreas
>
>>> Do some one know how M-x completion works ? Is it hard coded in the
>>> Emacs executable ?
>>
>> Try
>> C-h complete- TAB
>>
>> for example.
> Thanks, I know about Ctrl-h ;)
>
>>> By the way, is there somewhere a document which would describe the base
>>> line of the Emacs architecture ? This may be useful to me to figure out
>>> what is really optional and what is not.
>>>
>>> Have a nice day
>>>
>>
>> To dig into a litte bit further:
>>
>> Take a course of the manual first
>> C-h i m emacs
>> Then have a look at the elisp intro
>> C-h i m Emacs Lisp Intro
>>
>> Finally
>> C-h i m Elisp
>>
>> Welcome
>>
>> Andreas
> I've already read about half of the Emacs Lisp reference (still going
> further), but so far, I did not found anything about the implementation
> of this feature. I may have a deeper look at the source again. While by
> the way, scanning files about the "allout" string (to keep the same
> example), I've found the Emacs executable contains occurrences of this
> text. So I suppose this is hard-coded, and not part of the Lisp
> implementation.
>
> I had a look at XEmacs, to see if it's the same with this one, but
> XEmacs seems less cleaner to me (at least, I don't like it as much as
> the classic Emacs).
>
> I'm trying to have a bare minimum Emacs for Windows (as smallest as
> possible), to be shipped with some sources which is just to be viewed
> with one major mode I'm trying to create, that's the reason why of my
> strange "tweaks" (any way, peoples who may want the full Emacs, will
> still be able to get it at the official location).
>
> Thanks again
>
- How does M-x completion works, Yannick Duchêne, 2010/02/22
- Re: How does M-x completion works, Colin S. Miller, 2010/02/22
- Re: How does M-x completion works, Yannick Duchêne, 2010/02/23
- Re: How does M-x completion works, Barry Margolin, 2010/02/23
- Re: How does M-x completion works, Yannick Duchêne, 2010/02/23
- Re: How does M-x completion works, Andreas Röhler, 2010/02/23
- Message not available
- Re: How does M-x completion works, Yannick Duchêne, 2010/02/23
- Re: How does M-x completion works, Andreas Röhler, 2010/02/23
- Re: How does M-x completion works, Kevin Rodgers, 2010/02/23
- Re: How does M-x completion works, Andreas Röhler, 2010/02/26
- Message not available
- Re: How does M-x completion works, Yannick Duchêne, 2010/02/26