From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#54702: 29.0.50; ruby-mode indentation: endless methods Date: Fri, 16 Dec 2022 19:49:35 +0200 Message-ID: References: <2136fe2e-85dd-8a3f-dc7b-ee7a8389dc76@yandex.ru> <0178ae56-21d9-55e9-68f6-b2e8e2a483ff@yandex.ru> <0d8a9e9d-2c8f-6282-63da-e4af020fea8d@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 54702@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 18:50:37 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p6Eqy-0003zZ-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 18:50:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6EqT-00006B-Sl; Fri, 16 Dec 2022 12:50:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6EqQ-00005G-VU for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 12:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6EqQ-0004zf-ML for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 12:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6EqQ-0004dv-H8 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 12:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54702 X-GNU-PR-Package: emacs Original-Received: via spool by 54702-submit@debbugs.gnu.org id=B54702.167121298517799 (code B ref 54702); Fri, 16 Dec 2022 17:50:02 +0000 Original-Received: (at 54702) by debbugs.gnu.org; 16 Dec 2022 17:49:45 +0000 Original-Received: from localhost ([127.0.0.1]:50653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Eq9-0004d1-Dg for submit@debbugs.gnu.org; Fri, 16 Dec 2022 12:49:45 -0500 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:40722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Eq7-0004ct-VR for 54702@debbugs.gnu.org; Fri, 16 Dec 2022 12:49:44 -0500 Original-Received: by mail-wr1-f46.google.com with SMTP id m14so3243621wrh.7 for <54702@debbugs.gnu.org>; Fri, 16 Dec 2022 09:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=n/xjBxcdSAapDlRWgiTB4JE4NUbqFNLpR3KZ/us0ViU=; b=j/jhV5KPdF7dR8FqPfkyZV2aiJdfm3tu2IhAiFCTaTJLChEeo9iFvuRLuYRi61c5s+ dPF2PacCnWJSl3SX7iXZo8k8TJFpg0hgxpDEcorvddeAMu62J2ti31cWbcE7h0coN69M BRRPgFQzNL4KaJK5VnFxo3M1JXG0ZtA689ioRdZNpohZ4kfkpjmGROMe3RQfXk9WNg3p VcO2LQFMCly3AAAlbi8sQtV1yOtwAWvjdBO5LhfBW0/slv1FfGP6cVxeUjwzi6g64s3d VVT+dK5IO0gKfM4pKDe/wSY7DJ6Y1L05PoTKakbMe1V3s2k+YHHCzrR6RR/z5Gcixr5n iGrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=n/xjBxcdSAapDlRWgiTB4JE4NUbqFNLpR3KZ/us0ViU=; b=70ISnyOifnN9uVqXheX4lnKy7xHSSdrH6g8RWqaRI12kY7I6zM7WpqqFoayXg5yMKt tB3eO5LfdgJ9xSx5jd0WE4uxcYk85oSlJ78kIKECSS/WEnrLC5XgBI/r7bMfdAxKSVQN NGSSt8BJ4sJxaB3vIXMCl+cGaYRFgMtwNifrMHzC+5h2FfNx4Mgmc07fzoSNlOGogpV5 YI5sEkw0f/67ougbpVjku8CrkPscPslWxXPG/Sw2ayXrCD73izU9rFSmXcaW9/FZMFgt j+oyPzhgMUqZFwJrh959ncyzU6pMg0ESl0CNW4gyR0qGC3YzuaHBe8KvWYyGzucCU3E2 w0dA== X-Gm-Message-State: ANoB5plOhSSa9NAXnfD0orVXab12Vn7OyuIiqKJ9FuWOvxQvCxzDNGvi f0wCccUFSMyYvHpth2yxRg8= X-Google-Smtp-Source: AA0mqf5/yn0RM1Iaknvz2A+f/MkZdGG+ecwG0ncx9RFhsJdXnSuBZXa9rmWCO7j6JDzIp1Q+k1TbKw== X-Received: by 2002:a5d:4ec5:0:b0:242:509a:ad4a with SMTP id s5-20020a5d4ec5000000b00242509aad4amr21223153wrv.7.1671212977883; Fri, 16 Dec 2022 09:49:37 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id c3-20020a5d5283000000b0024206ed539fsm2846610wrv.66.2022.12.16.09.49.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Dec 2022 09:49:37 -0800 (PST) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251226 Archived-At: On 16/12/2022 18:24, Aaron Jensen wrote: >> Okay, here's an alternative version -- this was a pain to implement. >> >> Would be much easier if we just decided to change the args indentation >> without support for the current one. > > It works for me w/ that example. > > You won't find me resisting getting rid of the old way. Lining up > against the method name is a fairly clear UX issue, in my opinion. I > don't know that it's something I see outside of Emacs, I suppose we might still want to care about a bunch of Emacs users who got used to this indentation over the years. :/ > and my guess is > that it was influenced by Lisp rather than being influenced by Ruby > and its community. You could say that. Not really influenced, though, it just works that way by accident due to the structural indentation algorithm. There are other Lispy examples which seem to provide their value: foo = 3 + 4 * 5 or this example, which is influenced by a lot of early Ruby code examples, yet is not supported by a lot of editors these days: qux :+, bar, :[]=, bar, :a