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, 16 Mar 2011 22:34:41 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87fwqm4dym.fsf@lifelogs.com> References: <87oc5kax8l.fsf@stupidchicken.com> <8739mwnj3v.fsf@lifelogs.com> <87oc5kjarb.fsf@stupidchicken.com> <87pqprw3px.fsf@lifelogs.com> <87lj0eu8tj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300332925 22124 80.91.229.12 (17 Mar 2011 03:35:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 03:35:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 17 04:35:21 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 1Q03za-00061t-Mc for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2011 04:35:20 +0100 Original-Received: from localhost ([127.0.0.1]:53057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q03zK-0006BJ-7F for ged-emacs-devel@m.gmane.org; Wed, 16 Mar 2011 23:35:02 -0400 Original-Received: from [140.186.70.92] (port=36817 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q03zE-0006BE-Kq for emacs-devel@gnu.org; Wed, 16 Mar 2011 23:34:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q03zD-0007fd-GW for emacs-devel@gnu.org; Wed, 16 Mar 2011 23:34:56 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q03zD-0007fQ-85 for emacs-devel@gnu.org; Wed, 16 Mar 2011 23:34:55 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q03zB-0005z0-JT for emacs-devel@gnu.org; Thu, 17 Mar 2011 04:34:53 +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 ; Thu, 17 Mar 2011 04:34:53 +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 ; Thu, 17 Mar 2011 04:34:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 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:bzS8rChEIcKhcKqusIq+c9yuMSk= 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:137327 Archived-At: On Wed, 16 Mar 2011 22:13:24 -0400 Stefan Monnier wrote: >>>> Chong, Stefan, can I take this and the lack of new posts in this thread >>>> to mean it's OK to commit an experimental implementation of the load-dir >>>> idea? SM> Adding a load-directory function is OK, yes. But please send the SM> corresponding patch for review first. >> First, the library. SM> Sounds like this is a package, which I'd be happy to see in ELPA, but SM> in core. I wrote it as a library so all we have to do in the core is call `user-load-dirs-load' (or some alias to it) after loading the `user-init-file'. The central point several of us have been making is that we want `user-load-dirs-load' called automatically, not when the package or library are explicitly loaded, to make using this library a simple matter of customizing a single variable (the `user-load-dirs-list'). If you and Chong don't want that, then I'll put it in the ELPA. Ted