[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 98dd4d8 108/284: Guile: Geiser now behaves co
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 98dd4d8 108/284: Guile: Geiser now behaves correctly in buffers for unloaded modules. |
Date: |
Sun, 1 Aug 2021 18:29:26 -0400 (EDT) |
branch: elpa/geiser-guile
commit 98dd4d8c8ae69b19e923387b1dfe62bfe22e6f3e
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: Geiser now behaves correctly in buffers for unloaded modules.
---
geiser/evaluation.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 3811153..3a834bb 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -1,6 +1,6 @@
;;; evaluation.scm -- evaluation, compilation and macro-expansion
-;; Copyright (C) 2009 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -31,10 +31,17 @@
(display-error stack (current-output-port) subr msg args rest))
(else (display (format "ERROR: ~a, args: ~a" (car args) (cdr args)))))
`(error (key . ,(car args))))
+(nested-ref the-root-module '(%app modules geiser))
+
+(define (find-module module-name)
+ (and (list? module-name)
+ (or (nested-ref the-root-module (append '(%app modules) module-name))
+ (let ((m (resolve-module module-name)))
+ (beautify-user-module! m)
+ m))))
(define (ge:compile form module-name)
- (let* ((module (or (and (list? module-name)
- (resolve-module module-name))
+ (let* ((module (or (find-module module-name)
(current-module)))
(result #f)
(captured-stack #f)
- [nongnu] elpa/geiser-guile cb05947 078/284: Guile: rewriting stack trace captures - not yet complete., (continued)
- [nongnu] elpa/geiser-guile cb05947 078/284: Guile: rewriting stack trace captures - not yet complete., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 789248b 082/284: Guile: backtrace buttonization., Philip Kaludercic, 2021/08/01
- [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 <=
- [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, 2021/08/01
- [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