Re: ido.el reports possible completions wrongly

2006-12-15 Thread Kim F. Storm
Chris Moore <[EMAIL PROTECTED]> writes:

> Chris Moore <[EMAIL PROTECTED]> writes:
>
>> [EMAIL PROTECTED] (Kim F. Storm) writes:
>>
>>> Look at ido-max-directory-size.
>>> In this case C-a is your friend.
>>
>> The bug is that the message says:
>>
>>   "There are no possible completions of what you have typed"
>>
>> when in fact there are possible completions of what I have typed.

I just fixed this, so it will actually load the directory (despite it
is [too big] and show you the possible completions.

>
> I just noticed also, that if I immediately type a 2nd '?':
>
>   C-x C-f / u s r / b i n / g n u p l o ? ?
>
> then I see a giant list of 'possible completions':

This is what you would normally get once you have scrolled through the
list of possible matches the first time (i.e. all directory entries).

So since the first ? (and subsequent ?'es to scroll the completion
buffer) now works correctly, this also works ok now.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Chris Moore
Chris Moore <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Kim F. Storm) writes:
>
>> Look at ido-max-directory-size.
>> In this case C-a is your friend.
>
> The bug is that the message says:
>
>   "There are no possible completions of what you have typed"
>
> when in fact there are possible completions of what I have typed.

I just noticed also, that if I immediately type a 2nd '?':

  C-x C-f / u s r / b i n / g n u p l o ? ?

then I see a giant list of 'possible completions':

  Click  on a completion to select it.
  In this buffer, type RET to select the completion near point.

  Possible completions are:
  ./   ../
  411toppm 7z
  7za  7zr
  822-date AbiWord-2.4

This must be a bug, right?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Chris Moore
[EMAIL PROTECTED] (Kim F. Storm) writes:

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

The bug is that the message says:

  "There are no possible completions of what you have typed"

when in fact there are possible completions of what I have typed.

Better behaviour would be to either modify the message to indicate
that it isn't known whether there are possible completions because we
didn't look yet, or better, to look (like what happens when SPC or TAB
is pressed).

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

OK, accepted.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Leo
* [2006.12.11 15:47 +0100] Juanma Barranquero wrote:
   ^^
> On 12/11/06, Leo <[EMAIL PROTECTED]> wrote:
>
>> ido-max-directory-size default to 3 and the number of files in
>> /usr/bin/ on my system is 2067.
>
> Documentation:
> *Maximum size (in bytes) for directories to use ido completion.
> If you enter a directory with a size larger than this size, ido will
> not provide the normal completion.  To show the completions, use C-a.
>
> Note the "size (in bytes)".
>
>/L/e/k/t/u

I realized that after my post :-)

-- 
Leo  (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Juanma Barranquero

On 12/11/06, Leo <[EMAIL PROTECTED]> wrote:


ido-max-directory-size default to 3 and the number of files in
/usr/bin/ on my system is 2067.


Documentation:
*Maximum size (in bytes) for directories to use ido completion.
If you enter a directory with a size larger than this size, ido will
not provide the normal completion.  To show the completions, use C-a.

Note the "size (in bytes)".

   /L/e/k/t/u


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Leo
* [2006.12.11 14:37 +0100] Kim F. Storm wrote:
   
>>   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.

ido-max-directory-size default to 3 and the number of files in
/usr/bin/ on my system is 2067. But I am still seeing this problem.

-- 
Leo  (GPG Key: 9283AA3F)



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: ido.el reports possible completions wrongly

2006-12-11 Thread Kim F. Storm
Chris Moore <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug