Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Emacs syntax highlighting error
Daniel Harple
1/12/2006 3:21:00 AM
I am getting an error in GNU Emacs with ruby syntax highlighting.
<<< CODE >>>
foo = "'?"
def blah
end
<<< CODE >>>
The highlighting for the string goes on.
-- Daniel
2 Answers
furlan primus
1/14/2006 1:55:00 AM
0
Daniel Harple wrote:
> I am getting an error in GNU Emacs with ruby syntax highlighting.
>
> <<< CODE >>>
> foo = "'?"
>
> def blah
> end
> <<< CODE >>>
>
> The highlighting for the string goes on.
Is it due to the ' to the left of the ? (?).
If you remove the ' it seems to display correctly.
--
Links:
http://del.icio...
Home:
http://thispaceavailable.uxb.net/...
"The whole world is about three drinks behind." -- Humphrey Bogart
George Ogata
1/14/2006 7:15:00 AM
0
Daniel Harple <dharple@generalconsumption.org> writes:
> I am getting an error in GNU Emacs with ruby syntax highlighting.
>
> <<< CODE >>>
> foo = "'?"
>
> def blah
> end
> <<< CODE >>>
>
> The highlighting for the string goes on.
I don't see this happening in the latest ruby-mode. Get it from CVS
(in misc/), or:
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/...
It probably happened because it was treating the ?" as a character
escape, and so was still looking for a closing ".
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Emacs syntax highlighting error
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password