The problem is simple: I can get it to work. I’m running Xemacs
21.4.6 from Debian woody. The ruby-elisp files are stored here:
/usr/share/xemacs21/site-lisp/ruby-lisp
I presume that I’m supposed to install ruby-mode by installing them
via the xemacs package installer, but no go.
What should I do? I would really like to use xemacs as my ruby
debugger. Any advice or tips would be greatly appreciated!
···
–
William Crowshaw
wcrowshaw@yahoo.com (W. Crowshaw) writes:
The problem is simple: I can get it to work. I’m running Xemacs
21.4.6 from Debian woody. The ruby-elisp files are stored here:
/usr/share/xemacs21/site-lisp/ruby-lisp
Assuming you meant “I can’t get it to work”, what is the problem? Does it
load? Does it turn all your code chartreuse?
To load ruby-mode, add
(autoload 'ruby-mode "ruby-mode" "Ruby mode" t nil)
to your .emacs file.
Does load-path include /usr/share/xemacs21/site-lisp/ruby-lisp? If not, you
can add
(add-to-list 'load-path "/usr/share/xemacs21/site-lisp/ruby-lisp")
before trying to load ruby-mode.
Jim
···
–
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“We’ve heard that a million monkeys at a million keyboards could produce the
Complete Works of Shakespeare; now, thanks to the Internet, we know this is
not true.” – Robert Wilensky, University of California
Thanks for your help. Unfortunately your suggestions didn’t work.
What I meant by “can’t get it to work” was that I get no syntax
highlight when
I hope a ruby file. Nor am I able to invoke ruby in the debugger mode
to debug my ruby script.
Incidentally, when I open a .rb file, xemacs says:
“Loading inf-ruby…done”
Any other advice?
Jim Menard jimm@io.com wrote in message news:wsqhe2qij8y.fsf@io.com…
···
wcrowshaw@yahoo.com (W. Crowshaw) writes:
The problem is simple: I can get it to work. I’m running Xemacs
21.4.6 from Debian woody. The ruby-elisp files are stored here:
/usr/share/xemacs21/site-lisp/ruby-lisp
Assuming you meant “I can’t get it to work”, what is the problem? Does it
load? Does it turn all your code chartreuse?
To load ruby-mode, add
(autoload 'ruby-mode "ruby-mode" "Ruby mode" t nil)
to your .emacs file.
Does load-path include /usr/share/xemacs21/site-lisp/ruby-lisp? If not, you
can add
(add-to-list 'load-path "/usr/share/xemacs21/site-lisp/ruby-lisp")
before trying to load ruby-mode.
Jim