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: Thu, 17 Mar 2011 16:11:47 -0400 Message-ID: References: <87lj0eyq1x.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300393677 1318 80.91.229.12 (17 Mar 2011 20:27:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 20:27:57 +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 17 21:27: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 1Q0JnT-0007M1-9n for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2011 21:27:51 +0100 Original-Received: from localhost ([127.0.0.1]:33656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0JnS-0003C0-KY for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2011 16:27:50 -0400 Original-Received: from [140.186.70.92] (port=50093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0JnN-00038t-Ho for emacs-devel@gnu.org; Thu, 17 Mar 2011 16:27:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0JnK-0007li-82 for emacs-devel@gnu.org; Thu, 17 Mar 2011 16:27:45 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:46050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0JnK-0007lU-4K for emacs-devel@gnu.org; Thu, 17 Mar 2011 16:27:42 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p2HKRdw1027850; Thu, 17 Mar 2011 16:27:39 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 244C2664BF; Thu, 17 Mar 2011 16:11:47 -0400 (EDT) In-Reply-To: <87lj0eyq1x.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 17 Mar 2011 05:55:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3799=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3799> : streams <609626> : uri <829357> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:137366 Archived-At: PW> I only saw Stefan say to go ahead with a load-directory function, Indeed. > I know, but a package IMO will provide a better user experience because > of the number of possible options. We already have recursive and > ignore-errors; I imagine the list will only grow. Plus the loaded cache > in `user-load-dirs-loaded' is pretty crucial to avoid double-loading > files; remember Stephen Turnbull's concerns about installing hooks twice > for instance. All of that is a pain to handle without a package. Sounds fine, but then make it an ELPA package. If/when experience shows it's a package many users want/need, we can move it into core (i.e. bundle it with the standard Emacs distribution). Stefan