On Wednesday 02 May 2012, Manish Chakravarty wrote: > Hello everyone, > > I tried IRC and other forums and I could not get an answer - thus I > am posting here - This could be called an off-topic post so I > apologize. > > Problem statement: > > - I have moved to Emacs as my primary editor/operating system ( > Depending on your point of view :) ) > - I have my Emacs set-up to load ruby-major-mode for *.rb files. > - I have Rinari-minor-mode installed and I can load it manually ( > after the Ruby major mode has auto-loaded for *.rb files) by doing a > "M-x rinari-minor-mode" > - I want Rinari-minor-mode to be auto-loaded whenever > Ruby-major-mode is loaded. > > My current .emacs is at -> > https://github.com/manishchaks/Emacs-Configuration/blob/master/.emacs > I tried evaluating the Lisp variable "ruby-mode-hook" by doing a "C-h > v 'ruby-mode-hook' and it gives me the following output > ruby-mode-hook's value is ((lambda nil > (local-set-key rspec-key-command-prefix > rspec-mode-verifible-keymap)) (lambda nil > (when > (rspec-buffer-is-spec-p) > (rspec-mode))) > inf-ruby-keys rinari-minor-mode rinari-launch)
It should work if you just add (rinari-minor-mode t) or something to the ruby-mode-hook function. Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F -- You received this message because you are subscribed to the Google Groups "ILUG Bengaluru" group. To post to this group, send email to ilug-bengaluru@googlegroups.com. To unsubscribe from this group, send email to ilug-bengaluru+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/ilug-bengaluru?hl=en.