[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 216897a 133/284: Guile: displaying the debugg
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 216897a 133/284: Guile: displaying the debugger preamble. |
Date: |
Sun, 1 Aug 2021 18:29:31 -0400 (EDT) |
branch: elpa/geiser-guile
commit 216897ade20e6a1cc73c245908911301bc25865a
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: displaying the debugger preamble.
---
elisp/geiser-guile.el | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index b76228e..da488bc 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -128,7 +128,14 @@ This function uses `geiser-guile-init-file' if it exists."
(defun geiser-guile--display-error (module key msg)
(if (eq key 'geiser-debugger)
- (comint-send-string nil "bt\n")
+ (progn
+ (comint-send-string nil "0\n")
+ (accept-process-output nil 0.1)
+ (when msg
+ (goto-char (point-max))
+ (comint-previous-prompt 1)
+ (insert "\n" msg)
+ (goto-char (point-max))))
(when key
(insert "Error: ")
(geiser--insert-with-face (format "%s" key) 'bold)
@@ -137,8 +144,8 @@ This function uses `geiser-guile-init-file' if it exists."
(let ((p (point)))
(insert msg)
(goto-char p)
- (geiser-guile--find-files)))
- t))
+ (geiser-guile--find-files))))
+ t)
;;; Trying to ascertain whether a buffer is Guile Scheme:
- [nongnu] elpa/geiser-guile 9e38247 118/284: Using the scheme reader to read modules names., (continued)
- [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
- [nongnu] elpa/geiser-guile 03534f1 143/284: Guile: restoring (minimal) support for debugging REPL., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 216897a 133/284: Guile: displaying the debugger preamble.,
Philip Kaludercic <=
- [nongnu] elpa/geiser-guile 574559b 131/284: Oops, it wasn't dead., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile c2aa8ae 146/284: Guile: bug fix in macro's autodoc., Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 46e6067 154/284: Guile: show error message upon entering the debugger, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 09f4994 159/284: Guile: better filtering of "anonymous" module names, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 0505bde 158/284: REPL: (optionally) forget old errors on new expressions, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 4766cbc 163/284: Support for evaluation warnings, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile b1db6b4 168/284: Better REPL exit command, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7004a73 170/284: Guile: remote REPLs (connect-to-guile), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 0513d1c 177/284: Guile: using meta-commands to talk with Guile, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-guile 7082042 195/284: Elisp support for inferior schemes, Philip Kaludercic, 2021/08/01