[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15369: 24.3; Incorrect indentation after line continuation character
From: |
Dmitry Gutov |
Subject: |
bug#15369: 24.3; Incorrect indentation after line continuation character in ruby-mode |
Date: |
Mon, 16 Sep 2013 02:46:19 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Version: 24.4
Bozhidar Batsov <bozhidar@batsov.com> writes:
> The line continuation character is not properly treated by ruby-mode.
> Here's how the indentation after `\` works now:
>
> MSG = 'Separate every 3 digits in the integer portion of a number' \
> 'with underscores(_).'
>
> Pretty sure the second line should be indented one level, since we're
> continuing the statement from the previous line:
>
> MSG = 'Separate every 3 digits in the integer portion of a number' \
> 'with underscores(_).'
Fixed in 114298.
But it could break some edge cases, so please be on lookout for that.