diff options
author | Lockywolf <lockywolf@gmail.com> | 2019-08-06 00:43:05 +0800 |
---|---|---|
committer | Lockywolf <lockywolf@gmail.com> | 2019-08-06 00:43:05 +0800 |
commit | 424470849cec9044d67c50003624d95556b0055f (patch) | |
tree | db7a029cd15ec84a4e3906f037ba9ebd7b3ca65f | |
parent | e8a9fdf7a6fef3378d7b7016fd01d1f3ba1a50d0 (diff) | |
download | geiser-424470849cec9044d67c50003624d95556b0055f.tar.gz geiser-424470849cec9044d67c50003624d95556b0055f.tar.bz2 |
Add scheme subroutine to find files implementing modules to chibi.
Add a helper function make-location to chibi interface.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | elisp/geiser-connection.el | 1 | ||||
-rw-r--r-- | elisp/geiser-edit.el | 4 | ||||
-rw-r--r-- | elisp/geiser-eval.el | 1 |
4 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,4 @@ +*~ *.elc Makefile Makefile.in diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el index 510afe9..560412f 100644 --- a/elisp/geiser-connection.el +++ b/elisp/geiser-connection.el @@ -252,6 +252,7 @@ "Time limit, in msecs, blocking on synchronous evaluation requests") (defun geiser-con--send-string/wait (con str cont &optional timeout sbuf) + (message "lwf:g-c--s-s/w:%s" str) (save-current-buffer (let ((proc (and con (geiser-con--connection-process con)))) (unless proc (error "Geiser connection not active")) diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 3187b99..6754472 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -237,10 +237,10 @@ With prefix, asks for the symbol to edit." (geiser-completion--read-symbol "Edit symbol: "))) (cmd `(:eval (:ge symbol-location ',symbol))) (marker (point-marker))) - (condition-case err + (condition-case-unless-debug err (progn (geiser-edit--try-edit symbol (geiser-eval--send/wait cmd)) (when marker (xref-push-marker-stack))) - (error (condition-case nil + (error (condition-case-unless-debug nil (geiser-edit-module-at-point) (error (error (error-message-string err)))))))) diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el index 6209dd3..c8059a6 100644 --- a/elisp/geiser-eval.el +++ b/elisp/geiser-eval.el @@ -161,6 +161,7 @@ module-exports, autodoc, callers, callees and generic-methods.") (and (listp ret) (or (assoc 'error ret) (assoc 'result ret)))) (defsubst geiser-eval--retort-result (ret) + (message "lwf:g-e--r-r:%s" ret) (let ((values (cdr (assoc 'result ret)))) (car (geiser-syntax--read-from-string (car values))))) |