[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: chad
Subject: Re: Is it time to create more subdirs in lisp/?
Date: Fri, 2 Sep 2011 10:52:37 -0700

On Sep 2, 2011, at 6:01 AM, Stefan Monnier wrote:
> […] 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).

zsh has a completion system like this with pretty nice feature set and a fair 
bit of real-world experience, if anyone is looking for a model.

> 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

reply via email to

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