Forum: Ruby on Rails Getting emacs-rails to autocomplete

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Roland S. (Guest)
on 2007-02-20 11:45
(Received via mailing list)

Using emacs-rails mode, tab should auto-complete snippets using the
indent-or-complete function; for me it doesn't.

doing M-x help b gives me:

<tab> indent-or-complete
;; some more key bindings
TAB ruby-indent-command

I presume the TAB binding is overriding the <tab> binding - any ideas
on how I can change the order? If I do M-x indent-or-complete then the
snippet expands as expected.

I've tried doing things such as forcing it in my .emacs file by doing
local-set-key etc.

My emacs is Gnu 21.4.1

Dee Z. (Guest)
on 2007-02-20 12:20
(Received via mailing list)
Try using Emacs, compiled from CVS. I'm using it as my dev
environment (ruby or not) for years and works great.

According to you where
not the first one to struggle with this problem.


Company  -
Thoughts -
Roland S. (Guest)
on 2007-02-20 12:25
(Received via mailing list)
Thanks, I might try that.

The only thing is - I have emacs 21 at home where tab complete works
fine, and emacs 21 at work where it doesn't. So it does work in 21,
there must just be some configuration differences that I am unaware

This topic is locked and can not be replied to.