Comments (4)
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
(define-key global-map (kbd "RET") 'newline-and-indent)
(eval-after-load 'ruby-mode
'(progn
(define-key ruby-mode-map (kbd "RET") 'reindent-then-newline-and-indent)))
(eval-after-load 'yas-mode
'(progn
(define-key yas-mode-map (kbd "RET") 'reindent-then-newline-and-indent)))
from emacs24-starter-kit.
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.
from emacs24-starter-kit.
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?
from emacs24-starter-kit.
I'll have a look, but it will have to wait until next week, I'm afraid --
we have a new dev starting, and I'm working pretty much around the clock to
get everything ready for them.
Of all the times to buy a new computer, too! :)
Cheers,
Doug.
On 29 May 2013 18:57, jumpcannon [email protected] wrote:
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?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-18634494
.
from emacs24-starter-kit.
Related Issues (20)
- How to override buildin CEDET HOT 1
- Auto completion of C-x-C-f HOT 3
- flet is deprecated HOT 1
- espresso mode no longer available, renamed to js-mode HOT 1
- Publish to MELPA? HOT 6
- adding turn-on-flyspell text-mode hook throws an error HOT 1
- How to use starter kit with desktop.el and other init-dependant functions? HOT 1
- why three elisp code in starter-kit.org no run? HOT 2
- head of packaged python-mode needs python-mode installation dir set HOT 1
- starter-kit-lisp.org breaks the SLIME debugger
- custom.el not loading HOT 1
- Autocompletion? HOT 2
- "Package `emacs-24.4' is unavailable" HOT 1
- conflict between `org-src-tab-acts-natively` and yasnippet
- No starter-git-gnus-imap.el was found
- Upgrading org-mode?
- Put files to be loaded in a sub-directory of .emacs.d
- [:Query] on starter-kit.org
- starter-kit-gnus.org contains stuff related to GMail which seems weird
- Common code for personal settings that aren't dependent on usernames or system-names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs24-starter-kit.