[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11923: 24.1.50; (Contains ERT test) ruby-indent-line doesn't indent
From: |
Dmitry Gutov |
Subject: |
bug#11923: 24.1.50; (Contains ERT test) ruby-indent-line doesn't indent line after symbol creation using string interpolation |
Date: |
Sun, 15 Jul 2012 00:22:20 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
--=-=-=
Content-Type: text/plain
Rolando Pereira <rolando_pereira@sapo.pt> writes:
> When writing ruby code, if you type something like
> :"foo#{variable_name}" emacs can no longer indent lines following it
> because it gives the following error:
>
> ruby-forward-string: Search failed: "[^\\]\\(\\\\\\\\\\)*[\"]"
> ...
Here's a patch, including the slightly rewritten test case.
ruby-mode-11923.diff
Description: Text document