emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ido.el reports possible completions wrongly


From: Kim F. Storm
Subject: Re: ido.el reports possible completions wrongly
Date: Mon, 11 Dec 2006 14:37:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Chris Moore <address@hidden> writes:

> Using this 2 line .emacs file:
>
>   (require 'ido)
>   (ido-mode t)
>
> and with hundreds of files in /usr/bin/, including /usr/bin/gnuplot,
> typing:
>
>   C-x C-f / u s r / b i n / g n u p l o ?
>
> shows me a message "There are no possible completions of what you have
> typed", but hitting SPC or TAB goes on to complete it to gnuplot, as
> expected.  Which typing the "gnuplo" part, I see "[Too big]" in the
> minibuffer after the cursor.

Look at ido-max-directory-size.
In this case C-a is your friend.

>
> Note also that immediately before typing the "g" in the above input,
> the minibuffer displays:
>
>   Find file: /usr/bin/{bin/ | sbin/}
>
> suggesting that /usr/bin/ contains subdirectories called 'bin' and
> 'sbin' (which it doesn't).  

No, it suggests that /usr contains two directories 'bin' and 'sbin' that
match what you wrote.

>                             Typing the '/' after 'bin' should have
> made ido move on to the contents of the /usr/bin/ directory, but since
> it's a big directory, it doesn't.

No, it doesn't go to bin/ since there is another possible completion.

You can modify this by setting ido-enter-matching-directory to 'first.

So no errors here :-)

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]