From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Sat, 02 Apr 2011 14:35:43 -0400 Message-ID: <8762qwa4cg.fsf@stupidchicken.com> References: <8762r6i03b.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301769360 3768 80.91.229.12 (2 Apr 2011 18:36:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2011 18:36:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 02 20:35:52 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 1Q65fr-00076t-Oe for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 20:35:51 +0200 Original-Received: from localhost ([127.0.0.1]:44644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q65fr-0004W3-6H for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 14:35:51 -0400 Original-Received: from [140.186.70.92] (port=59152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q65fm-0004Rn-3J for emacs-devel@gnu.org; Sat, 02 Apr 2011 14:35:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q65fk-0003WX-Rt for emacs-devel@gnu.org; Sat, 02 Apr 2011 14:35:45 -0400 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:58985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q65fk-0003WQ-LM for emacs-devel@gnu.org; Sat, 02 Apr 2011 14:35:44 -0400 Original-Received: from furball (dhcp128036014163.central.yale.edu [128.36.14.163]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p32IZhIE009475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 2 Apr 2011 14:35:43 -0400 Original-Received: by furball (Postfix, from userid 1000) id 6CB211603EB; Sat, 2 Apr 2011 14:35:43 -0400 (EDT) In-Reply-To: <8762r6i03b.fsf@lifelogs.com> (Ted Zlatanov's message of "Sat, 26 Mar 2011 06:37:44 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.146 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:138065 Archived-At: Ted Zlatanov writes: > On Thu, 24 Mar 2011 10:38:08 -0400 Stefan Monnier > wrote: > >>>> You can commit it into the ELPA (tho I think it'd make more sense to >>>> merge yours and Ben's first). > >>> The latest version Ted released on Sat, 19 Mar 2011 already has all my >>> changes merged in. Ted's implementation was actually cleaner than my >>> original implementation. As far as I am concerned, he can simply use that >>> version with the :require tags removed from the defcustom's. > > SM> Great. So, go ahead, > > I committed it (lucky rev 13) but haven't deployed on elpa.gnu.org. If > you or Chong could do a final check on the elpa branch that would be > great. Looks mostly OK, but instead of referring to .emacs.d, use the variable `user-emacs-directory' or the function `locate-user-emacs-file'. Also, the current description, "load all Emacs Lisp files in given directories", is too vague; if you could improve it, that would be good. It should be stated more clearly, there and in the commentary, that installing this package alters Emacs startup, by updating after-init-hook to load all files in the specified directory.