From: Dave Thomas Date: 2002-05-10T22:32:26+09:00 Subject: Re: xemacs & mode-ruby.el, broken ? Jean-Hugues ROBERT writes: > Hello, > > At 23:47 09/05/2002 +0900, you wrote: > >At Thu, 9 May 2002 21:53:30 +0900, > >Jean-Hugues ROBERT wrote: > > > Thanks. I am still having difficulties with syntax highlighting > > > (besides the ones with regexps). It does not work when I open a file & > > > to manually force it I have to decheck/recheck... > > > Options/Syntax Highlighting/In This Buffer > > > ... rather inconvenient. > >Concretely, in what case? > >Nobu Nakada > > When I open a Ruby file, it is displayed with some coloring, very little. > Only comments and strings (both ' & " enclosed) are colored. > > As a workaround I bound a key to ( font-lock-fontify-buffer ) to force > fontifying. Works for me. I found that with XEmacs I have to add a (load "font-lock") to the start of my .emacs file. Without, ruby-mode doesn't detect the presence of the font-lock package. Dave