From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Fri, 2 Sep 2011 10:52:37 -0700 Message-ID: <99145281-4D63-4989-AE4E-954AF12FF96D@mit.edu> References: <4E5F1BA2.8040506@dogan.se> <20110902091157.GA2770@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314985972 25187 80.91.229.12 (2 Sep 2011 17:52:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 17:52:52 +0000 (UTC) Cc: Alan Mackenzie , Deniz Dogan , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 19:52:48 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QzXv5-0003Ng-IR for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 19:52:48 +0200 Original-Received: from localhost ([::1]:52961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzXv4-0007K5-WC for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 13:52:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzXv1-0007GT-Ju for emacs-devel@gnu.org; Fri, 02 Sep 2011 13:52:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzXv0-0005S0-Fg for emacs-devel@gnu.org; Fri, 02 Sep 2011 13:52:43 -0400 Original-Received: from dmz-mailsec-scanner-2.mit.edu ([18.9.25.13]:59746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzXv0-0005Rq-Dn for emacs-devel@gnu.org; Fri, 02 Sep 2011 13:52:42 -0400 X-AuditID: 1209190d-b7be0ae000000a16-7a-4e61171ffe74 Original-Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 4C.47.02582.F17116E4; Fri, 2 Sep 2011 13:49:19 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id p82Hqf5t004844; Fri, 2 Sep 2011 13:52:41 -0400 Original-Received: from [10.0.1.30] (c-67-183-32-38.hsd1.wa.comcast.net [67.183.32.38]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p82HqbbM003605 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 2 Sep 2011 13:52:39 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIKsWRmVeSWpSXmKPExsUixCmqrCsvnuhn8G6FlEXDSymL/VdmsVs8 XvCE1eLbr63MDiwe1090sXq0TTPzWP9mL5PH7gOuASxRXDYpqTmZZalF+nYJXBn7fnxnKvjL UfF7xQPGBsYW9i5GDg4JAROJtyvsuxg5gUwxiQv31rN1MXJxCAnsY5SYd+sgM4SznlHi+L4j UJkTTBLvHzYyg7QIC1hIXDt2GmwSr4CxxOt/TCBhZgE9iR3Xf7GChNkEZICmaoCEOYF23Zx4 BqyERUBFYt7JxYwgJcwC0RL3JqhDdGpLLFv4Gmw4r4CVxIVLe8BsIYF8iS3rv7CA2CICuhIn vp1lhbhZXmJxy2fGCYyCsxBumIXkhllIpi5gZF7FKJuSW6Wbm5iZU5yarFucnJiXl1qka6SX m1mil5pSuokRHNqSvDsY3x1UOsQowMGoxMN74UeCnxBrYllxZe4hRkkOJiVRXi9gZAjxJeWn VGYkFmfEF5XmpBYfYpTgYFYS4S3nBcrxpiRWVqUW5cOkpDlYlMR5C3c4+AkJpCeWpGanphak FsFkZTg4lCR4/UCGChalpqdWpGXmlCCkmTg4QYbzAA23BKnhLS5IzC3OTIfIn2LU5Th6d+Fx RiGWvPy8VClxXiWQIgGQoozSPLg5sJT0ilEc6C1hiFE8wHQGN+kV0BImoCX/tONBlpQkIqSk GhjPujdpTPXa2ua8e0vik89vnHROM9W8sPr+4Edk18/vRQdm7eW/WOi2w3mVIevMPvf9gVPX xf1clH5m1eFAh6tRhzLKRVjy76q16y1X0Lhjm3vW1kJEWV+x7vny+f2HJl6KCP28 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 18.9.25.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143728 Archived-At: On Sep 2, 2011, at 6:01 AM, Stefan Monnier wrote: > [=85] OTOH it would also be good for Emacs to be able to better > handle such deep hierarchies. >=20 > 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. >=20 > 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"). >=20 > 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. >=20 >=20 > Stefan >=20