Done! Am Sa., 31. Dez. 2022 um 14:24 Uhr schrieb Ihor Radchenko <yanta...@posteo.net>: > > Marc Nieper-Wißkirchen <m...@nieper-wisskirchen.de> writes: > > > Please find the patch file attached to this email. > > Thanks! > I will give some general comments and leave the ob-scheme changes for > Rudolf. > > > Subject: [PATCH] Display evaluation errors for Scheme code blocks. > > If you can, please provide changelog entries explaining each change. See > https://orgmode.org/worg/org-contribute.html#commit-messages > > > (let ((buf (get-buffer-create org-babel-error-buffer-name))) > > (with-current-buffer buf > > (goto-char (point-max)) > > (save-excursion > > (unless (bolp) (insert "\n")) > > (insert stderr) > > - (insert (format "[ Babel evaluation exited with code %S ]" > > exit-code)))) > > + (when exit-code > > + (insert (format "[ Babel evaluation exited with code %S ]" > > exit-code))))) > > I think it will be more consistent to do something like > > (if exit-code ... (insert " [ Babel evaluation exited abnormally ] ")) > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92>
0001-lisp-ob-scheme.el-Do-not-hide-Scheme-evaluation-erro.patch
Description: Binary data