GNU bug report logs - #11923
24.1.50; (Contains ERT test) ruby-indent-line doesn't indent line after symbol creation using string interpolation

Previous Next

Package: emacs;

Reported by: Rolando Pereira <rolando_pereira <at> sapo.pt>

Date: Thu, 12 Jul 2012 16:03:02 UTC

Severity: normal

Found in version 24.1.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11923 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: rolando_pereira <at> sapo.pt
Cc: 11923 <at> debbugs.gnu.org
Subject: Re: 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
[Message part 1 (text/plain, inline)]
--=-=-=
Content-Type: text/plain

Rolando Pereira <rolando_pereira <at> 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 (text/plain, attachment)]

This bug report was last modified 12 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.