From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kan-Ru Chen Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Sun, 04 Sep 2011 23:30:27 +0800 Message-ID: <87bov0z5nw.fsf@isil.kanru.info> 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 1315150632 1766 80.91.229.12 (4 Sep 2011 15:37:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Sep 2011 15:37:12 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org, Stefan Monnier , Deniz Dogan To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 04 17:37:08 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 1R0Eks-00021P-K1 for ged-emacs-devel@m.gmane.org; Sun, 04 Sep 2011 17:37:06 +0200 Original-Received: from localhost ([::1]:49392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0Eks-00027s-3e for ged-emacs-devel@m.gmane.org; Sun, 04 Sep 2011 11:37:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0Ekp-00027n-FA for emacs-devel@gnu.org; Sun, 04 Sep 2011 11:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0Eko-0004Y1-B8 for emacs-devel@gnu.org; Sun, 04 Sep 2011 11:37:03 -0400 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:55786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0Eko-0004Xt-6W for emacs-devel@gnu.org; Sun, 04 Sep 2011 11:37:02 -0400 Original-Received: by pzk36 with SMTP id 36so7970356pzk.17 for ; Sun, 04 Sep 2011 08:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=KqWrNbp9+oJiYpbzw8cN3pdmjA4MCFOB3rLAtvG9Kd0=; b=RZG+I0gZ4bQcEHKq66Gr0so9fFm8IbKvK2yXkqgQekFHKWfH/+ms1/nhLDkWdERg0f lPvUGLvH0ISD7jYMFKej2zR+nabHH7dunZo6eFypf1XHP7MMWAneHBIR4xL6pvpB6Kld t8pmqMjKSwSucLamPdfirwY8GycxBAEQ4bPds= Original-Received: by 10.68.48.133 with SMTP id l5mr528225pbn.336.1315150620497; Sun, 04 Sep 2011 08:37:00 -0700 (PDT) Original-Received: from isil.kanru.info (61-228-157-80.dynamic.hinet.net. [61.228.157.80]) by mx.google.com with ESMTPS id i4sm15110396pbr.4.2011.09.04.08.36.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 04 Sep 2011 08:36:58 -0700 (PDT) Original-Received: from localhost.localdomain ([127.0.0.1] helo=isil.kanru.info) by isil.kanru.info with esmtp (Exim 4.76) (envelope-from ) id 1R0Ekg-0006u1-D6; Sun, 04 Sep 2011 23:36:54 +0800 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.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.44 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:143756 Archived-At: chad writes: > On Sep 2, 2011, at 6:01 AM, Stefan Monnier wrote: >> [=E2=80=A6] 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"). FYI, eshell has implemented this extended globbing in em-glob.el --=20 Kanru