From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dimitri Fontaine Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Wed, 09 Mar 2011 10:36:59 +0100 Message-ID: <87zkp4d490.fsf@hi-media-techno.com> References: <55772486-9439-4587-B8BD-2015AC9EE051@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299663439 4953 80.91.229.12 (9 Mar 2011 09:37:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 09:37:19 +0000 (UTC) Cc: Dimitri Fontaine , Emacs development discussions To: Chad Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 10:37:15 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 1PxFpT-0000Jh-7a for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 10:37:15 +0100 Original-Received: from localhost ([127.0.0.1]:60322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxFpS-0004kA-Jr for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 04:37:14 -0500 Original-Received: from [140.186.70.92] (port=59669 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxFpJ-0004i5-4G for Emacs-devel@gnu.org; Wed, 09 Mar 2011 04:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxFpH-0004s5-Vl for Emacs-devel@gnu.org; Wed, 09 Mar 2011 04:37:04 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:52079 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxFpH-0004rj-I6 for Emacs-devel@gnu.org; Wed, 09 Mar 2011 04:37:03 -0500 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id EB4D55C14B; Wed, 9 Mar 2011 10:37:01 +0100 (CET) Original-Received: from dim (unknown [83.167.62.196]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 2E8F25C110; Wed, 9 Mar 2011 10:37:00 +0100 (CET) Original-Received: by dim (Postfix, from userid 1000) id D438B6EACD; Wed, 9 Mar 2011 10:36:59 +0100 (CET) User-Mail-Address: dim@tapoueh.org In-Reply-To: (Chad Brown's message of "Tue, 8 Mar 2011 14:40:54 -0800") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.85.154.174 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:136950 Archived-At: Chad Brown writes: > I guess I can see your complaint, since I also don't like software munging > my .emacs file, but I find it hard to believe that there are many (any?) > users who need your simplified method and yet don't want code messing with > .emacs automatically. It's not that much about simplicity that it's about having the computer do all the automatic work on its own. `user-load-dir' would help with that. It could be that custom.el would help too, but I don't really see how. The idea we're talking about here is to have a simpler way to enable a piece of elisp code that you fetch from somewhere (mail attachment, emacswiki, some blog, an automatic installer, etc). I don't see how much simpler we can go than "save the content in a .el in ~/.emacs.d/load.d, then either restart Emacs or M-x reload-user-dir". And for automatic installers, the location is known to be `user-load-dir'. I see people that want the feature too, some have already written some version of it, some are sending new implementation, so I think there's a need to cover here. That you don't share the need is fine, you just won't use the feature, and maybe even explicitly (setq user-load-dir nil) Regards, -- dim