-
Notifications
You must be signed in to change notification settings - Fork 40
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
Failure to load in Emacs 25 #30
Comments
I have very little context on elisp and the package itself, but I gave it a try. --- /Users/bruno/groovy-mode.el 2016-10-03 11:14:50.000000000 -0300
+++ groovy-mode.el 2016-10-03 11:14:00.000000000 -0300
@@ -330,7 +330,7 @@
;; Java does not define these pseudo-kewords as keywords, why not?
(c-lang-defconst c-constant-kwds
- groovy '( "true" "false" "null" ))
+ groovy `( "true" "false" "null" ))
;; Why does Java mode not put `super' into the `c-primary-expr-kwds?
Changing the quoting mark did the trick here. Not sure why. It does not work on Emacs 24.5 with this change. |
@DarthFennec Debian Sid has now switched from Emacs 24 to Emacs 25 (25.1.1). I just tried editing a Groovy file and did not see the problem you reported. Even though it "works for me", is there still a problem for you? |
@bltavares The normal quote (') is correct here. Although backquote(`) should work, the extra facilities of that quote form would not be used here so the behaviour using either should be identical. |
Yeah, I don't have this problem anymore. No idea what was causing it, seeing as my emacs hasn't been updated since, and this mode hasn't changed in a way that would affect this either. Very strange. Also very strange that the quasiquote would work when a normal quote didn't (by the way, thank you @bltavares for this, it fixed the issue for me in the meantime). But everything seems to work normally now, so I think this is resolved. |
@DarthFennec Yeah, it was odd that ` worked. I don't have the issue anymore. Probably something unrelated, or it was bad compiled file. |
Good to know it works now. I was having a very hard time thinking what the problem could be. The idea of a badly compiled file that got recompiled would fit, but I am not sure what might have caused that. |
Hi, I experienced a similar problem [1] and managed to fix it by uninstalling and reinstalling the package from within Hope it helps. |
I'm using Emacs 25.1.1. When I try to run
groovy-mode
, the mode fails to start, with the following error:The text was updated successfully, but these errors were encountered: