[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby mode indentation bug

Ben Giddings

10/8/2003 1:43:00 AM

In this version of XEmacs:

XEmacs 21.4 (patch 12) "Portable Code" [Lucid] (i386-redhat-linux, Mule) of
Thu Feb 20 2003 on porky.devel.redhat.com

Hitting tab (ruby-indent-command) on the "LIMIT 5" line of the following
code never terminates:

sql =<<__END__
SELECT * FROM Data
WHERE Datum = ?
LIMIT 5
__END__

It works fine in Emacs 21.2.1

I tested it on 1.69 (came with Ruby 1.8) and rev 1.25.2.11, both were the same.

I started diving into the code to fix it, but it's late so I'm going to
stop for now. Nobu, you're listed as the author. If I can help you fix it
I'd be happy to try. It may even be an XEmacs bug for all I know, but it
is pretty annoying, whatever it is.

Thanks,

Ben