Re: Temporarily suppress all error messages
Michel Talon <[email protected]> Tue, 19 May 2026 18:07:13 +0200
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
Le 19/05/2026 à 17:52, Barton Willis a écrit :
> Should :lisp(setf *error-output* (make-output-string-stream)) be
> :lisp(setf *error-output* (make-string-output-stream))?
>
>
You are right, this works, the other doesn't, because
make-output-string-stream is a function in sbcl-impl etc.
This being said seeing all format output suppressed seems to me quite
strange. Moreover this also kills merror messages,
but not mtell messages, so in my opinion should be discouraged.
(%i1) :lisp(setf *error-output* (make-string-output-stream))
#<STRING-OUTPUT-STREAM {1201BA2CE3}>
(%i1) "1/0"~;
(%i1) ?merror("What a mess");
(%i2) ?mtell("What a mess");
What a mess(%o2) false
--
Michel Talon
_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss