From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Wed, 09 Mar 2011 05:52:00 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ipvsv7dr.fsf@lifelogs.com> References: <55772486-9439-4587-B8BD-2015AC9EE051@mit.edu> <87zkp4d490.fsf@hi-media-techno.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1299671547 16337 80.91.229.12 (9 Mar 2011 11:52:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 11:52:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 12:52:23 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 1PxHwE-0006YG-PP for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 12:52:22 +0100 Original-Received: from localhost ([127.0.0.1]:50215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxHwE-0000Tx-BN for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 06:52:22 -0500 Original-Received: from [140.186.70.92] (port=39948 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxHw8-0000Tc-Mi for emacs-devel@gnu.org; Wed, 09 Mar 2011 06:52:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxHw7-0001pZ-1f for emacs-devel@gnu.org; Wed, 09 Mar 2011 06:52:16 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:57900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxHw6-0001pC-OH for emacs-devel@gnu.org; Wed, 09 Mar 2011 06:52:15 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PxHw3-0006Rj-Tx for emacs-devel@gnu.org; Wed, 09 Mar 2011 12:52:11 +0100 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2011 12:52:11 +0100 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2011 12:52:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1IM+f/OiLtZH+Dj07gnTbs9Du2A= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:136959 Archived-At: On Wed, 09 Mar 2011 10:36:59 +0100 Dimitri Fontaine wrote: DF> The idea we're talking about here is to have a simpler way to enable a DF> piece of elisp code that you fetch from somewhere (mail attachment, DF> emacswiki, some blog, an automatic installer, etc). I don't see how DF> much simpler we can go than "save the content in a .el in DF> ~/.emacs.d/load.d, then either restart Emacs or M-x reload-user-dir". DF> And for automatic installers, the location is known to be `user-load-dir'. DF> I see people that want the feature too, some have already written some DF> version of it, some are sending new implementation, so I think there's a DF> need to cover here. That you don't share the need is fine, you just DF> won't use the feature, and maybe even explicitly DF> (setq user-load-dir nil) On Wed, 09 Mar 2011 11:01:38 +0100 Jan Djärv wrote: JD> I can make an load-dir feature in .emacs too. It is having this in JD> emacs core, working without extra user work that is the point. I think it's clear there's quite a few users who want the load-dir feature for various reasons. The URLs I posted show that it's been needed for a while now although no one thought to add it to Emacs. package.el and el-get will not do what we're asking for. As proposed it's disabled by default so it won't matter to the users who don't want it. I'd like to know if the maintainers have a reason NOT to put user-load-dir in the core. If we can proceed in the core, I'll propose a specific patch and we can discuss that. Otherwise I'll make it a package in the GNU ELPA which is not as convenient but still usable. Thanks Ted