07/05/04 14:02:53 LXgagbBR0
>>54の続き
■.emacs
;; rubyの設定
(setq ruby-program-name "ruby -S irb --inf-ruby-mode")
(autoload 'ruby-mode "ruby-mode"
"Mode for editing ruby source files" t)
(setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
interpreter-mode-alist))
(when (locate-library "irbsh")
(autoload 'irbsh "irbsh" "irbsh - IRB.extend ShellUtilities" t)
(autoload 'irbsh-oneliner-with-completion "irbsh" "irbsh oneliner" t))
(when (locate-library "irbsh-toggle")
(autoload 'irbsh-toggle "irbsh-toggle"
"Toggles between the *irbsh*1 buffer and whatever buffer you are editing."
t)
(autoload 'irbsh-toggle-cd "irbsh-toggle"
"Pops up a irbsh-buffer and insert a \"cd <file-dir>\" command." t))
■ruby
ruby 1.8.5(i386-cygwin)
irbsh 1.0
irb 0.9.5