Skip to content
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

Change groovy-mode to be a standalone mode. #35

Closed
wants to merge 3 commits into from

Conversation

Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Mar 6, 2017

As discussed in #26 (comment) I'm having a go at modifying groovy-mode so it doesn't depend on cc-mode.

This has fixed all of the open highlighting bugs in this repo, and it should fix #11 too.

Let me know what you think.

Edit: now includes indentation logic.

This is set automatically by MELPA.
* Ensures we highlight all keywords correctly. Fixes Groovy-Emacs-Modes#33 and Groovy-Emacs-Modes#26. We
  also highlight `println` and `print` for consistency with other
  modes, such as python-mode.

* Highlight triple-quoted strings correctly. Fixes Groovy-Emacs-Modes#29.

* Ensure we consistently highlight variable declarations (fixes Groovy-Emacs-Modes#27)
  and variable assignments.

* Highlights `it` as a variable unconditionally.
@russel
Copy link
Contributor

russel commented Mar 7, 2017

I think for the moment I should merge this into a new branch in this mainline repository. People willing to test the mode (including me) can then use the branch rather than master. This would entail me merging this pull request on my clone, pushing to mainline, and then apparently rejecting this pull request.

Does that make sense and seem reasonable?

@russel russel self-requested a review March 7, 2017 07:43
@russel russel self-assigned this Mar 7, 2017
@Wilfred
Copy link
Contributor Author

Wilfred commented Mar 7, 2017

Yep, that makes sense, thanks.

@Wilfred Wilfred changed the title [WIP] Change groovy-mode to be a standalone mode. Change groovy-mode to be a standalone mode. Mar 16, 2017
@Wilfred
Copy link
Contributor Author

Wilfred commented Mar 16, 2017

@russel I've added indentation logic, so as far as I'm concerned this is done! :)

This should fix #10, #22 and the second case mentioned in #16.

@russel
Copy link
Contributor

russel commented Mar 17, 2017

As agreed I have created a new branch in this mainline repository with this changeset in and so I am rejecting this pull request (since it is posted against master). I will amend the README.md in master and post an email to the Groovy mailing list to see if we can get people to use the new version and report back.

@russel russel closed this Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't load groovy-mode : File mode specification error: (void-function set-difference)
2 participants