From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Tue, 06 Sep 2011 14:13:34 -0400 Message-ID: References: <4E5F1BA2.8040506@dogan.se> <20110902091157.GA2770@acm.acm> <99145281-4D63-4989-AE4E-954AF12FF96D@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1315332838 28143 80.91.229.12 (6 Sep 2011 18:13:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 18:13:58 +0000 (UTC) Cc: Alan Mackenzie , Deniz Dogan , emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 20:13: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 1R109b-0001p3-J1 for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2011 20:13:47 +0200 Original-Received: from localhost ([::1]:53713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R109a-0003PS-Nw for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2011 14:13:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R109U-0003ID-0B for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:13:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R109S-000562-Jq for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:13:39 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R109S-00055l-Bd for emacs-devel@gnu.org; Tue, 06 Sep 2011 14:13:38 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p86IDY56018959; Tue, 6 Sep 2011 14:13:34 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 713D81300D2; Tue, 6 Sep 2011 14:13:34 -0400 (EDT) In-Reply-To: <99145281-4D63-4989-AE4E-954AF12FF96D@mit.edu> (chad's message of "Fri, 2 Sep 2011 10:52:37 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3972=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3972> : streams <679102> : uri <952922> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:143783 Archived-At: >> [=E2=80=A6] 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. I'm a long time zsh user, but AFAIK zsh has fairly simple completion support. You can program the completion system =C3=A0 la pcomplete (i.e. to instruct zsh which completion table to use for the various args of the commands you use), but the completion itself is only using prefix completion and/or cycling in my experience. If there's more to it, I'd love to hear about it (admittedly, I haven't looked at zsh's doc in recent years so I may have missed such new features). Stefan