From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: The load path Date: Sat, 06 Nov 2004 10:19:36 -0600 Message-ID: <874qk3lzl3.fsf@trouble.defaultvalue.org> References: <1097949129.4178.31.camel@localhost> <87vfck4569.fsf@trouble.defaultvalue.org> <87actw15s9.fsf@trouble.defaultvalue.org> <87lldgt0i3.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099775160 24979 80.91.229.6 (6 Nov 2004 21:06:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Nov 2004 21:06:00 +0000 (UTC) Cc: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Nov 06 22:05:51 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQXkt-0002ap-00 for ; Sat, 06 Nov 2004 22:05:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQXt9-0007Jk-RD for guile-devel@m.gmane.org; Sat, 06 Nov 2004 16:14:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQXrW-0006Ql-Lb for guile-devel@gnu.org; Sat, 06 Nov 2004 16:12:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQXrV-0006QK-TZ for guile-devel@gnu.org; Sat, 06 Nov 2004 16:12:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQXrV-0006Q3-Ol for guile-devel@gnu.org; Sat, 06 Nov 2004 16:12:41 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CQXjC-0006uq-Hj for guile-devel@gnu.org; Sat, 06 Nov 2004 16:04:07 -0500 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by mx20.gnu.org with esmtp (Exim 4.34) id 1CQTJE-0005rT-B8 for guile-devel@gnu.org; Sat, 06 Nov 2004 11:21:00 -0500 Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by defaultvalue.org (Postfix) with ESMTP id CBCF140D4; Sat, 6 Nov 2004 10:19:37 -0600 (CST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 22538410AB; Sat, 6 Nov 2004 10:19:36 -0600 (CST) Original-To: Marius Vollmer In-Reply-To: (Paul Jarc's message of "Sat, 06 Nov 2004 02:25:06 -0500") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4354 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4354 prj@po.cwru.edu (Paul Jarc) writes: > If the init actions are limited to %load-path tweaking, then I think > a directory-of-(directories|symlinks) is sufficient. If the init > actions can go beyond that (which will be possible if they are > represented in Scheme files), then I'm not sure I want that to > affect every one of my Guile invocations. I'm glad my shell > scripts, Perl scripts, Python scripts, etc., aren't all forced to > load some site-wide initialization code. Scripts know what they > need, and take care of it themselves. Arbitrary init code is > convenient for interactive interpreters, but I'm wary of > establishing it for all invocations. After thinking about it further, I'm leaning toward agreement. For now, it might be best to stick with what we know we need: - move init.scm from its current location to ${sysconfdir}/guile-X.Y/. - add a configure argument that allows you to modify the default load-path. One method I mentioned to Marius yesterday might be to add something like: --with-built-in-load-path='("foo" default "bar")' where this value is read, 'default expands to the default path, and we flatten any sub-lists. Overall, I think it's a fair point that it may not be clear we need generalized "startup actions" yet. After a bit more consideration, I realized I couldn't think of any Guile add-on packages that really need them at the moment. So unless we add features to Guile that do require such actions (for Emacs, autoload settings are such a feature), we should perhaps avoid any additional infrastructure. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel