From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Tue, 20 Sep 2011 14:58:46 +0100 Message-ID: <87obyfl3hl.fsf@spindle.srvr.nix> 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 1316527149 17543 80.91.229.12 (20 Sep 2011 13:59:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2011 13:59:09 +0000 (UTC) Cc: Alan Mackenzie , chad , Deniz Dogan , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 20 15:59:01 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 1R60qf-0003oV-8P for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2011 15:58:57 +0200 Original-Received: from localhost ([::1]:46556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60qe-0003rJ-QN for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2011 09:58:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60qc-0003r6-Lz for emacs-devel@gnu.org; Tue, 20 Sep 2011 09:58:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R60qY-0003oS-OB for emacs-devel@gnu.org; Tue, 20 Sep 2011 09:58:54 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:33868 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R60qY-0003oI-E3 for emacs-devel@gnu.org; Tue, 20 Sep 2011 09:58:50 -0400 Original-Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.4/8.14.3) with ESMTP id p8KDwkEA011375; Tue, 20 Sep 2011 14:58:46 +0100 Original-Received: (from nix@localhost) by esperi.org.uk (8.14.4/8.12.11/Submit) id p8KDwkHW031901; Tue, 20 Sep 2011 14:58:46 +0100 Emacs: featuring the world's first municipal garbage collector! In-Reply-To: (Stefan Monnier's message of "Tue, 06 Sep 2011 14:13:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-DCC-wuwien-Metrics: spindle 1290; Body=5 Fuz1=5 Fuz2=5 X-MIME-Autoconverted: from 8bit to quoted-printable by mail.esperi.org.uk id p8KDwkEA011375 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 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:144117 Archived-At: On 6 Sep 2011, Stefan Monnier outgrape: >>> [=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 mo= del. > > 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 onl= y > using prefix completion and/or cycling in my experience. It's... grown (perhaps 'metastasized' would be a better term). ls l/pcm*el can autocomplete to lisp/pcomplete.el easily. It does prefix, suffix and infix completion, environment vbariable completion, fuzzy spelling correction, automatic recursion, you name it. It can display menus, even multilevel ones, grouped in various ways as well as using prefix completion or cycling. You may find 'compinstall' interesting to play with. > 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). Shall we say that the zsh autocompletion system is now largely written *in* zsh, has multiple layers (high-level and low-level, with the high- level layer providing the display frontends to the low-level potential- completion-computation layer) and occupies more than half the 500-page manual. It's the single most hilariously overdesigned completion system I have ever heard of, knocking Emacs off the perch which should rightly belong to it :) --=20 NULL && (void)