diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-02-14 06:10:50 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-02-14 06:10:50 +0100 |
commit | a6c553d0d8e3d75d5557c40288ee0e2cf8418f3d (patch) | |
tree | 76ea48f3e5af3cbf496fc811f3afb337988de501 /elisp/geiser-repl.el | |
parent | 24ae4c34e08cd07945044f605b2d8a0306cc78c3 (diff) | |
download | geiser-chez-a6c553d0d8e3d75d5557c40288ee0e2cf8418f3d.tar.gz geiser-chez-a6c553d0d8e3d75d5557c40288ee0e2cf8418f3d.tar.bz2 |
Guile REPL: bug fix: correctly track debugging status
We weren't tracking the "enter debugger" event correctly, and all
evaluations in debug mode were failing. There's still (at least)
another bug, because error navigation in backtraces seems broken.
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r-- | elisp/geiser-repl.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index cbaaf24..fd274a7 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -243,6 +243,9 @@ module command as a string") (geiser-repl--host) (geiser-repl--port))))) +(defun geiser-repl--update-debugging (txt) + (geiser-con--connection-update-debugging geiser-repl--connection txt)) + (defun geiser-repl--start-repl (impl address) (message "Starting Geiser REPL for %s ..." impl) (geiser-repl--to-repl-buffer impl) @@ -267,6 +270,10 @@ module command as a string") (geiser-repl--startup impl address) (geiser-repl--autodoc-mode 1) (geiser-company--setup geiser-repl-company-p) + (add-hook 'comint-output-filter-functions + 'geiser-repl--update-debugging + nil + t) (message "%s up and running!" (geiser-repl--repl-name impl)))) (defun geiser-repl--start-scheme (impl address prompt) |