[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-guile 5d49d07 122/284: Guile: fixes for error navig
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-guile 5d49d07 122/284: Guile: fixes for error navigation. |
Date: |
Sun, 1 Aug 2021 18:29:29 -0400 (EDT) |
branch: elpa/geiser-guile
commit 5d49d078b354a55720da52c657eeae79d532852e
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>
Guile: fixes for error navigation.
---
elisp/geiser-guile.el | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 0bbf9b7..2c49fd6 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -152,10 +152,9 @@ This function uses `geiser-guile-init-file' if it exists."
;;; Compilation shell regexps
-(defconst geiser-guile--path-rx "^In \\([^:\n]+\\):\n")
+(defconst geiser-guile--path-rx "^In \\([^:\n ]+\\):\n")
-(defconst geiser-guile--rel-path-rx
- "^In \\([^/\n]+.+?/module/\\([^:\n]+\\)\\):\n")
+(defconst geiser-guile--rel-path-rx "^In +\\([^/\n :]+\\):\n")
(make-variable-buffer-local
(defvar geiser-guile--load-path nil))
@@ -173,22 +172,20 @@ This function uses `geiser-guile-init-file' if it exists."
(let ((f (match-string-no-properties 1)))
(if (file-name-absolute-p f)
(list f)
- (let ((p (match-string-no-properties 0)))
- (when (string-match geiser-guile--rel-path-rx p)
- (let ((f (geiser-guile--find-in-load-path
- (match-string-no-properties 2 p)
- geiser-guile--load-path)))
- (and f (list f))))))))
+ (message "looking for %s" f)
+ (let ((f (geiser-guile--find-in-load-path f geiser-guile--load-path)))
+ (and f (list f))))))
(defun geiser-guile--startup ()
(set (make-local-variable 'compilation-error-regexp-alist)
`((,geiser-guile--path-rx geiser-guile--resolve-file-x)
- ("^ +\\([0-9]+\\): +" nil 1)
+ ("^ *\\([0-9]+\\): +" nil 1)
("at \\(/[^:\n]+\\):\\([[:digit:]]+\\):\\([[:digit:]]+\\)" 1 2 3)))
(setq geiser-guile--load-path (geiser-guile--load-path))
(compilation-setup t)
- (font-lock-add-keywords
- nil `((,geiser-guile--path-rx 1 compilation-error-face))))
+ (font-lock-add-keywords nil
+ `((,geiser-guile--path-rx 1
+ compilation-error-face))))
;;; Implementation definition:
- [nongnu] elpa/geiser-guile 19acc65 112/284: New command to switch to REPL and put it in current module., (continued)
- [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
- [nongnu] elpa/geiser-guile 5d49d07 122/284: Guile: fixes for error navigation.,
Philip Kaludercic <=
- [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, 2021/08/01
- [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