all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: chad <yandros@MIT.EDU>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Alan Mackenzie <acm@muc.de>, Deniz Dogan <deniz@dogan.se>,
	emacs-devel@gnu.org
Subject: Re: Is it time to create more subdirs in lisp/?
Date: Fri, 2 Sep 2011 10:52:37 -0700	[thread overview]
Message-ID: <99145281-4D63-4989-AE4E-954AF12FF96D@mit.edu> (raw)
In-Reply-To: <jwvk49r14x0.fsf-monnier+emacs@gnu.org>


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	other threads:[~2011-09-02 17:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01  5:44 Is it time to create more subdirs in lisp/? Deniz Dogan
2011-09-01  8:35 ` Juri Linkov
2011-09-02  2:17   ` Richard Stallman
2011-09-02  1:59 ` Stefan Monnier
2011-09-02  9:11 ` Alan Mackenzie
2011-09-02  9:39   ` Richard Riley
2011-09-02 10:13     ` Deniz Dogan
2011-09-02 13:01   ` Stefan Monnier
2011-09-02 17:52     ` chad [this message]
2011-09-04 15:30       ` Kan-Ru Chen
2011-09-06 18:13       ` Stefan Monnier
2011-09-20 13:58         ` Nix
2011-09-21  1:24           ` Stephen J. Turnbull
2011-09-21  9:40           ` chad
2011-09-02 16:26   ` Bill Wohler

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=99145281-4D63-4989-AE4E-954AF12FF96D@mit.edu \
    --to=yandros@mit.edu \
    --cc=acm@muc.de \
    --cc=deniz@dogan.se \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.