From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joris van der Hoeven Newsgroups: gmane.lisp.guile.user Subject: Re: Customize loading Date: Mon, 10 Oct 2005 18:31:59 +0200 Message-ID: <20051010163159.GD12370@barah.math.u-psud.fr> References: <20051008135249.GD5642@barah.math.u-psud.fr> <87hdbptnb9.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1128962156 25099 80.91.229.2 (10 Oct 2005 16:35:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2005 16:35:56 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 10 18:35:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EP0ZR-0005GL-7w for guile-user@m.gmane.org; Mon, 10 Oct 2005 18:32:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EP0ZQ-0007VA-Kp for guile-user@m.gmane.org; Mon, 10 Oct 2005 12:32:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EP0ZL-0007V0-GC for guile-user@gnu.org; Mon, 10 Oct 2005 12:32:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EP0ZJ-0007Ul-Qc for guile-user@gnu.org; Mon, 10 Oct 2005 12:32:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EP0ZJ-0007Ui-NV for guile-user@gnu.org; Mon, 10 Oct 2005 12:32:05 -0400 Original-Received: from [129.175.50.4] (helo=matups.math.u-psud.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EP0ZJ-0007iL-LI for guile-user@gnu.org; Mon, 10 Oct 2005 12:32:05 -0400 Original-Received: from barah.math.u-psud.fr (barah.math.u-psud.fr [129.175.52.24]) by matups.math.u-psud.fr (8.12.10/jtpda-5.4) with ESMTP id j9AGW4n9009389 ; Mon, 10 Oct 2005 18:32:04 +0200 (MEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by barah.math.u-psud.fr (Postfix) with ESMTP id 8F7D7614013; Mon, 10 Oct 2005 18:32:04 +0200 (CEST) Original-Received: from barah.math.u-psud.fr ([127.0.0.1]) by localhost (barah [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19330-03; Mon, 10 Oct 2005 18:31:59 +0200 (CEST) Original-Received: by barah.math.u-psud.fr (Postfix, from userid 3011) id 761D7614001; Mon, 10 Oct 2005 18:31:59 +0200 (CEST) Original-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: <87hdbptnb9.fsf@laas.fr> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 at math.u-psud.fr X-MIME-Autoconverted: from 8bit to quoted-printable by matups.math.u-psud.fr id j9AGW4n9009389 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:4818 Archived-At: On Mon, Oct 10, 2005 at 05:16:10PM +0200, Ludovic Court=E8s wrote: > Joris van der Hoeven writes: > > I have written my own code to load files using a disk cache. > > How can I tell guile that it should load all files and modules > > using my code instead of the standard routines? >=20 > By overriding `primitive-load': >=20 > (set! primitive-load (lambda (filename) ...)) >=20 > Hope this helps, Cool, yes. I tried to redefine primitive-load, but I should have used set! ;^) The same trick seems to work for %search-load-path now. Thanks, Joris _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user