Ask a Question related to Ruby, Design and Development.
-
Samuel Tesla #1
ruby-mode breaks in ruby-calculate-indent after "#{}"
I was trying to write the following code with ruby-mode on:
MyClass.foo("Quoted text #{bar}",
more, arguments, here)
When I went to hit TAB on the second line, I got the following backtrace:
(wrong-type-argument integer-or-marker-p (40 . 1773))
ruby-beginning-of-arg((40 . 1773) 1784)
ruby-calculate-indent()
ruby-indent-line(t)
ruby-indent-command()
call-interactively(ruby-indent-command)
Is this a known bug in ruby-mode? If so, any suggestions for a
workaround? I rewrote my code a little so I don't need one right
away. But, after this iteration, I'll dive in and see if I can fix
it (if it isn't already).
Thanks a bunch!
-- Samuel
Samuel Tesla Guest
-
learning the "Ruby way"<Pine.LNX.4.44.0311201340160.4622-100000@ool-4355dfae.dyn.optonline.net>
Hi -- On Fri, 21 Nov 2003, Chad Fowler wrote: How strict is strict? :-) David -- -
learning the "Ruby way"<Pine.LNX.4.44.0311201137580.4435-100000@ool-4355dfae.dyn.optonline.net>
Hi -- On Thu, 20 Nov 2003, Mark Wirdnam wrote: This may be a bit ill-advised, because it changes the array as it iterates through it (though... -
ruby-mode indent frustration
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am used to c-mode indents and I find ruby-mode.el's indenting frustrating. Has anyone... -
Hal's book: "The Ruby Way" at a great price
CompUSA has Hal's book "The Ruby Way" on-sale at my local store for only $19.99 (best price on shopping.yahoo.com is $22.49). Of course the... -
Ruby and OOP-design (question of an old "procedural person" ;)
Hi ! I have a newbie question on OOP-design: What I have is a large ASCII-File, a list of about 11000 shortwave broadcasters. Each line...



Reply With Quote

