From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Wed, 09 Mar 2011 08:06:16 +0100 Message-ID: <4D7726E8.5090206@swipnet.se> References: <87ei6mz24h.fsf@lifelogs.com> <20110306072147.GA11067@event-horizon.homenet> <871v2i525h.fsf@lifelogs.com> <87oc5lx607.fsf@lifelogs.com> <874o7ds37p.fsf@lifelogs.com> 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 1299654400 25438 80.91.229.12 (9 Mar 2011 07:06:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 07:06:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 08:06:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxDTe-0004fl-H5 for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 08:06:34 +0100 Original-Received: from localhost ([127.0.0.1]:54149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxDTd-0003if-Mc for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 02:06:33 -0500 Original-Received: from [140.186.70.92] (port=50583 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxDTV-0003fS-Qh for emacs-devel@gnu.org; Wed, 09 Mar 2011 02:06:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxDTU-0004Fl-NN for emacs-devel@gnu.org; Wed, 09 Mar 2011 02:06:25 -0500 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:55025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxDTU-0004Ep-90 for emacs-devel@gnu.org; Wed, 09 Mar 2011 02:06:24 -0500 Original-Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id BBB1CC4DE for ; Wed, 9 Mar 2011 08:06:19 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQ6ADi1dk1V4S1kPGdsb2JhbACIdZ11DAEBAQE1MMJ4hWMEj3ka X-IronPort-AV: E=Sophos;i="4.62,289,1297033200"; d="scan'208";a="370392416" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by iph1.telenor.se with ESMTP; 09 Mar 2011 08:06:19 +0100 Original-Received: from [10.225.16.174] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 3FEE97FA05A; Wed, 9 Mar 2011 08:06:18 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <874o7ds37p.fsf@lifelogs.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.127.194.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136941 Archived-At: Ted Zlatanov skrev 2011-03-08 22:38: > On Tue, 08 Mar 2011 15:59:51 -0500 Stefan Monnier wrote: > > SM> If you're really talking about configuration code rather than packages, > SM> then I tend to assume that people whose .emacs is so large as to need > SM> modularization can figure out which kind of modularization they want and > SM> implement (or copy&paste) the corresponding loop to load the various files. > > Yes, but you're assuming managing configuration modules in monolithic > Emacs Lisp is the best way. Give us something simple and easy to manage > the loop at the filesystem level, so we don't have to write it > ourselves. > > SM> I'm not even sure why you'd want to "modularize" in this way: my .emacs > SM> was fairly large but splitting it into separate files never seemed like > SM> a good way to help, since I'd then have to figure out how to make C-s > SM> and M-/ find matches in neighboring files. Instead I "split" it with > SM> outline-minor-mode. > > For me it works better. I like small files; outline-minor-mode and > folding-mode don't work for me. I suspect I'm not the only one. See > the URLs above for a list of similar needs. > As others have said, I was also suprised that dropping a .el-fil in ~/emacs.d didn't load it by default. My emacs is quite big and I'd love to split it up. Another thing I really would like is for customize to save its stuff in its own file and not in my .emacs. With a load-dir this would be trivial. There is a real need an packages isn't it. Its like wanting a rowing boat and told to use the latest battle ship instead. Jan D.