Re: load-from-path and compile-file question

2011-11-12 Thread Ludovic Courtès
Hi Ian, Ian Hulin skribis: > (load-from-path) showed the expected module '(lily), (compile-file) > showed an "anonymous" module with an internally generated name. If you look at ‘compile’ in (system base compile), you’ll find that it has an ‘env’ argument, which is the module where compilation

load-from-path and compile-file question

2011-11-06 Thread Ian Hulin
Hi all, In LilyPond initialization code, at the moment we build a list of scheme files to load from our %load-path and interpret as we go. I'm currently hacking some code so that if we do the load-from-path successfully we then call (compile-file (%search-load-path "blah.scm") /blah.go). However