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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#23015: closed (Re: bug#23015: 25.0.92; ruby-mode misindents
 arguments of a method call inside continuation)
Date: Tue, 15 Mar 2016 01:27:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#23015: 25.0.92; ruby-mode misindents arguments of a method call inside continuation

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 23015 <at> debbugs.gnu.org.

-- 
23015: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23015
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: 23015-done <at> debbugs.gnu.org
Subject: Re: bug#23015: 25.0.92; ruby-mode misindents arguments of a method
 call inside continuation
Date: Tue, 15 Mar 2016 03:25:56 +0200
Fixed in emacs-25.

[Message part 3 (message/rfc822, inline)]
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 4 (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 95 days ago.

Previous Next


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