From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Is it time to create more subdirs in lisp/? Date: Fri, 02 Sep 2011 12:13:26 +0200 Message-ID: <4E60AC46.6070500@dogan.se> References: <4E5F1BA2.8040506@dogan.se> <20110902091157.GA2770@acm.acm> <61k49rb7vk.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314958498 19498 80.91.229.12 (2 Sep 2011 10:14:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2011 10:14:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 12:14:55 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 1QzQlz-0002Us-EC for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 12:14:55 +0200 Original-Received: from localhost ([::1]:57655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQly-0004ea-AA for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2011 06:14:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQlv-0004eO-SQ for emacs-devel@gnu.org; Fri, 02 Sep 2011 06:14:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzQlu-0006dN-Nc for emacs-devel@gnu.org; Fri, 02 Sep 2011 06:14:51 -0400 Original-Received: from ch-smtp04.sth.basefarm.net ([80.76.153.5]:50117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzQlu-0006dI-BQ for emacs-devel@gnu.org; Fri, 02 Sep 2011 06:14:50 -0400 Original-Received: from c80-216-105-155.bredband.comhem.se ([80.216.105.155]:52342 helo=[192.168.0.10]) by ch-smtp04.sth.basefarm.net with esmtp (Exim 4.76) (envelope-from ) id 1QzQlM-00081L-E2 for emacs-devel@gnu.org; Fri, 02 Sep 2011 12:14:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 In-Reply-To: <61k49rb7vk.fsf@news.eternal-september.org> X-Originating-IP: 80.216.105.155 X-Scan-Result: No virus found in message 1QzQlM-00081L-E2. X-Scan-Signature: ch-smtp04.sth.basefarm.net 1QzQlM-00081L-E2 bc2e163b7b29e5d04226c0ae72e4264a X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.76.153.5 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:143710 Archived-At: On 2011-09-02 11:39, Richard Riley wrote: > 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. > I see your point, and I could definitely agree. I especially agree with you about smart filenames! As you saw, I missed a few files in my examples.