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: Wed, 09 Mar 2011 15:32:08 -0500 Message-ID: <87oc5kjarb.fsf@stupidchicken.com> References: <87oc5kax8l.fsf@stupidchicken.com> <8739mwnj3v.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299702742 9535 80.91.229.12 (9 Mar 2011 20:32:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 20:32:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 21:32:18 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 1PxQ3O-00029U-Ex for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 21:32:18 +0100 Original-Received: from localhost ([127.0.0.1]:34562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxQ3N-0001CD-Od for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 15:32:17 -0500 Original-Received: from [140.186.70.92] (port=34536 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxQ3G-00018z-69 for emacs-devel@gnu.org; Wed, 09 Mar 2011 15:32:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxQ3F-0000hN-0g for emacs-devel@gnu.org; Wed, 09 Mar 2011 15:32:10 -0500 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:33539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxQ3E-0000hJ-Ux for emacs-devel@gnu.org; Wed, 09 Mar 2011 15:32:08 -0500 Original-Received: from furball (dhcp128036014010.central.yale.edu [128.36.14.10]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p29KW7XT025399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 9 Mar 2011 15:32:07 -0500 Original-Received: by furball (Postfix, from userid 1000) id 7D902160606; Wed, 9 Mar 2011 15:32:08 -0500 (EST) In-Reply-To: <8739mwnj3v.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 09 Mar 2011 14:18:12 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 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:136996 Archived-At: Ted Zlatanov writes: > That's essentially it, but we want to be able to turn it on by > customizing a variable to be a LIST of directories (defaulting to > nil), not adding code to .emacs. All the other improvements in Ben > Key's package, including byte-compilation and recursion, are > nice-to-have but not essential to our purpose. OK, I guess there's nothing wrong with adding a function to load everything in a directory. But what's the difference between having a variable that defaults to nil and just letting users add (load-directory "~/.emacs.d/my-stuff") to their init file?