[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02949] error in Ruby emacs-mode

From: "Michael Neumann" <neumann@...>
Date: 2000-05-23 15:05:52 UTC
List: ruby-talk #2949
Hello...

I am using emacs for coding in Ruby.
It's very nice, but when I use the optional "do" after a "while"-statement,
then
the formatting is getting wrong. The "end" which belongs to the while is not
correctly
indented and the inner of the loop is not also.

example (without do) - correct:

while true
  print "hello"
end


same with do - incorrect:

while true do
    print "hello"
  end


Ok, normally you don't use "do".  But if you use it, you get problems of
correct indenting.
Perhaps this could be changed.

Thanks in advance.

Michael


In This Thread

Prev Next