-
Notifications
You must be signed in to change notification settings - Fork 302
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
Ruby mode RET bound to newline (without indent), and cannot reassign #40
Comments
Update: It looks like a confilct with yasnippet. Adding the following to the end of my init.el file seems to have fixed the issue for now, unless it has introduced any other wrinkles I've yet to come across: ;; Indent on newline |
Thanks for sharing your solution. If you could turn this into a patch against starter-kit-ruby.org which does not change the global key map then I'd be happy to apply the patch. If yasnippet is changing key bindings in ruby mode, then maybe this should be reported upstream to the yasnippet maintainers. |
Just a shot in the dark, but yasnippet is clobbering the ruby-mode keymap, could you fix it by loading them in the other order? |
I'll have a look, but it will have to wait until next week, I'm afraid -- On 29 May 2013 18:57, jumpcannon notifications@github.com wrote:
|
Hi. I'm using the latest emacs24 starter kit, but it seems to be broken with regard to the RET key in Ruby mode.
When I type C-h k to see what is bound to the return key, it tells me that it is newline (not the newline and indent) function that is.
I cannot see where this reassignment is happening to correct it, and (as I am a Ruby dev), this makes everything pretty unusable.
I've tried reassigning the key for ruby and globally at the end of my init.el, but to no avail.
I've also tested the problem with a fresh install of the starter kit to be sure that it's not something I have done.
I'm running EMACS 24 on Ubuntu 13.04.
Cheers,
Doug.
The text was updated successfully, but these errors were encountered: