Ruby mode for Emacs

Source: Internet
Author: User
Tags autoload

2011-01-27ruby mode for Emacs
    Blog type: 

  • Tools
Rubyemacslispsvn

Http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_330/misc/

 

 

Ruby code
  1. Readme this file
  2. Inf-ruby.el program to run ruby under Emacs
  3. Ruby-mode.el Ruby mode for Emacs
  4. Rubydb2x. El Ruby debugger support for Emacs 19.2x or before
  5. Rubydb3x. El Ruby debugger support for Emacs 19.3x or later
  6. Ruby-electric.el (Emacs minor mode providing electric commands)

 




Check out http://rubyforge.org/projects/ruby-debug/ also.

 

 

. Emacs:

 

Ruby code
  1. (Add-to-list 'Load-path "~ /. Emacs. d/Site-lisp/ruby ")
  2. (Autoload 'Ruby-mode "Ruby-mode"
  3. "Mode for editing Ruby source files ")
  4. (Add-to-list 'auto-mode-alist' ("\. RB $". Ruby-mode ))
  5. (Add-to-list 'interpreter-mode-alist' ("Ruby". Ruby-mode ))
  6. (Autoload 'run-Ruby "INF-Ruby"
  7. "Run an inferior Ruby process ")
  8. (Autoload 'inf-ruby-keys "INF-Ruby"
  9. "Set local key defs for INF-Ruby in ruby-mode ")
  10. (Add-hook 'Ruby-mode-hook
  11. '(Lambda ()
  12. (INF-ruby-keys )))
  13. ; If you have Emacs 19.2x or older, use rubydb2x
  14. (Autoload 'rubydb "rubydb3x" "Ruby Debugger" t)
  15. ; Uncomment the next line if you want syntax highlighting
  16. (Add-hook 'Ruby-mode-call' turn-on-font-Lock)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.