From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: Allow prefix arg for ido-find-*file* (maybe) Date: Sat, 25 Sep 2004 02:13:01 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096071206 3393 80.91.229.6 (25 Sep 2004 00:13:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2004 00:13:26 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 25 02:13:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CB0BY-0003DR-00 for ; Sat, 25 Sep 2004 02:13:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CB0Hf-0001gD-AE for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Sep 2004 20:19:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CB0Hd-0001g4-Gt for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2004 20:19:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CB0Hb-0001fQ-NG for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2004 20:19:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CB0Hb-0001fN-Iz for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2004 20:19:23 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CB0BQ-0001yk-AO for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2004 20:13:00 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 3EE76262823; Sat, 25 Sep 2004 02:12:59 +0200 (CEST) Original-To: "Sean O'Rourke" In-Reply-To: (Sean O'Rourke's message of "Tue, 14 Sep 2004 10:07:53 -0700") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9078 "Sean O'Rourke" 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