Hi, Neil Jerram <[EMAIL PROTECTED]> writes:
> Actually I'm not sure I understand. Do you see the stack overflow > only after applying your patch, or did it occur before the patch also > on your system? I don't see a problem on Intel using current CVS. When running `elisp.test' untouched. Here's what I get: $ guile -L .. -l tests/elisp.test [...] PASS: scheme: value preservation: cdr PASS: scheme: value preservation: vector-ref ERROR: Stack overflow Adding `format' expressions shows that this seems to occur when evaluating: (if (defined? '%nil) (use-modules (lang elisp interface))) However, it works when run like this: $ guile -L .. guile> (load "tests/elisp.test") PASS: scheme: nil value is a boolean: boolean? [...] PASS: elisp: (defvar x 4) PASS: elisp: x guile> So I tried the following: $ guile -L .. -c '(begin (set! %load-hook (lambda (f) (format #t "loading ~a...~%" f))) (load "tests/elisp.test"))' loading tests/elisp.test... [...] PASS: scheme: value preservation: vector-ref loading ../lang/elisp/interface.scm... [...] PASS: elisp: (defvar x 4) PASS: elisp: x And here everything works fine. Any idea of the difference between `-l' and `load'? Looking at `script.c', that seems equivalent. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel