From: "Sean O'Rourke" <sorourke@cs.ucsd.edu>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Allow prefix arg for ido-find-*file* (maybe)
Date: Fri, 24 Sep 2004 18:54:37 -0700 [thread overview]
Message-ID: <m27jqjnmea.wl%sorourke@cs.ucsd.edu> (raw)
In-Reply-To: <m3y8izdx4i.fsf@kfs-l.imdomain.dk>
At Sat, 25 Sep 2004 02:13:01 +0200,
no-spam@cua.dk (Kim F. Storm) wrote:
> It only works on systems (e.g GNU/Linux) where file-attributes returns
> a sensible size for directories. So it probably fails on Windoze...
Thanks for looking into this. It looks like it does the trick, though
the default threshhold is way too high to have an effect -- something
like 4096 or 8192 might be better. file-attributes seems sensical on
Darwin as well, though I'd rather specify a (possibly rough) number of
files, and
(length (directory-files DIR nil nil t))
isn't that slow -- it's all the filtering and fontification done by
ido that slows things down. FWIW, on Darwin the second element of
file-attributes seems to be the number of files. Weird.
/s
next prev parent reply other threads:[~2004-09-25 1:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2739.1095182044.1998.bug-gnu-emacs@gnu.org>
2004-09-25 0:13 ` Allow prefix arg for ido-find-*file* (maybe) Kim F. Storm
2004-09-25 1:54 ` Sean O'Rourke [this message]
[not found] ` <mailman.3966.1096077688.1998.bug-gnu-emacs@gnu.org>
2004-09-26 21:29 ` Kim F. Storm
2004-09-26 22:02 ` Sean O'Rourke
2004-09-14 17:07 Sean O'Rourke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27jqjnmea.wl%sorourke@cs.ucsd.edu \
--to=sorourke@cs.ucsd.edu \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.