On Mon, 31 Dec 2001 04:41:29 -0500, Le Wang
<lewang@?(nospam)?.bigfoot.com> wrote:

>Hi all, Hi nobu,
>
><code>
>puts "a",
>  "b",
>  "c #{var}",
>"d" # tab here doesn't indent properly
></code>
>
>The setup is ruby-mode.el 1.39 (fully patched) + XEmacs 21.4.6.
>
>The problem, I think is {} within double-quotes.
>
>Thanks.
>-lw


Here's another one:

<code>
class Test
  def moveSeries (series, askIncomplete = true)
    dirName = "#{series.array[0][ 0..series.preIdIndex -
1]}#{series.array.first[series.preIdIndex..series.postIdIndex]}-#{series.array.last[series.preIdIndex..series.postIdIndex]}#{series.array[0][series.postIdIndex+1..-5]}"
    if missingPart = (SeriesGroup.notContinuous series)
      puts '*' * 70, series.array,  '-' * 70, "preIdIndex:
#{series.preIdIndex}", "integerOnly: #{series.integerOnly}", '-' * 70,
"missing: #{C.warnMessage missingPart.inspect}"
      dirName << " - missing #{missingPart.inspect.gsub(/"/, "'")}"
      print "Move these files to #{C.emphasisMessage dirName}? (y/n)"
      if askIncomplete # press TAB here
        input = CharInput::getChar(/[yYnN]/)
        'nN'.index (input) and return nil
      end
    end
    Dir.mkdir (dirName)
    series.array.each do |j|
      File.rename j, dirName + "/#{j}"
    end
  end
end
</code>

If you press tab on line 8, everything after that gets really screwed
up, I can't even type anything and get "invalid nest" errors.

I think the problem starts on line 6, because the font-lock colors
start messing up there...

Thanks.
-lw