From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: Modified load-path proposal Date: Mon, 31 Oct 2005 10:48:43 +1100 Message-ID: <87oe56zhus.fsf@zip.com.au> References: <878xwx5ld2.fsf@ossau.uklinux.net> <87u0fl3wam.fsf@ossau.uklinux.net> <87oe5s51l4.fsf@ivanova.rotty.yi.org> <87ek6njah0.fsf@ossau.uklinux.net> <87r7adf8h1.fsf@zip.com.au> <87vezhbknv.fsf@ossau.uklinux.net> <87u0ey3mph.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 1130716178 14371 80.91.229.2 (30 Oct 2005 23:49:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2005 23:49:38 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 31 00:49:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWMvF-0005AR-Gk for guile-user@m.gmane.org; Mon, 31 Oct 2005 00:49:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWMvE-0005fZ-Nt for guile-user@m.gmane.org; Sun, 30 Oct 2005 18:49:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWMv9-0005el-Ft for guile-user@gnu.org; Sun, 30 Oct 2005 18:49:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWMv4-0005d1-Lb for guile-user@gnu.org; Sun, 30 Oct 2005 18:49:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWMv4-0005cy-IG for guile-user@gnu.org; Sun, 30 Oct 2005 18:48:58 -0500 Original-Received: from [61.8.0.115] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWMv3-0001Pq-41 for guile-user@gnu.org; Sun, 30 Oct 2005 18:48:58 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9UNmnaU024162 for ; Mon, 31 Oct 2005 10:48:49 +1100 Original-Received: from localhost (ppp2619.dyn.pacific.net.au [61.8.38.25]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9UNmm7H032049 for ; Mon, 31 Oct 2005 10:48:48 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1EWMup-0000kE-00; Mon, 31 Oct 2005 10:48:43 +1100 Original-To: guile-user@gnu.org In-Reply-To: <87u0ey3mph.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sun, 30 Oct 2005 18:04:58 +0000") User-Agent: Gnus/5.110004 (No Gnus v0.4) 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:4917 Archived-At: Neil Jerram writes: > > In the init.d approach, there would be a directory named > $sysconfdir/guile/X.Y/init.d, and we would distribute an init.scm file > (which Guile normally loads on startup) which would load all the files > in $sysconfdir/guile/X.Y/init.d. So, for example, when a package > guile-foo is installed under $prefix, it would create the file > $sysconfdir/guile/X.Y/init.d/guile-foo with contents: > > (require-load-path-directory "$prefix/wherever/my/scheme/files/are") What advantage is this over putting a symlink in /usr/share/guile/site to point to this alternate location? What is the wherever/my/scheme/files/are directory likely to be? Guile library packages wouldn't be sprayed randomly across all four corners of the disk would they? _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user