From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Purcell Newsgroups: gmane.emacs.bugs Subject: bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens) Date: Thu, 19 Dec 2013 20:42:04 +0000 Message-ID: <7205D5AB-FD06-4231-A854-F20D5DE18167@sanityinc.com> References: <874n66byoo.fsf@yandex.ru> <52B11F12.4070109@yandex.ru> <490C2BFA3C624DB6AB057CD2AA393D9C@gmail.com> <87txe5v4ol.fsf@yandex.ru> <1E72CA8B046B46A6B320EBB9A71FF8CA@gmail.com> <395424D4599947EBA14047DBA9440BB1@gmail.com> <52B329C1.9050602@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_9AF4F925-131A-4966-9D3A-F499C1266919" X-Trace: ger.gmane.org 1387485800 22186 80.91.229.3 (19 Dec 2013 20:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 20:43:20 +0000 (UTC) Cc: Adam Sokolnicki , 16182@debbugs.gnu.org, Dmitry Gutov To: Bozhidar Batsov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 21:43:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtkRD-0004bu-CR for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 21:43:19 +0100 Original-Received: from localhost ([::1]:46318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtkRD-0004KQ-1S for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 15:43:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtkR1-00046p-PG for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 15:43:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtkQw-0005S9-Ij for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 15:43:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtkQw-0005S3-73 for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 15:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VtkQv-0002CP-O4 for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 15:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steve Purcell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2013 20:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16182-submit@debbugs.gnu.org id=B16182.13874857328383 (code B ref 16182); Thu, 19 Dec 2013 20:43:01 +0000 Original-Received: (at 16182) by debbugs.gnu.org; 19 Dec 2013 20:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:59012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtkQ7-0002B6-2t for submit@debbugs.gnu.org; Thu, 19 Dec 2013 15:42:11 -0500 Original-Received: from h1189701.stratoserver.net ([85.214.32.38]:58995) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtkQ4-0002Ax-GC for 16182@debbugs.gnu.org; Thu, 19 Dec 2013 15:42:09 -0500 Original-Received: from [192.168.1.112] (host109-158-248-123.range109-158.btcentralplus.com [109.158.248.123]) by h1189701.stratoserver.net (Postfix) with ESMTPSA id 28ED5820005; Thu, 19 Dec 2013 21:42:05 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82248 Archived-At: --Apple-Mail=_9AF4F925-131A-4966-9D3A-F499C1266919 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 19 Dec 2013, at 20:33, Bozhidar Batsov wrote: > Well, even though I develop Rails apps for a living I wouldn=92t say = the style used in the Rails codebase should be considered some gold = standard - after all they are outdenting =93private/protected=94 there = :-) That said - before I started using programming Ruby in Emacs I = aligned to the beginning of the statement, but I stopped because this = wasn=92t supported in ruby-mode. After using the alignment to keyword = style for several years I=92ve grown to like it a lot (and it seems = others are enjoying it as well = http://stackoverflow.com/questions/2925028/how-do-you-assign-a-variable-wi= th-the-result-of-a-if-else-block). I=92m perfectly fine with alignment = to statement becoming the default (although the change of this default = would be fairly visible/disruptive, since as it stands keyword alignment = is the only supported style and I guess most Rubyists using Emacs employ = it).=20 I really wouldn=92t advise changing the default alignment in this case. = The current default is =93right=94 for many if not most existing users. But +1 for there being options. :-)= --Apple-Mail=_9AF4F925-131A-4966-9D3A-F499C1266919 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
On 19 Dec 2013, at 20:33, Bozhidar Batsov = <bozhidar@batsov.com> = wrote:
Well, even though I = develop Rails apps for a living I wouldn=92t say the style used in the = Rails codebase should be considered some gold standard - after all they = are outdenting =93private/protected=94 there :-) That said - before I = started using programming Ruby in Emacs I aligned to the beginning of = the statement, but I stopped because this wasn=92t supported in = ruby-mode. After using the alignment to keyword style for several years = I=92ve grown to like it a lot (and it seems others are enjoying it as = well http://stackoverflow.com/questio= ns/2925028/how-do-you-assign-a-variable-with-the-result-of-a-if-else-block= ). I=92m perfectly fine with alignment to statement becoming the = default (although the change of this default would be fairly = visible/disruptive, since as it stands keyword alignment is the only = supported style and I guess most Rubyists using Emacs employ = it). 


I really = wouldn=92t advise changing the default alignment in this case. The = current default is =93right=94 for many if not most existing = users.

But +1 for there being options. = :-)
= --Apple-Mail=_9AF4F925-131A-4966-9D3A-F499C1266919--