At Fri, 4 Jan 2002 10:25:24 +0900, nobu.nokada / softhome.net wrote: > Indentation may be fixed by this additional patch to 29370, > 29527, 29558 and 29595, but it seem to be difficult to fix > font-lock issue. Since Emacs syntax-table doesn't consider > nested expressions in strings. An addition for /#{}/.
--- misc/ruby-mode.el~ Fri Jan 4 09:24:57 2002 +++ misc/ruby-mode.el Fri Jan 4 16:29:39 2002 @@ -309,5 +309,5 @@ The variable ruby-indent-level controls (cond ((and (not (eobp)) (ruby-expr-beg)) - (if (re-search-forward "[^\\]\\(\\\\\\\\\\)*/" indent-point t) + (if (ruby-forward-string "/" indent-point t t) nil (setq in-string (point))
-- Nobu Nakada