Variable: cider-locref-regexp-alist
cider-locref-regexp-alist is a customizable variable defined in
cider-repl.el.
Value
((stdout-stacktrace
"[ ]\\(at \\([^$(]+\\).*(\\([^:()]+\\):\\([0-9]+\\))\\)" 1 2 3 4)
(aviso-stacktrace
"^[ ]*\\(\\([^$/ ]+\\).*? +\\([^:]+\\): +\\([0-9]+\\)\\)" 1 2 3
4)
(print-stacktrace
"\\[\\([^][$ ]+\\).* +\\([^ ]+\\) +\\([0-9]+\\)\\]" 0 1 2 3)
(timbre-log
"\\(TRACE\\|INFO\\|DEBUG\\|WARN\\|ERROR\\) +\\(\\[\\([^:]+\\):\\([0-9]+\\)\\]\\)"
2 3 nil 4)
(cljs-message "at line \\([0-9]+\\) +\\(.*\\)$" 0 nil 2 1)
(warning "warning,? +\\(\\([^\n:]+\\):\\([0-9]+\\):[0-9]+\\)" 1 nil 2
3)
(compilation ".*compiling:(\\([^\n:)]+\\):\\([0-9]+\\):[0-9]+)" 0 nil
1 2))
Documentation
Alist holding regular expressions for inline location references.
Each element in the alist has the form (NAME REGEXP HIGHLIGHT VAR FILE LINE), where NAME is the identifier of the regexp, REGEXP - regexp matching a location, HIGHLIGHT - sub-expression matching region to highlight on mouse-over, VAR - sub-expression giving Clojure VAR to look up. FILE is currently only used when VAR is nil and must be full resource path in that case.
This variable was added, or its default value changed, in cider. version (0.16.0).
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl.el
;;; Location References
(defcustom cider-locref-regexp-alist
'((stdout-stacktrace "[ \t]\\(at \\([^$(]+\\).*(\\([^:()]+\\):\\([0-9]+\\))\\)" 1 2 3 4)
(aviso-stacktrace "^[ \t]*\\(\\([^$/ \t]+\\).*? +\\([^:]+\\): +\\([0-9]+\\)\\)" 1 2 3 4)
(print-stacktrace "\\[\\([^][$ \t]+\\).* +\\([^ \t]+\\) +\\([0-9]+\\)\\]" 0 1 2 3)
(timbre-log "\\(TRACE\\|INFO\\|DEBUG\\|WARN\\|ERROR\\) +\\(\\[\\([^:]+\\):\\([0-9]+\\)\\]\\)" 2 3 nil 4)
(cljs-message "at line \\([0-9]+\\) +\\(.*\\)$" 0 nil 2 1)
(warning "warning,? +\\(\\([^\n:]+\\):\\([0-9]+\\):[0-9]+\\)" 1 nil 2 3)
(compilation ".*compiling:(\\([^\n:)]+\\):\\([0-9]+\\):[0-9]+)" 0 nil 1 2))
"Alist holding regular expressions for inline location references.
Each element in the alist has the form (NAME REGEXP HIGHLIGHT VAR FILE
LINE), where NAME is the identifier of the regexp, REGEXP - regexp matching
a location, HIGHLIGHT - sub-expression matching region to highlight on
mouse-over, VAR - sub-expression giving Clojure VAR to look up. FILE is
currently only used when VAR is nil and must be full resource path in that
case."
:type '(alist :key-type sexp)
:package-version '(cider. "0.16.0"))