Closed bomgar closed 6 years ago
I'm seeing the same thing with Emacs 25.3.1 on OS X.
I'm also having the same issue and the same workaround fixes it.
GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian
Sounds like groovy--ends-with-token-p
is getting called, without having groovy-expression-end-regexp
loaded. I'm not sure why Emacs is using old, stale, .elc
files.
I think any of these will fix it:
groovy-mode.elc
file.M-x byte-compile-file
.(setq load-prefer-newer t)
to your .emacs.d
to ensure you never load stale .elc
files.Yes, I have the same issue since commit a1c45fa0aec64024aeb45ce752bc790b0af53225 I think
Removing the byte-compiled file is the only solution. Recompiling it does not work.
I am pretty sure I introduced the error here: https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes/pull/115
I think that putting
(defconst groovy-postfix-operator-regex
(rx (or "++" "--")))
outside the eval-and-compile fixes the problem.
Error (use-package): groovy-mode/:catch: Symbol’s value as variable is void: groovy-postfix-operator-regex
I get this error when I start emacs. If I remove
groovy-mode.elc
it fixes the problem. Any ideas?