unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Joris van der Hoeven <vdhoeven@texmacs.org>
Subject: Re: Customize loading
Date: Mon, 10 Oct 2005 18:31:59 +0200	[thread overview]
Message-ID: <20051010163159.GD12370@barah.math.u-psud.fr> (raw)
In-Reply-To: <87hdbptnb9.fsf@laas.fr>

On Mon, Oct 10, 2005 at 05:16:10PM +0200, Ludovic Courtès wrote:
> Joris van der Hoeven <vdhoeven@texmacs.org> 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?
> 
> By overriding `primitive-load':
> 
>   (set! primitive-load (lambda (filename) ...))
> 
> 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


      reply	other threads:[~2005-10-10 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-08 13:52 Customize loading Joris van der Hoeven
2005-10-10 15:16 ` Ludovic Courtès
2005-10-10 16:31   ` Joris van der Hoeven [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051010163159.GD12370@barah.math.u-psud.fr \
    --to=vdhoeven@texmacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).