On 3/17/07, Luke Ivers
<technodolt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have never used emacs before.
> I have a windows box.
> Can anyone point me at some kind of tutorial for setting up emacs with all
> the nifty Rails tools you can get for it?
>
> Thanks.
Ok here is my .emacs file:
(setq load-path
(append (list nil "~/lisp/"
"~/lisp/arorem/"
"~/lisp/custom/"
"~/lisp/nxml_mode/"
"~/lisp/rinari/"
"~/lisp/rinari/rhtml"
"~/lisp/icicles"
"~/lisp/shared/")
load-path))
;; here let''s load everything in proper order here
(load "setup.el")
(load "01bm.el")
(load "02ruby_mode.el")
(load "03rails.el")
(load "04nxml.el")
(load "05ido.el")
;;(load "07vm.el")
(load "08fri.el")
(load "09org.el")
(load "10sql.el")
(load "11erlang.el")
(load "12rd.el")
(load "13rcode.el")
(load "last.el")
(load "my_snippets.el")
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won''t work right.
''(bm-persistent-face ((((class color) (background light))
(:background "MistyRose" :foreground "Black"))))
''(font-lock-comment-face ((((class color) (min-colors 88) (background
light)) (:foreground "grey64" :slant italic :family
"-*-helvetica-medium-*-*-*-12-*-*-*-*-*-*-*")))))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won''t work right.
)
And You can download ready to run/work lisp files from
http://syncnotes.googlecode.com/files/lisp.tar.bz2
The caveats are, I have obviously customized emacs, to suit my taste
of key bindings, and hence for me Control-W is backward word delete,
and region kill is C-X,C-K
Other set of shortcuts are basically inspired from here:
http://steve.yegge.googlepages.com/effective-emacs
Unzip the archive and put it under directory ~/lisp . If you in home,
it would automatically create that directory for you.
lisp
|
|---- rinari
|---- xxxx
And put the above .emacs file in your home directory and restart your
emacs. For using above packages, you must be running > Emacs 22
Snippets, ruby debugging, control/view/testcase switching, console,
irb, and many other things should work out of the box.
All the best
--
gnufied
-----------
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.
http://people.inxsasia.com/~hemant
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---