From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [ruby-mode] dot-alignment support for multi-line method chaining Date: Thu, 30 Jan 2014 06:31:44 +0200 Message-ID: <52E9D5B0.3010601@yandex.ru> References: <56435202F0F648A3A47605BAE6F847CB@gmail.com> <871u009lrv.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391056314 15288 80.91.229.3 (30 Jan 2014 04:31:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 04:31:54 +0000 (UTC) Cc: emacs-devel To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 30 05:32:03 2014 Return-path: Envelope-to: ged-emacs-devel@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 1W8jII-000292-R5 for ged-emacs-devel@m.gmane.org; Thu, 30 Jan 2014 05:32:02 +0100 Original-Received: from localhost ([::1]:46406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8jII-0001MM-4h for ged-emacs-devel@m.gmane.org; Wed, 29 Jan 2014 23:32:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8jIA-0001LG-Ko for emacs-devel@gnu.org; Wed, 29 Jan 2014 23:31:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8jI5-0003LL-9u for emacs-devel@gnu.org; Wed, 29 Jan 2014 23:31:54 -0500 Original-Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:57895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8jI5-0003Ke-2k for emacs-devel@gnu.org; Wed, 29 Jan 2014 23:31:49 -0500 Original-Received: by mail-ea0-f178.google.com with SMTP id a15so1315527eae.23 for ; Wed, 29 Jan 2014 20:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FT1OdlW1/WRjzHdoaGQNPBako3VFKn4SIw4o+VU6H2E=; b=CR81JmPFLy7b4djJVLVe3OzAKxSQxFSI1PuPFbEkSuHtcTSsBSS0eVsbelWnvyuwni CjMKp/9lZOCQv7e/S3+UTzzEJQd1ylw6tUWnYZXX7bhwNDq5Qy/Bm33FyHocU9vs7Mge voTPQ13zF2OkWoJsRyzGi3X7soRlbnxO2zNys0AREQLwT+r0T7YwZFc/+dY9+xA6NUpS u6/QQPX3w9guCenu81jpi9aG4/pT7uv0i6ZmKvokxyNJ6FpKw+lWNEk1oPzqULbPqLIQ JAofu2LYaWL3JmRfJOonCW88Q9vMbl4uKgVPDQ3jhpY4Xi1XKclSNijLA2MPaDI5NzD3 Ra1A== X-Received: by 10.14.0.201 with SMTP id 49mr14134935eeb.38.1391056308260; Wed, 29 Jan 2014 20:31:48 -0800 (PST) Original-Received: from [192.168.10.2] (62-151-136.netrun.cytanet.com.cy. [62.228.151.136]) by mx.google.com with ESMTPSA id w4sm17278937eef.20.2014.01.29.20.31.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 20:31:47 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169227 Archived-At: See http://debbugs.gnu.org/16593 On 22.01.2014 19:28, Bozhidar Batsov wrote: > Hard to read indentation examples in an email, but it seems to me that: Yeah, both Gnus and Thunderbird mangle indentation quite a bit for me. lists.gnu.org displays it right, though. > zoo.keep.bar!( > {x: y, > z: t} > ) > > is the only sensible indentation for the third example It doesn't seem to correspond to the AST, but sure, this looks nicer. > By the way, do you think it'd be good if the same variable toggled > between > > foo = foobar > .baz > > and > > foo = foobar > .baz > > ? Or would that be a different variable? > > > Didn't notice this until now. Seems to me the default indent should be > relative to the `=` (similar to what we do for ops like +, -, etc): Okay, won't touch this for now, then,