[Ecls-list] how to load a lisp file and collect its output to *standard-output*
Goffioul Michael
goffioul at imec.be
Fri Nov 18 00:09:04 UTC 2005
> ... that's what I'm trying to do.
>
> I tried it w/ setq for *standard-output* to a string stream
> as created
> by make-string-output-stream and I tried it w/ with-output-to-string.
> In both cases additional output from load comes into my way, e.g.
>
> CL-USER> (load "foo.lsp")
> ;;; Loading "foo.lsp"
> foo <== that's what I want to get, the
> output from
> foo.lsp
> "foo.lsp"
>
> I already started to play around w/ *load-print* and
> *load-verbose* but
> up to now I didn't find a proper combination.
>
> Am I on the correct path, then I'll keep trying or is there a
> canonical
> way to achive my goal.
Did you try with (load "foo.lsp" :verbose nil) ?
Michael.
More information about the ecl-devel
mailing list