From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Another load path idea Date: Fri, 27 Jan 2006 09:57:25 +0100 Organization: LAAS-CNRS Message-ID: <87zmlit5e2.fsf@laas.fr> References: <877j9cnoh4.fsf@ossau.uklinux.net> <87oe2hss4d.fsf@laas.fr> <87mzi1jq8j.fsf@ossau.uklinux.net> <87psmobmju.fsf@laas.fr> <87veweeyyk.fsf@ossau.uklinux.net> <1137944316.15250.29.camel@localhost.localdomain> <87fynaagju.fsf@ossau.uklinux.net> <87irs68uie.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138352879 30921 80.91.229.2 (27 Jan 2006 09:07:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 09:07:59 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jan 27 10:07:49 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 1F2Pa2-0005FU-BP for guile-user@m.gmane.org; Fri, 27 Jan 2006 10:07:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2Pcn-0004kx-Bz for guile-user@m.gmane.org; Fri, 27 Jan 2006 04:10:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F2PZl-0003uK-Ph for guile-user@gnu.org; Fri, 27 Jan 2006 04:07:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F2PYS-0003f0-4a for guile-user@gnu.org; Fri, 27 Jan 2006 04:06:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F2PVf-0003Wn-Iy for guile-user@gnu.org; Fri, 27 Jan 2006 04:03:15 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F2PTN-0001ao-7i for guile-user@gnu.org; Fri, 27 Jan 2006 04:00:49 -0500 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id k0R8w35p000299; Fri, 27 Jan 2006 10:00:08 +0100 (CET) Original-To: guile-user@gnu.org In-Reply-To: <87irs68uie.fsf@zip.com.au> (Kevin Ryde's message of "Fri, 27 Jan 2006 10:00:25 +1100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 8 =?iso-8859-1?Q?Pluvi=F4se?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: guile-user@gnu.org X-Spam-Score: 0.496 () MAILTO_TO_SPAM_ADDR X-Scanned-By: MIMEDefang at CNRS-LAAS 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:5099 Archived-At: Hi, Kevin Ryde writes: > I think it will be enough to, > > 1. Add /usr/local into the default %load-path. > > 2. Put a note in the manual inviting package builders to augment > %load-path further if they wish, eg. for /opt. (By patching > boot-9.scm I would think.) > > 3. Put a note in the manual encouraging the use of /site by sysadmins, > but with an invitation to extend %load-path if they've got good > reason for violating the usual setup. As I understand it, the whole point of this discussion is about providing mechanisms to allow the initial value of `%load-path' to be easily and cleanly customized, i.e., not by "patching boot-9.scm". ;-) Then there is another question which is: _who_ performs this customization and _when_? Neil (and I) initially suggested that this could be done automatically by packages themselves at installation-time. You suggest, OTOH, that this should be done manually by the sysadmin, after they installed a package in some "unusual" path. In either case, we still need (i) a config file holding the default value of `%load-path', (ii) a script to manipulate that file (i.e., to add/remove directories from it). Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user