-
-
Notifications
You must be signed in to change notification settings - Fork 652
Closed
Labels
buggood first issueA simple tasks suitable for first-time contributorsA simple tasks suitable for first-time contributors
Description
Expected behavior
Cider should support Emacs 25.1+.
The most recent version of Aquamacs is based on version 25.3 of Emacs so support for this version would be highly appreciated.
Actual behavior
Typing a symbol in the REPL results in the following error:
Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (string) "Remove trailing whitespace from STRING." ...
cider-symbol-at-point()
cider-eldoc-info-at-point()
cider-eldoc-info-in-current-sexp()
cider-eldoc()
eldoc-print-current-symbol-info()
...
The problem seems to be cider-symbol-at-point
which calls string-trim-right
in subr-x.el
with an additional regexp argument. However, this signature does not exist in version 25 of Emacs.
My temporary workaround was to add cider-string-trim-right
to cider-util.el
with the definition of string-trim-right
from Emacs 26.
Environment & Version information
CIDER version information
;; CIDER 0.23.0 (Lima), nREPL 0.6.0
;; Clojure 1.10.0, Java 1.8.0_222
Lein/Boot version
Leiningen 2.9.1 on Java 1.8.0_222 OpenJDK 64-Bit Server VM
Emacs version
Aquamacs 3.5 based on GNU Emacs 25.3.50.1
Operating system
macOS Mojave
Metadata
Metadata
Assignees
Labels
buggood first issueA simple tasks suitable for first-time contributorsA simple tasks suitable for first-time contributors