[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 1af3138 111/284: Guile: support for the REPL
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 1af3138 111/284: Guile: support for the REPL debugger |
Date: |
Sun, 1 Aug 2021 18:29:26 -0400 (EDT) |
branch: elpa/geiser-guile
commit 1af3138afe3641e1cf321834411830aafddd0d54
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: support for the REPL debugger
On errors, we switch to the REPL, where the debugger is active.
---
geiser/evaluation.scm | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 3a834bb..cd8a6f7 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -41,26 +41,15 @@
m))))
(define (ge:compile form module-name)
- (let* ((module (or (find-module module-name)
- (current-module)))
+ (let* ((module (or (find-module module-name) (current-module)))
(result #f)
- (captured-stack #f)
- (err #f)
(ev (lambda ()
(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! err (apply handle-error captured-stack args)))
- (lambda args
- (set! captured-stack (make-stack #t 11 11))))))))
- (write `(,(or err (cons 'result result))
- (output . ,output)))
+ (let (#;(output (with-output-to-string ev)))
+ (ev)
+ (write `(,(cons 'result result) (output . "")))
(newline))))
(define ge:eval ge:compile)
- [nongnu] elpa/geiser-guile 6590f6b 081/284: Guile: Bug fix in the latest evaluation code changes., (continued)
- [nongnu] elpa/geiser-guile 6590f6b 081/284: Guile: Bug fix in the latest evaluation code changes., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 67905aa 084/284: Simpler, nicer, more efficient handling of evaluation results. It, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 387d557 095/284: Reload: we now remember user customizations and restore them during geiser-reload., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 417460b 099/284: Multiple arity display, used by PLT backend (case-lambda)., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 360343e 092/284: Fixes for all byte-compilation warnings., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 3cb7a6c 087/284: Guile: fix for rest marker in autodoc., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c709c1d 106/284: Guile: fix for autodoc in 1.9.7, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5835dc5 107/284: Guile: Geiser now behaves correctly in buffers for unloaded modules., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 98dd4d8 108/284: Guile: Geiser now behaves correctly in buffers for unloaded modules., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 19acc65 112/284: New command to switch to REPL and put it in current module., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 1af3138 111/284: Guile: support for the REPL debugger,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile 32e7fbd 114/284: Guile: 'bt' when entering the debugger., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 9e38247 118/284: Using the scheme reader to read modules names., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 2128f08 147/284: Tweaks to scheme implementation selection, and docs for it., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7b83e4a 130/284: Guile: dead elisp code elimination., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5b1bed8 142/284: Better switch/import REPL commands., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 430e127 152/284: Guile: display backtrace upon entering debugger., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 71c4355 148/284: Displaying variable values in autodoc., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile ecbddf9 135/284: Guile: fix for module name completion., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 5d49d07 122/284: Guile: fixes for error navigation., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile a57999c 126/284: Guile: fix for finding locations of symbols in modules outside load path., Philip Kaludercic, 2021/08/01