GNU bug report logs - #15369
24.3; Incorrect indentation after line continuation character in ruby-mode

Previous Next

Package: emacs;

Reported by: Bozhidar Batsov <bozhidar <at> batsov.com>

Date: Fri, 13 Sep 2013 15:57:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Bozhidar Batsov <bozhidar <at> batsov.com>
Cc: 15369 <at> debbugs.gnu.org
Subject: bug#15369: 24.3; Incorrect indentation after line continuation character in ruby-mode
Date: Mon, 16 Sep 2013 02:46:19 +0300
Version: 24.4

Bozhidar Batsov <bozhidar <at> 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.




This bug report was last modified 11 years and 344 days ago.

Previous Next


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