[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 4afe5ff 098/284: Guile: bug fix: evaluation w
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 4afe5ff 098/284: Guile: bug fix: evaluation works again (1.9.3 or better required). |
Date: |
Sun, 1 Aug 2021 18:29:24 -0400 (EDT) |
branch: elpa/geiser-guile
commit 4afe5ff27c7cbf6210cd4890e25c8c4bdc475849
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: bug fix: evaluation works again (1.9.3 or better required).
---
geiser/evaluation.scm | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 642c185..3e44834 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -38,29 +38,21 @@
(current-module)))
(result #f)
(captured-stack #f)
- (error #f)
+ (err #f)
(ev (lambda ()
- (save-module-excursion
- (lambda ()
- (set-current-module module)
- (set! result (call-with-values
- (lambda () (compile form))
- (lambda vs
- (map (lambda (v)
- (with-output-to-string
- (lambda () (write v))))
- vs)))))))))
+ (set! result (call-with-values
+ (lambda () (compile form #:env module))
+ (lambda vs (map object->string vs)))))))
(let ((output
(with-output-to-string
(lambda ()
(catch #t
(lambda () (start-stack 'geiser-eval (ev)))
(lambda args
- (set! error #t)
- (apply handle-error captured-stack args))
+ (set! err (apply handle-error captured-stack args)))
(lambda args
- (set! captured-stack (make-stack #t 2 15))))))))
- (write `(,(if error result (cons 'result result))
+ (set! captured-stack (make-stack #t 2 7))))))))
+ (write `(,(or err (cons 'result result))
(output . ,output)))
(newline))))
- [nongnu] elpa/geiser-guile 2798902 207/284: Better module help, (continued)
- [nongnu] elpa/geiser-guile 2798902 207/284: Better module help, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 36e105f 215/284: Revert "Bug fix: don't intern symbols read by scheme reader", Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile a6dccbe 223/284: Guile: new option for loading ~/.guile (see issue #32681), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b81b23c 228/284: Support for user-defined Guile info nodes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6324b94 231/284: Configurable keyword case sensitivity, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 48e2b00 239/284: Scheme version checks, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6cef62b 250/284: Follow suit and complete quoted symbols in all schemes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b57f4bb 258/284: Make guile's load-file happier with ~ abrevs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 8dda28f 284/284: Version bump, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile e1e77ab 067/284: Guile: use the compiler by default to perform evaluations., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4afe5ff 098/284: Guile: bug fix: evaluation works again (1.9.3 or better required).,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile c8d63ff 073/284: Guile: bug fix (missing module import)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 936a20e 074/284: Fixing the mess during initialization., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4bc26f8 086/284: kludgy fix for opt/key/rest markers in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile d5840a0 093/284: BSD relicensing: elisp code., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 236ec5f 096/284: Guile: define-module forms are now individually evaluable (e.g. using C-M-x or C-x C-e)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile e8d1ca5 113/284: Guile: switch to REPL and module activated., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c6248c4 119/284: Guile: evaluation output collection reactivated., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 503e239 137/284: Guile: tweaks to the previous fix., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 6212ff6 128/284: Guile: real fix for symbol locations (needs Guile's git head)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 90835ae 127/284: Guile: new evaluation strategy that really delimits stack frames., Philip Kaludercic, 2021/08/01