justinbarclay / parinfer-rust-mode

Simplifying how you write Lisp
https://shaunlebron.github.io/parinfer/
GNU General Public License v3.0
234 stars 17 forks source link

parinfer-rust---test-p not a symbol #40

Closed justinbarclay closed 3 years ago

justinbarclay commented 3 years ago

I get another error when using the version cloned from the parinfer-rust git repo and building using the instructions given there:

Debugger entered--Lisp error: (wrong-type-argument symbolp (parinfer-rust--test-p))
   boundp((parinfer-rust--test-p))
   parinfer-rust--check-version("0.4.4-beta" "0.4.3" "/home/jthoren/.emacs.d/.local/etc/parinfer-rust/li..." nil)
   parinfer-rust-mode()
   run-hooks(change-major-mode-after-body-hook prog-mode-hook emacs-lisp-mode-hook)
   apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook emacs-lisp-mode-hook))
   run-mode-hooks(emacs-lisp-mode-hook)
   ...

Does this indicate that the version I get when compiling parinfer-rust from the git repo is incompatible with parinfer-rust-mode?

Originally posted by @johanthoren in https://github.com/justinbarclay/parinfer-rust-mode/issues/37#issuecomment-792343900

After a refactor test-p is no longer a variable but is a function and therefore no longer needs to be ran through bound-and-true