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: Thu, 03 Mar 2011 22:07:31 +0100 Message-ID: References: <87sjv6r38q.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299186573 14580 80.91.229.12 (3 Mar 2011 21:09:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 21:09:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 03 22:09:29 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 1PvFlz-0000Bh-8F for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2011 22:09:27 +0100 Original-Received: from localhost ([127.0.0.1]:34329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvFkr-0003b4-4d for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2011 16:08:13 -0500 Original-Received: from [140.186.70.92] (port=35894 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvFke-0003TX-CK for emacs-devel@gnu.org; Thu, 03 Mar 2011 16:08:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvFkK-0001B1-0A for emacs-devel@gnu.org; Thu, 03 Mar 2011 16:07:40 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:51696 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvFkJ-0001AC-M9 for emacs-devel@gnu.org; Thu, 03 Mar 2011 16:07:39 -0500 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id A17625C1A1; Thu, 3 Mar 2011 22:07:36 +0100 (CET) Original-Received: from DimIMac.local (89-159-58-19.rev.dartybox.com [89.159.58.19]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 4C2715C135; Thu, 3 Mar 2011 22:07:33 +0100 (CET) Original-Received: by DimIMac.local (Postfix, from userid 501) id 6B8A71AD28B5; Thu, 3 Mar 2011 22:07:31 +0100 (CET) User-Mail-Address: dim@tapoueh.org In-Reply-To: <87sjv6r38q.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 01 Mar 2011 14:32:21 -0600") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (darwin) 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:136745 Archived-At: Ted Zlatanov writes: > I think it's useful to load on startup any .el files placed in a > particular directory (if the user approves the directory). For example, > if the user sets `load-dir' to '("~/.emacs.d/load"), > ~/.emacs.d/load/*.el will be loaded on startup. The `load-path' is not > involved, this would be a straight `eval' call. The same way we have user-init-file, I too would welcome Emacs to offer a default user-load-path that's known to be e.g. ~/.emacs.d/load.d. That would allow third party elisp code to just drop a file in there and have users all set to use a new facility. For example, I would use that for el-get and bootstrapping it into the user's setup would become easier, and would allo to avoid having to edit user-init-file. Regards, -- dim