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: Fri, 18 Mar 2011 11:56:10 +0100 Message-ID: <874o70u27p.fsf@hi-media-techno.com> References: <87lj0eyq1x.fsf@lifelogs.com> <87lj0dtqaj.fsf@lifelogs.com> <87d3lptpa3.fsf@lifelogs.com> <871v25xi0b.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300445790 19491 80.91.229.12 (18 Mar 2011 10:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2011 10:56:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 18 11:56:26 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 1Q0XM1-0007Fg-Mm for ged-emacs-devel@m.gmane.org; Fri, 18 Mar 2011 11:56:25 +0100 Original-Received: from localhost ([127.0.0.1]:35290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0XM1-00013c-0N for ged-emacs-devel@m.gmane.org; Fri, 18 Mar 2011 06:56:25 -0400 Original-Received: from [140.186.70.92] (port=59695 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0XLt-000137-To for emacs-devel@gnu.org; Fri, 18 Mar 2011 06:56:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0XLs-0001WY-Kf for emacs-devel@gnu.org; Fri, 18 Mar 2011 06:56:17 -0400 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:47291 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0XLs-0001Vs-DF for emacs-devel@gnu.org; Fri, 18 Mar 2011 06:56:16 -0400 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id 9B6585C0F4; Fri, 18 Mar 2011 11:56:13 +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 C71CC5C0F1; Fri, 18 Mar 2011 11:56:11 +0100 (CET) Original-Received: by dim (Postfix, from userid 1000) id D9E567B1AB; Fri, 18 Mar 2011 11:56:10 +0100 (CET) User-Mail-Address: dim@tapoueh.org In-Reply-To: <871v25xi0b.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 17 Mar 2011 21:46:44 -0500") 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:137395 Archived-At: Ted Zlatanov writes: > SM> ;;;###autoload > SM> (add-hook 'after-init-hook 'load-dirs) That's very good news. > (defcustom load-dirs nil > "List of directories to load." > :group 'load-dir > :type '(repeat directory)) Any reason why this would not default to ("~/.emacs.d/load.d")? That would allow easier usage from code. The bootstrapping from nil is uneasy here, or I'm lacking imagination=C2=A0:) Regards, --=20 dim