[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-chibi b92c0c9 19/38: Add a TODO entry for adding ou
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-chibi b92c0c9 19/38: Add a TODO entry for adding output to erroneous evaluations. |
Date: |
Sun, 1 Aug 2021 18:26:18 -0400 (EDT) |
branch: elpa/geiser-chibi
commit b92c0c9bf31003bd0e51b78da0c68f43f8881896
Author: Lockywolf <lockywolf@gmail.com>
Commit: Lockywolf <lockywolf@gmail.com>
Add a TODO entry for adding output to erroneous evaluations.
---
scheme/chibi/geiser/geiser.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/scheme/chibi/geiser/geiser.scm b/scheme/chibi/geiser/geiser.scm
index 20ff2cd..35a52b7 100644
--- a/scheme/chibi/geiser/geiser.scm
+++ b/scheme/chibi/geiser/geiser.scm
@@ -33,7 +33,14 @@
(define (geiser:eval module form . rest)
rest
- (guard (err (else (write `((result ,(show #f err))))))
+ (guard (err
+ (else
+ ;; TODO:We need to save output when returning errors too. The
+ ;; output may very well be produced before an error occurs. But to
+ ;; implement it wisely, we probably need something like two guard
+ ;; expressions. For example, org-mode's ob-scheme.el needs it.:END
+
+ (write `((result ,(show #f err))))))
(let* ((output (open-output-string))
(result (parameterize ((current-output-port output))
(if module
- [nongnu] elpa/geiser-chibi e57722a 14/38: Add a first version of geiser:symbol-location for local files., (continued)
- [nongnu] elpa/geiser-chibi e57722a 14/38: Add a first version of geiser:symbol-location for local files., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi c32bd70 20/38: Rewrite geiser:eval in order to make it compatible with org-babel., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 354d399 21/38: Allow additional parameters to Chibi binary, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 7606cc3 27/38: Delete trailing whitespace, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi d153c2b 32/38: adapting to new scheme load path, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 9c6afab 36/38: fix for version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 285d8ba 24/38: Begin the summary lines of all elisp libraries with three semicolons, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 5e7ba0f 25/38: Mark the beginning of code part of elisp libraries with Code: heading, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi bdde589 15/38: Add better support for geiser:symbol-location. Add guards., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi c7beaf1 17/38: Fix a comment typo., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi b92c0c9 19/38: Add a TODO entry for adding output to erroneous evaluations.,
Philip Kaludercic <=
- [nongnu] elpa/geiser-chibi 60464d6 22/38: Add a few minor tweaks., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 9f33e8d 26/38: Fix indentation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 697bf63 30/38: imported files moved to new locations, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 65df173 31/38: license and readme, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi fa3bd28 34/38: preparing MELPA submission, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 7eda792 33/38: typo, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 54e7f38 37/38: fix: auto-activate implementation, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 8d7e02a 35/38: fix for homepage, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-chibi 6f59291 38/38: Use new implementation extension declarator, Philip Kaludercic, 2021/08/01