At Tue, 23 Jul 2002 15:12:07 +0900,
nobu.nokada / softhome.net wrote:

> Exactly.  ruby-move-to-block was needed to modify to skip RD
> style comments.

Works perfectly. Many thanks for your work.
> 
> Still this patch doesn't work well at here documents...

Well, at least for imenu it treated this construction correctly:

class Foo
  def initialize
    instance_eval <<-EOD
    def meth1
    end
    EOD
  end
end

But this causes a spurious def to appear in the index:

class Foo
  def initialize
    print <<-EOD
    def meth1
      puts "I'm in a fake method"
    end
    EOD
  end
end

As you can see, indenting also thinks I'm in a def. That sounds like
it would be hard to code around, though.

I'm just happy to have a working Imenu. Thanks again.

Dan
--
/^Dan Debertin$/
airboss / nodewarrior.org
www.nodewarrior.org
ignorami: n: 
The art of folding problem users into representational shapes.