Hi 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 TIA, Roland --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try using Emacs 22.0.50.1, compiled from CVS. I''m using it as my dev environment (ruby or not) for years and works great. According to http://wiki.rubyonrails.com/rails/pages/HowToUseEmacsWithRails you where not the first one to struggle with this problem. Best, Zsombor -- Company - http://primalgrasp.com Thoughts - http://deezsombor.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 of. Cheers, Roland On Feb 20, 10:18 am, Dee Zsombor <dee.zsom...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try using Emacs 22.0.50.1, compiled from CVS. I''m using it as my dev > environment (ruby or not) for years and works great. > > According tohttp://wiki.rubyonrails.com/rails/pages/HowToUseEmacsWithRailsyou where > not the first one to struggle with this problem. > > Best, > Zsombor > > -- > Company -http://primalgrasp.com > Thoughts -http://deezsombor.blogspot.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---