From: Jean-Hugues ROBERT Date: 2002-05-12T02:42:39+09:00 Subject: Re: emacs, inf-ruby, run-load-file removing \ filesep on Windows ? Hello, At 21:07 11/05/2002 +0900, you wrote: >Hi, > >At Sat, 11 May 2002 19:28:28 +0900, >Jean-Hugues ROBERT wrote: > > I am starting to use inf-ruby.el to run Ruby program from within emacs. > > Its great. However I have a problem with the ruby-load-file function. > > Whenever I invoke it, I get an error msg in the *ruby* buffer: > > irb(main):001:0> LoadError: No such file to load -- C:hometest.rb > > from (irb):1:in `load' > > from (irb):1 > > nota: should load C:\home\test.rb, not C:hometest.rb > >Simply, you can use slashes instead of backslashes which have >problems also in lisp. Ruby accepts slashes as file separators >same as Windows API does. > >-- >Nobu Nakada Agree. I would prefer using slashes instead of backslashes, but apparently it is XEmacs that made the other decision... I was never given the choice. Anyways, changing " into ' in ruby-load-file worked for me. Thanks. Yours, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17