From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Fri, 02 Sep 2011 11:39:43 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <61k49rb7vk.fsf@news.eternal-september.org> References: <4E5F1BA2.8040506@dogan.se> <20110902091157.GA2770@acm.acm> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314956280 4981 80.91.229.12 (2 Sep 2011 09:38:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 09:38:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 11:37:57 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 1QzQCC-0004SH-EC for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 11:37:56 +0200 Original-Received: from localhost ([::1]:53512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQCB-0004q0-C5 for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 05:37:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQC8-0004pk-QF for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:37:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzQC7-0007WC-F5 for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:37:52 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQC7-0007W5-6n for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:37:51 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QzQC2-0004PX-EO for emacs-devel@gnu.org; Fri, 02 Sep 2011 11:37:46 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2011 11:37:46 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2011 11:37:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 54 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:zALP78OEWb1XlM6IqNQuQBcnEpc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:143709 Archived-At: Alan Mackenzie writes: > Hi, Deniz. > > On Thu, Sep 01, 2011 at 07:44:02AM +0200, Deniz Dogan wrote: >> The lisp/ directory in trunk could use some more subdirectories. > >> Examples: > >> dired-aux.el >> dired-x.el >> dired.el >> epa-dired.el >> find-dired.el >> image-dired.el > >> help-at-pt.el >> help-fns.el >> help-macro.el >> help-mode.el >> help.el > >> ps-bdf.el >> ps-def.el >> ps-mule.el >> ps-print.el >> ps-samp.el > > I'd say no. once you start making small directories they're going to > start stacking up in an increasingly tall tree. > > I've been in proprietary projects with around 20,000 files in them, all > in directories with ~8-10 files in each. Visiting a file in such a > hierarchy is a nightmare, as you have to enter, perhaps, 6 successive > directory names to get there. That's a lot of names to have to navigate > through. > > I've been told that small directories are optimal for selecting files > with dialog boxes, but that's not how Emacs works. I sometimes find it > irritating even to have to go one level down from ../lisp to > ../lisp/progmodes. > > So my vote is for few large directories rather than many small ones. I > would go further than Stefan, and say a new directory we create should > have at least 100 files, not 20. Fwiw, I would agree with that. Small dirs look nice on paper in orgnisation charts but soon become a selection and maintenance nightmare. Especially with built in smart file pickers/selects like ido-mode there to ease the burden. Certainly my once hierarchical emacs setup soon became a single .emacs.d ... Smart filenames are the key - prefix is good.