Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Emacs Mode
-
Labels:None
-
Environment:GNU Emacs 21 (and probably most other versions of Emacs as well)
-
Number of attachments :
Description
The Emacs mode for Groovy at <http://svn.groovy.codehaus.org/browse/~raw,r=HEAD/groovy/trunk/groovy/ide/groovy-emacs/groovy-mode.el> contains too many Ruby-isms to be a good Groovy mode.
I've attached a patch that fixes the following issues:
- Ruby-style comments were recognized but Java-style comments were not.
- Some Ruby keywords that are not Groovy keywords were highlighted.
- Indentation after "->" and "import ....*" was wrong.
- Indetation of "else" blocks was wrong.
This file is completely different than the other two Groovy modes for emacs. It is based on an excellent GPL2 Javascript mode by kland@comhem.se.