-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong type argument: number-or-marker-p
on native-comp
branch
#587
Labels
Comments
I am facing the exact same issue. I tried Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
#f(compiled-function (indent-point last-sexp containing-form-column method) #<bytecode -0x558e0fe260f46bc>)(82 67 2 nil)
clojure-indent-function(82 (2 62 67 nil nil nil 1 nil nil (35 62) nil))
calculate-lisp-indent((2 62 67 nil nil nil 1 nil nil (35 62) nil))
lisp-indent-line()
clojure-indent-line()
indent-according-to-mode()
#f(compiled-function (&optional arg) "Insert a newline, then indent according to major mode.\nIndentation is done using the value of `indent-line-function'.\nIn programming language modes, this is the same as TAB.\nIn some text modes, where TAB inserts a tab, this command indents to the\ncolumn specified by the function `current-left-margin'.\n\nWith ARG, perform this action that many times." (interactive "*p") #<bytecode 0x167a886a28ec364c>)()
apply(#f(compiled-function (&optional arg) "Insert a newline, then indent according to major mode.\nIndentation is done using the value of `indent-line-function'.\nIn programming language modes, this is the same as TAB.\nIn some text modes, where TAB inserts a tab, this command indents to the\ncolumn specified by the function `current-left-margin'.\n\nWith ARG, perform this action that many times." (interactive "*p") #<bytecode 0x167a886a28ec364c>) nil)
newline-and-indent()
lispy-newline-and-indent-plain()
funcall-interactively(lispy-newline-and-indent-plain)
call-interactively(lispy-newline-and-indent-plain nil nil)
command-execute(lispy-newline-and-indent-plain) Note: I am also on the EDIT: Possible duplicate of #584? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Proper code indentation
Actual behavior
Message/error
Wrong type argument: number-or-marker-p
Steps to reproduce the problem
Install the emacs from the
native-comp
branch, commit64425ee0d
and try to indent any clojure codeEnvironment & Version information
clojure-mode version
5.13.0
Emacs version
emacs 28.0.50 pgtk-nativecomp 64425ee0d
Operating system
Arch Linux
I'm far from an
elisp
hacker and I have no idea if the problem is on theclojure-mode
side or somewhere else, but after remove(,mothod)
fromt this line everything works. With this,method
"resets" and becomesnil
. I have no idea and I don't understand why.The text was updated successfully, but these errors were encountered: