From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Another load path idea Date: Sat, 07 Jan 2006 13:42:47 +0000 Message-ID: <877j9cnoh4.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136644159 10811 80.91.229.2 (7 Jan 2006 14:29:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 14:29:19 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 07 15:29:18 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvF4H-00073H-Kj for guile-user@m.gmane.org; Sat, 07 Jan 2006 15:29:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvF67-0004Dl-6j for guile-user@m.gmane.org; Sat, 07 Jan 2006 09:31:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvEPE-0005Y0-1H for guile-user@gnu.org; Sat, 07 Jan 2006 08:46:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvEPC-0005WY-0K for guile-user@gnu.org; Sat, 07 Jan 2006 08:46:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvEP9-0005Vz-M0 for guile-user@gnu.org; Sat, 07 Jan 2006 08:46:48 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvER5-0005WL-GI for guile-user@gnu.org; Sat, 07 Jan 2006 08:48:47 -0500 Original-Received: from laruns (host86-129-132-201.range86-129.btcentralplus.com [86.129.132.201]) by mail3.uklinux.net (Postfix) with ESMTP id 01F06409FB5 for ; Sat, 7 Jan 2006 13:44:53 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 3CF4E9F106 for ; Sat, 7 Jan 2006 13:42:48 +0000 (GMT) Original-To: Guile Users User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5039 Archived-At: There has not been a resounding consensus for any of the proposals discussed so far, so here is another possibility. The basic idea behind all of the previous proposals was to create some kind of config when a package was installed, such that other Guile code would be able to find that package automatically. But what if we do things the other way round? When a package that has dependencies on other Guile modules is installed, we do some work at install time to locate the dependencies that the package needs, and save the results in a config file under the name of the _using_ package. Then when that package is run, it sets up the environment that it needs by reading the saved config file. I have no idea how to do this yet, but is it a good idea in principle? Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user