From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Wed, 9 Mar 2011 13:57:54 -0800 Message-ID: <20110309215752.GA1977@event-horizon.homenet> References: <87ei6mz24h.fsf@lifelogs.com> <20110306072147.GA11067@event-horizon.homenet> <871v2i525h.fsf@lifelogs.com> <87oc5lx607.fsf@lifelogs.com> <874o7ds37p.fsf@lifelogs.com> <4D7726E8.5090206@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" X-Trace: dough.gmane.org 1299707896 6819 80.91.229.12 (9 Mar 2011 21:58:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 21:58:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 22:58:11 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 1PxROU-00044G-Kf for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 22:58:10 +0100 Original-Received: from localhost ([127.0.0.1]:42060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxROT-00037Z-Tj for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 16:58:09 -0500 Original-Received: from [140.186.70.92] (port=37553 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxROO-00035O-A1 for emacs-devel@gnu.org; Wed, 09 Mar 2011 16:58:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxRON-0000Cj-2b for emacs-devel@gnu.org; Wed, 09 Mar 2011 16:58:04 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:59299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxROM-0000CZ-Tt for emacs-devel@gnu.org; Wed, 09 Mar 2011 16:58:03 -0500 Original-Received: by pwi10 with SMTP id 10so357338pwi.0 for ; Wed, 09 Mar 2011 13:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=lbG4SS1LJ18qL85BV6ROsipAXSDnd+v/FhlQr+11ezc=; b=GuejBCvUyODA3iibDQCsrysiZjh2YHlpHlrkmKJKBQp6hUSBNoA8yqRGNfeVbyybJ0 XxwaiV+I8iPOGl1gD6MnJikz6dOjXCHuTzoDFcV4QreZhOLCnuOnjN9YiVCKvzGP1qQm bhDQ1QkCqgtPclS9i5tQ4PGeNWgIk4JaKbKW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=mgJ7TvA+eaCRtQEUmTKfElUa5CWmAQ90AwKthpSqgsYiA6lqdiBOgEy1392XqpVRdI +U4CzMq0xMDXM8cFHG/j2Ifs4vLExrpLQgBvUvA/iBK9SiSKbV0OBm/V70W/QJjiL7G0 4LSsF0Me8y57r20+yxbnbrjV2hWuwbqJ5GnVA= Original-Received: by 10.142.149.20 with SMTP id w20mr5778814wfd.137.1299707879286; Wed, 09 Mar 2011 13:57:59 -0800 (PST) Original-Received: from event-horizon.homenet (115.sub-75-196-97.myvzw.com [75.196.97.115]) by mx.google.com with ESMTPS id 25sm2975905wfb.10.2011.03.09.13.57.57 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2011 13:57:58 -0800 (PST) Content-Disposition: inline In-Reply-To: <4D7726E8.5090206@swipnet.se> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.41 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:137006 Archived-At: --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 09, 2011 at 08:06:16AM +0100, Jan D. wrote: > 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 pack= ages, > > SM> then I tend to assume that people whose .emacs is so large as to n= eed > > SM> modularization can figure out which kind of modularization they wa= nt and > > SM> implement (or copy&paste) the corresponding loop to load the vario= us 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 w= ith > > 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. > > >=20 > As others have said, I was also suprised that dropping a .el-fil in=20 > ~/emacs.d didn't load it by default. My emacs is quite big and I'd love= =20 > to split it up. Another thing I really would like is for customize to=20 > save its stuff in its own file and not in my .emacs. With a load-dir=20 > this would be trivial. >=20 > There is a real need an packages isn't it. Its like wanting a rowing=20 > boat and told to use the latest battle ship instead. Can you take a look at Grail http://www.emacswiki.org/emacs/Grail and see if that meets your needs ? If you want to modularize your configuration it is explicity designed to do so. >=20 > Jan D. >=20 --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline --d6Gm4EdcadzBjdND--