From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Tue, 08 Mar 2011 21:54:53 -0500 Message-ID: References: <87ei6mz24h.fsf@lifelogs.com> <20110306072147.GA11067@event-horizon.homenet> <871v2i525h.fsf@lifelogs.com> <87oc5lx607.fsf@lifelogs.com> <87hbbd5yb7.fsf@stupidchicken.com> <874o7dtpow.fsf@lifelogs.com> <871v2hh0wx.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299639334 31680 80.91.229.12 (9 Mar 2011 02:55:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 02:55:34 +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 03:55:27 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 1Px9YY-0001kj-Li for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 03:55:22 +0100 Original-Received: from localhost ([127.0.0.1]:49409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px9YX-0001PD-4c for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 21:55:21 -0500 Original-Received: from [140.186.70.92] (port=45164 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px9YR-0001P8-TP for emacs-devel@gnu.org; Tue, 08 Mar 2011 21:55:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px9YR-0007f2-29 for emacs-devel@gnu.org; Tue, 08 Mar 2011 21:55:15 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:43853 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px9YQ-0007ey-Vj for emacs-devel@gnu.org; Tue, 08 Mar 2011 21:55:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFV7dk3O+LEt/2dsb2JhbACmanXCY4VjBIUdj3g X-IronPort-AV: E=Sophos;i="4.62,287,1297054800"; d="scan'208";a="95183414" Original-Received: from 206-248-177-45.dsl.teksavvy.com (HELO ceviche.home) ([206.248.177.45]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Mar 2011 21:54:53 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 23D7F660D6; Tue, 8 Mar 2011 21:54:53 -0500 (EST) In-Reply-To: <871v2hh0wx.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Tue, 08 Mar 2011 20:23:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:136931 Archived-At: >> I'm asking for a defcustom, e.g. `load-dir', *in the Emacs core* which, >> when set to a list of directories, will tell Emacs to load all the files >> in the directory without recursion. The default should be nil. This >> should not require .emacs modifications. > Hum, I'd like to have that defcustom (or another one) to have a > directory where Emacs would not stupidly load the file, but build an > autoload file for them and load that one. That would make more sense, indeed. That's also closer to what package.el (w|sh)ould do with random .el files. Stefan