[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it time to create more subdirs in lisp/?
From: |
Stefan Monnier |
Subject: |
Re: Is it time to create more subdirs in lisp/? |
Date: |
Fri, 02 Sep 2011 09:01:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> I've been in proprietary projects with around 20,000 files in them, all
> in directories with ~8-10 files in each. Visiting a file in such a
> hierarchy is a nightmare, as you have to enter, perhaps, 6 successive
> directory names to get there. That's a lot of names to have to navigate
> through.
I think we all agree on this, yes. Luckily in Emacs we get to choose
"f(l)at" trees which work best with our default file-selector. OTOH it
would also be good for Emacs to be able to better handle such
deep hierarchies.
Currently, the file-selector offers the possibility to type "~/e/e/e
TAB" or even "~/eee TAB" to mean "~/etc/emacs/emacs.el", but it'd be
good to be able to go further (maybe not as default, but via some new
completion-style).
E.g. to allow "**/fo TAB" to complete to some file starting with "fo" in
some subdirectory. Or maybe even to let "a/fo TAB" to complete to
a file with prefix "fo" in a subdirectory of a subdirectory with prefix
"a" (e.g. "toto/apple/blabla/foo.el").
The difficult part is likely to be how to handle the performance issue,
e.g. make sure we only do recursive searches when the user intends to do
such a thing. Also probably do the search breadth-first to avoid
spending too much time in some deep irrelevant subtree.
Stefan
- Is it time to create more subdirs in lisp/?, Deniz Dogan, 2011/09/01
- Re: Is it time to create more subdirs in lisp/?, Juri Linkov, 2011/09/01
- Re: Is it time to create more subdirs in lisp/?, Stefan Monnier, 2011/09/01
- Re: Is it time to create more subdirs in lisp/?, Alan Mackenzie, 2011/09/02
- Re: Is it time to create more subdirs in lisp/?, Richard Riley, 2011/09/02
- Re: Is it time to create more subdirs in lisp/?,
Stefan Monnier <=
- Re: Is it time to create more subdirs in lisp/?, chad, 2011/09/02
- Re: Is it time to create more subdirs in lisp/?, Kan-Ru Chen, 2011/09/04
- Re: Is it time to create more subdirs in lisp/?, Stefan Monnier, 2011/09/06
- Re: Is it time to create more subdirs in lisp/?, Nix, 2011/09/20
- Re: Is it time to create more subdirs in lisp/?, Stephen J. Turnbull, 2011/09/20
- Re: Is it time to create more subdirs in lisp/?, chad, 2011/09/21
Re: Is it time to create more subdirs in lisp/?, Bill Wohler, 2011/09/02