From: slumos@... Date: 2003-05-15T02:45:07+09:00 Subject: Re: ruby-mode font-lock confusion "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> writes: > On Wed, 14 May 2003 10:16:39 +0000, Steven Lumos wrote: > > > The second = in this code causes ruby-mode to mark everything after it as a string. > > > > T = < > <%= @text %> > > EOQ > > > > Steve > > > > cat c.rb > puts < <%= @text %> > EOQ > > > > > ruby c.rb > <%= @text %> > > > > Looking in Rubys ref-manual.. it seems normal to me. > http://www.ruby-lang.org/en/man-1.4/syntax.html#here_doc > > > Is there a problem with it ? Sorry. I wasn't very clear. I'm talking about Emacs ruby-mode font-locking (highlighting, colorizing, whatever). With the above at the top of a source file, everything in the file after the second = will have the color for string instead of the correct color. Steve