From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Fri, 2 Sep 2011 09:11:57 +0000 Message-ID: <20110902091157.GA2770@acm.acm> References: <4E5F1BA2.8040506@dogan.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1314954942 28495 80.91.229.12 (2 Sep 2011 09:15:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 09:15:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 11:15:39 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 1QzPqc-0004Ch-1l for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 11:15:38 +0200 Original-Received: from localhost ([::1]:51683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzPqb-0001Zt-7H for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 05:15:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzPqY-0001Ze-Pc for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:15:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzPqX-0002eD-Qa for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:15:34 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:41782 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzPqX-0002dH-GI for emacs-devel@gnu.org; Fri, 02 Sep 2011 05:15:33 -0400 Original-Received: (qmail 9653 invoked by uid 3782); 2 Sep 2011 09:15:30 -0000 Original-Received: from acm.muc.de (pD9557E4E.dip.t-dialin.net [217.85.126.78]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 02 Sep 2011 11:15:29 +0200 Original-Received: (qmail 2820 invoked by uid 1000); 2 Sep 2011 09:11:57 -0000 Content-Disposition: inline In-Reply-To: <4E5F1BA2.8040506@dogan.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 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:143708 Archived-At: 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. -- Alan Mackenzie (Nuremberg, Germany).