emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Babel (scheme): Evaluation errors are not shown


From: Marc Nieper-Wißkirchen
Subject: Re: Babel (scheme): Evaluation errors are not shown
Date: Mon, 2 Jan 2023 10:52:03 +0100

Am Mo., 2. Jan. 2023 um 10:38 Uhr schrieb Ihor Radchenko <yantar92@posteo.net>:
>
> Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> writes:
>
> > Fixed.
>
> Thanks!
> Note that your patch does not apply onto main.

Rebased against the latest main.  Please see the appended patch.

>
> > -           (setq result (if output
> > +              (let ((err (geiser-eval--retort-error ret)))
> > +                (setq result (cond
> > +                              (err nil)
>
> We may still provide output, if any. Even in the case of error. Not sure
> if it makes sense for ob-scheme though.

I switched the two cases, "err" and "output," in the attached patch.
For a value result, providing a result in case of an error does not
make sense.

Thanks for your patience,

Marc

Attachment: 0001-lisp-ob-scheme.el-Do-not-hide-Scheme-evaluation-erro.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]