On Tue, 22 Jan 2002 06:16:35 +0900
nobu.nokada / softhome.net wrote:
> > I often use the second one to dynamically produce Ruby code and I
would> > like it indented like static code. Most of the time it works,
but in> > this case ruby-mode probably see #{ as a comment instead of a
command> > substitution.
> 
> The cause was that %{ after a word wasn't counted a beginning
> of string literal.  Therefore #{ was counted a comment outside
> of string.

Oh no. I've just lost the main thing I liked in %{}: the indentation was
not like in strings, but like in blocks. Actually, I didn't want %{} to
be considered as a string, but as a special block in which #{} is not a
comment.

I realize it might require too much changes, so don't do it unless you
really want to :) Playing with ruby-mode.el's regexps must be a
nightmare.

Thank you,
Mike.