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

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

Re: Allow prefix arg for ido-find-*file* (maybe)


From: Kim F. Storm
Subject: Re: Allow prefix arg for ido-find-*file* (maybe)
Date: Sat, 25 Sep 2004 02:13:01 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

"Sean O'Rourke" <address@hidden> writes:

> ido mode is currently unusably slow when finding a file in a large
> directory.  For example, in a directory with ~3000 files,
> `ido-find-file' takes several seconds to come up with a prompt.  When
> you know you're in such a directory, it would be nice to bypass ido
> entirely and fall back to the original `find-file'.  Since the ido
> functions currently don't use a prefix argument, I think that when
> called with a prefix argument, the ido functions should fall back to
> their non-ido equivalents.

I have installed a change to emacs CVS so that ido automatically
avoids doing completion in large directories (see new defcustom
ido-max-directory-size).  To see the completions, use C-a or TAB.

It only works on systems (e.g GNU/Linux) where file-attributes returns
a sensible size for directories.  So it probably fails on Windoze...

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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