2011-01-27ruby mode for Emacs
Rubyemacslispsvn
Http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_330/misc/
Ruby code
- Readme this file
- Inf-ruby.el program to run ruby under Emacs
- Ruby-mode.el Ruby mode for Emacs
- Rubydb2x. El Ruby debugger support for Emacs 19.2x or before
- Rubydb3x. El Ruby debugger support for Emacs 19.3x or later
- Ruby-electric.el (Emacs minor mode providing electric commands)
Check out http://rubyforge.org/projects/ruby-debug/ also.
. Emacs:
Ruby code
- (Add-to-list 'Load-path "~ /. Emacs. d/Site-lisp/ruby ")
- (Autoload 'Ruby-mode "Ruby-mode"
- "Mode for editing Ruby source files ")
- (Add-to-list 'auto-mode-alist' ("\. RB $". Ruby-mode ))
- (Add-to-list 'interpreter-mode-alist' ("Ruby". Ruby-mode ))
- (Autoload 'run-Ruby "INF-Ruby"
- "Run an inferior Ruby process ")
- (Autoload 'inf-ruby-keys "INF-Ruby"
- "Set local key defs for INF-Ruby in ruby-mode ")
- (Add-hook 'Ruby-mode-hook
- '(Lambda ()
- (INF-ruby-keys )))
- ; If you have Emacs 19.2x or older, use rubydb2x
- (Autoload 'rubydb "rubydb3x" "Ruby Debugger" t)
- ; Uncomment the next line if you want syntax highlighting
- (Add-hook 'Ruby-mode-call' turn-on-font-Lock)