Hi there,
I’m interested in arorem.
Here is some info about my emacs environment:
22.0.50.1 Mac OS X
I have arorem installed here:
/Users/maco/.emacs.d/arorem:
total used in directory 376 available 6705392
drwxr-xr-x 20 maco maco 680 Oct 20 12:27 .
drwxr-xr-x 4 maco maco 136 Oct 20 12:24 …
drwxr-xr-x 11 maco maco 374 Aug 4 14:56 .svn
-rw-r–r-- 1 maco maco 3994 Aug 4 14:56 arorem-abbrevs.el
-rw-r–r-- 1 maco maco 793 Aug 4 14:56 arorem-rhtml.el
-rw-r–r-- 1 maco maco 6377 Aug 4 14:56 arorem.el
-rw-r–r-- 1 maco admin 4669 Jul 30 23:22 find-recursive.el
-rw-r–r-- 1 maco admin 14215 Aug 4 15:07 inf-ruby.el
-rw-r–r-- 1 maco admin 16105 Apr 19 2006 rails-core.el
-rw-r–r-- 1 maco admin 6608 Apr 19 2006
rails-for-controller.el
-rw-r–r-- 1 maco admin 1114 Apr 19 2006 rails-for-layout.el
-rw-r–r-- 1 maco admin 7269 Apr 19 2006 rails-for-rhtml.el
-rw-r–r-- 1 maco admin 6646 Apr 19 2006 rails-lib.el
-rw-r–r-- 1 maco admin 12372 Apr 19 2006 rails-navigation.el
-rw-r–r-- 1 maco admin 1433 Apr 19 2006 rails-ruby.el
-rw-r–r-- 1 maco admin 6867 Apr 19 2006 rails-scripts.el
-rw-r–r-- 1 maco admin 21264 Apr 19 2006 rails-ui.el
-rw-r–r-- 1 maco admin 5242 Apr 19 2006 rails-webrick.el
-rw-r–r-- 1 maco admin 13493 Apr 20 2006 rails.el
-rw-r–r-- 1 maco admin 26309 Jul 30 23:19 snippet.el
In my .emacs I have this:
(setq load-path (append '("~/.emacs.d/arorem") load-path))
(require 'arorem)
When I start emacs I notice some changes.
These items are added to my command completion set:
Possible completions are:
arorem arorem-console
arorem-rhtml arorem-switch-test
arorem-switch-view
When I try to complete the command
rails
I get nothing.
So, I’m worried my arorem setup is not right.
If I can get some answers to the questions below,
maybe I can use those answers to get handier with arorem.
Suppose I’m editing a controller named admin_controller.rb
How do I hot-key to corresponding views?
Suppose I’m editing foo.rhtml
How do I hot-key to get an empty erb tag?
[
currently, if I type <%=, arorem jumps in and gives me this:
<<%= -%>
which is very annoying
]
Suppose I’m editing a model class
How do I hot-key to the corresponding migration script?
How do I tell arorem that my copy of ruby is here:
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/bin/ruby
How do I tell arorem I want a console running in a shell buffer?
Thanks,
-Dan