GNU bug report logs - #23015
25.0.92; ruby-mode misindents arguments of a method call inside continuation

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Tue, 15 Mar 2016 00:28:02 UTC

Severity: normal

Found in version 25.0.92

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.92;
 ruby-mode misindents arguments of a method call inside continuation
Date: Tue, 15 Mar 2016 02:27:05 +0200
[Message part 1 (text/plain, inline)]
It indents

foo =
  subject.update(
  a: 1
)

whereas it should be

foo =
  subject.update(
    a: 1
  )

Patch attached.

[call-inside-continuation.diff (text/x-diff, attachment)]

This bug report was last modified 9 years and 71 days ago.

Previous Next


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