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: Modified load-path proposal Date: Wed, 02 Nov 2005 09:44:03 +0100 Organization: LAAS-CNRS Message-ID: <873bmf4ey4.fsf@laas.fr> 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 1130924771 24698 80.91.229.2 (2 Nov 2005 09:46:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 09:46:11 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Nov 02 10:46:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXFAG-0008O5-G2 for guile-user@m.gmane.org; Wed, 02 Nov 2005 10:44:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXF8S-0000qN-UP for guile-user@m.gmane.org; Wed, 02 Nov 2005 04:42:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXEJ6-0003L9-Gy for guile-user@gnu.org; Wed, 02 Nov 2005 03:49:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXEIp-0003Fz-9T for guile-user@gnu.org; Wed, 02 Nov 2005 03:49:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXEIP-0003BC-Cd for guile-user@gnu.org; Wed, 02 Nov 2005 03:48:37 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EXEIP-0006DX-DG for guile-user@gnu.org; Wed, 02 Nov 2005 03:48:37 -0500 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id jA28mYIG000115; Wed, 2 Nov 2005 09:48:34 +0100 (CET) Original-To: Neil Jerram X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 12 Brumaire 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: Neil Jerram , 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-Spam-Score: 0 () 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:4929 Archived-At: Hi, Neil Jerram writes: > Sorry to have been carrying on this discussion for so long, and for > changing direction a couple of times. If anyone is still reading, I'd > appreciate hearing your thoughts (again). Just a quick note to say: 0. I'm still reading. ;-) 1. Your `init.d' approach looks very promising and simpler than the one before, which is good. 2. I'd let the files in the `init.d' directory do a `(require-load-path-directory ...)' rather than just containing the directory name. A good reason for this is that it is anyway very easy to evaluate those files in a confined environment (e.g. `null-environment' + the `require-load-path-directory' binding). 3. I'm a bit concerned that this approach is not scalable: opening, reading, and evaluating say a dozen of files each time Guile is started may have a noticeable impact on startup time. Maybe those could be loaded lazily, for instance in `try-module-autoload', the first time `%search-load-path' fails. Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user