[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 789248b 082/284: Guile: backtrace buttonizati
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 789248b 082/284: Guile: backtrace buttonization. |
Date: |
Sun, 1 Aug 2021 18:29:20 -0400 (EDT) |
branch: elpa/geiser-guile
commit 789248bf92f9e6431d83199d3d1c0023b9d25567
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: backtrace buttonization.
---
geiser/emacs.scm | 3 ++-
geiser/xref.scm | 9 ++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/geiser/emacs.scm b/geiser/emacs.scm
index edae487..2aa91da 100644
--- a/geiser/emacs.scm
+++ b/geiser/emacs.scm
@@ -39,7 +39,8 @@
ge:module-exports
ge:module-location
ge:callers
- ge:callees)
+ ge:callees
+ ge:find-file)
#:use-module (geiser evaluation)
#:use-module ((geiser modules) :renamer (symbol-prefix-proc 'ge:))
#:use-module ((geiser completion) :renamer (symbol-prefix-proc 'ge:))
diff --git a/geiser/xref.scm b/geiser/xref.scm
index f00f724..2336fb2 100644
--- a/geiser/xref.scm
+++ b/geiser/xref.scm
@@ -28,7 +28,8 @@
#:export (symbol-location
generic-methods
callers
- callees)
+ callees
+ find-file)
#:use-module (geiser utils)
#:use-module (geiser modules)
#:use-module (geiser doc)
@@ -90,4 +91,10 @@
(and obj
(map procedure-xref (procedure-callees obj)))))
+(define (find-file path)
+ (let loop ((dirs %load-path))
+ (if (null? dirs) #f
+ (let ((candidate (string-append (car dirs) "/" path)))
+ (if (file-exists? candidate) candidate (loop (cdr dirs)))))))
+
;;; xref.scm ends here
- [nongnu] elpa/geiser-guile 855f6f2 153/284: Guile: fix for import module REPL command, (continued)
- [nongnu] elpa/geiser-guile 855f6f2 153/284: Guile: fix for import module REPL command, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 19ed2c0 157/284: Guile: don't create empty modules before loading them, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 480767e 162/284: Guile: geiser-guile-jump-on-debug-p, geiser-guile-show-debug-help-p, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b95b487 165/284: Guile: fix bug in error display, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 30c656f 061/284: Support for multiple Scheme implementations, Chapter 1., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 28722c0 068/284: Bug fix: really remove killed buffers from the list of closed repls., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 1c50bcb 072/284: Improvements to module name support (using prefixes) and Guile support., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile bb5b1cb 076/284: Guile: customizable load path., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile f9be2bc 080/284: Guile: better stack trace display., Philip Kaludercic, 2021/08/01
- [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 <=
- [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