From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 22 07:36:29 2018 Received: (at submit) by debbugs.gnu.org; 22 Aug 2018 11:36:29 +0000 Received: from localhost ([127.0.0.1]:57275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsRR6-0007JW-K0 for submit@debbugs.gnu.org; Wed, 22 Aug 2018 07:36:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsRR4-0007JF-ML for submit@debbugs.gnu.org; Wed, 22 Aug 2018 07:36:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsRQy-0003tz-Mu for submit@debbugs.gnu.org; Wed, 22 Aug 2018 07:36:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsRQy-0003ti-Iy for submit@debbugs.gnu.org; Wed, 22 Aug 2018 07:36:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsRQx-0001fQ-Mo for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2018 07:36:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsRQw-0003rw-Rh for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2018 07:36:19 -0400 Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:35112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsRQw-0003rG-LP for bug-gnu-emacs@gnu.org; Wed, 22 Aug 2018 07:36:18 -0400 Received: by mail-it0-x231.google.com with SMTP id 139-v6so2472878itf.0 for ; Wed, 22 Aug 2018 04:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=XVfuXB+0asUH2I+D5K0Uig4sbMSnUMg5zyfi5STLXz8=; b=tOw5x0SDtEvIQ9ygg8ummjJUfaQQb406ga3c9kJ62KQ2OxekJ26+UxDtPfqEJ5kTIk fP4gkMRmYhfwFLG/GPSfR+IoFZ1ALs+R8tA4XU/Z9YmEd3dHL+xOPo5J5+09hDg7wyxG UU4ZOp7SmApqNZ1lorWWc0sEgxCnTCf7LVwHoCK2zm6q10VD2lLD+tbGsulrWRgoLvE9 fnp1nGHNdrwZZSark8r0bR850b59h3eQga960xt+CFfBDP5VW8UDA93WKAP18shKymnz toYI3mQ0dgNSLMQjGlXfxsfdv0y3YU+ym26gPJjipKFo5v0UBP5j0KqaTs6FutXzpaV3 oxjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=XVfuXB+0asUH2I+D5K0Uig4sbMSnUMg5zyfi5STLXz8=; b=PnMWdW8kuf5/1k5GmGyaIUXAAoNYxdPYgtX9rGYz0KzcMU7HQaXAswqR5yfES/Lnm8 UWUS2DyP0ykMIye2bIEKyFrbpSDEgDQ2yFkWam4vdCsh0vmYjs/XVW232nNU+K7M/k6N Sskc8KHBiVYD9c7wpTblEEnQBhxOuKp8jAaZGOoi1umYT6fTyHlXn03sIH92VcTjRX56 oGZSrtcoBzjkKDwwYTn/LupmqDe1JJ/fsfLsRXXC2yLJv9QjrYKvH3j+eBST3fPyuSPM h9DRdxIaNdwUNuayCTsMt4q+O4gXUTbT8N8N2FvdWPyPAn8036nc/coFmr4cP8s122dn cbew== X-Gm-Message-State: APzg51AMlXiMb4Kx+4BrFQ3MnfHHfl7MyXY0HqBTX1dLVXBr3+iL/FZ4 P5WT6tSHNq10d0SgYNCSQbEoqKAOENmvnBwlYmKc5RXx3TU= X-Google-Smtp-Source: ANB0VdZQVFfLL4dp/87HH1roHaLICJHl0hCC4R7vU3dHrBD225viQRfPoBuq3BfsjOLsH6KCLK6Thj41M1gaSl5wVIU= X-Received: by 2002:a24:5c8e:: with SMTP id q136-v6mr250765itb.58.1534937777477; Wed, 22 Aug 2018 04:36:17 -0700 (PDT) MIME-Version: 1.0 From: Artur Malabarba Date: Wed, 22 Aug 2018 08:36:06 -0300 Message-ID: Subject: 27.0.50; Strange indentation when ruby-align-chained-calls is t To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000fa9ae90574048cf3" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bruce.connor.am@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --000000000000fa9ae90574048cf3 Content-Type: text/plain; charset="UTF-8" 1. (setq ruby-align-chained-calls t) 2. (setq ruby-use-smie t) 3. Open a file in ruby-mode, insert the following and indent it ---------- some_variable.where.not(x: nil) .where(y: 2) ---------- Expected behaviour: Nothing would happen, the code is already properly indented. What actually happens: The code gets indented as follows ---------- some_variable.where.not(x: nil) .where(y: 2) ---------- Note that this is conflicts with the indentation enforced by rubocop. Artur --000000000000fa9ae90574048cf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
1. (setq ruby-align-chained-calls t)
2. (setq ruby-use-= smie t)
3. Open a file in ruby-mode, insert the following and indent it<= br>
----------
some_variable.where.not(x: nil)
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.where(y: 2)
----------

Expected b= ehaviour: Nothing would happen, the code is already properly
indented.
What actually happens: The code gets indented as follows

-----= -----
some_variable.where.not(x: nil)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.where(y: 2)
----------

Not= e that this is conflicts with the indentation enforced by rubocop.
Artur
--000000000000fa9ae90574048cf3-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 22 08:50:15 2018 Received: (at 32496) by debbugs.gnu.org; 22 Aug 2018 12:50:15 +0000 Received: from localhost ([127.0.0.1]:57312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsSaU-0000k2-RJ for submit@debbugs.gnu.org; Wed, 22 Aug 2018 08:50:15 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:35352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fsSaT-0000jn-5E for 32496@debbugs.gnu.org; Wed, 22 Aug 2018 08:50:13 -0400 Received: by mail-lj1-f173.google.com with SMTP id p10-v6so1351147ljg.2 for <32496@debbugs.gnu.org>; Wed, 22 Aug 2018 05:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=wrnlfpqauxT8xwrDaHYsMUrS0yB+X+UV7zcP9hm541I=; b=HYNzBH7SE6mFbcx10W3DFDwhG4u91X2GQHyiLhuQNgc4x7xCrNOtXOCUiuJ4UANWVp 5Z2+tRXhatDBFvpk482uHFopW6Lw7HLYOM7v4Dn/jBrhGpFKnhDZSKCNG3h/jLm3/5kF nD9hfsV0KIbVLcCPlhSEQ49/tBRM6GvOgrF7NRKuPk4seGagDm4Ax/mubPvQnMkT2aKc fZyE4EgxVNULyUUrt6CJvU0sxcGb1dtZro94Qh2uL4WQRVI2zqqdq1epfdEWhL7teaA2 RdwX682qzwWxg7y6V4YmfclLfwwmA0t31YkR3wKrAB8ZCj0WtG8ZY2FC+jW8bltEWlvU Lagg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=wrnlfpqauxT8xwrDaHYsMUrS0yB+X+UV7zcP9hm541I=; b=bXJi5DVk7pybjLCHxIeu28Nfb1stwHcI0/FsFBjtX2j8O78FNvjrAXE6Gir1zG/HIb yrmfXksTMuRRjqPwdH75OfuPTtscUa9T6gE2NUiQ5EqwbTwg75v0na0rfNMbTIZUZf/L IlvnTcB1sNHaxcDXk/myNTlPtPHDZw0kXRx//hTUtvn8x3OYYrIN9PqVquFmrLHegV0v q8uEKDSS3xoJyQRQufhq6I5ygT1J4yIcJnQufO2Qsz8X7ji8UfRsRvbWmeiwf8HzXJ/B Qqppb9nSFBw+XliWIi7O4/N/vYZXY9nSkW82pYHJ3TjRp4N+mHl900EHNht8PpCZo6gd zVZw== X-Gm-Message-State: APzg51AwRe2nY7QZhR1g4aM3B/GHQnU8fVa20J0qir2G9ApcdeZ06lcS OylOZr7cHy/i3ODBUr+XAxg93rEA X-Google-Smtp-Source: ANB0Vdb9iM96e5zd+/WzZyrPl3p7bucjPN3BryvrqZHzcv+BokHUpULCs/BiqeTKMoPn8YlYglJlNg== X-Received: by 2002:a2e:8652:: with SMTP id i18-v6mr2136730ljj.43.1534942206846; Wed, 22 Aug 2018 05:50:06 -0700 (PDT) Received: from [192.168.1.174] ([178.252.127.223]) by smtp.googlemail.com with ESMTPSA id d13-v6sm298792lfi.74.2018.08.22.05.50.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Aug 2018 05:50:05 -0700 (PDT) Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t To: bruce.connor.am@gmail.com, 32496@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: Date: Wed, 22 Aug 2018 15:50:05 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 8/22/18 2:36 PM, Artur Malabarba wrote: > 1. (setq ruby-align-chained-calls t) > 2. (setq ruby-use-smie t) > 3. Open a file in ruby-mode, insert the following and indent it > > > some_variable.where.not(x: nil) >        .where(y: 2) > > > Expected behaviour: Nothing would happen, the code is already properly > indented. > > What actually happens: The code gets indented as follows > > > some_variable.where.not(x: nil) >           .where(y: 2) > > > Note that this is conflicts with the indentation enforced by rubocop. [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [178.252.127.223 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.208.173 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (raaahh[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.173 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: 32496 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) On 8/22/18 2:36 PM, Artur Malabarba wrote: > 1. (setq ruby-align-chained-calls t) > 2. (setq ruby-use-smie t) > 3. Open a file in ruby-mode, insert the following and indent it > > ---------- > some_variable.where.not(x: nil) >              .where(y: 2) > ---------- > > Expected behaviour: Nothing would happen, the code is already properly > indented. > > What actually happens: The code gets indented as follows > > ---------- > some_variable.where.not(x: nil) >                    .where(y: 2) > ---------- > > Note that this is conflicts with the indentation enforced by rubocop. I'd like to point out that this is exactly the behavior Bozhidar asked for, back when this variable was introduced. See: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01802.html and in particular the Example 1 in the referenced comment: https://github.com/rubocop-hq/ruby-style-guide/pull/176#issuecomment-18664622 So we even have a test (ruby-align-chained-calls) that check that the alignment is do to the last dot, and not to the first one. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 27 18:22:36 2018 Received: (at 32496) by debbugs.gnu.org; 27 Oct 2018 22:22:36 +0000 Received: from localhost ([127.0.0.1]:46017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGWya-0000td-8E for submit@debbugs.gnu.org; Sat, 27 Oct 2018 18:22:36 -0400 Received: from mail-it1-f172.google.com ([209.85.166.172]:34908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGWyY-0000tQ-Di for 32496@debbugs.gnu.org; Sat, 27 Oct 2018 18:22:34 -0400 Received: by mail-it1-f172.google.com with SMTP id p64-v6so5622566itp.0 for <32496@debbugs.gnu.org>; Sat, 27 Oct 2018 15:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=ZywxLgF8yl9wMuR6oAZxDl+n0Rx7i2lGvlia9NaPc5s=; b=Q3/X2yqBap3vHDhPyxU3bGLQrzBkfN3+cbTmYS0puI0vyAAcUMPB64BAc7VVpxQRjf dHjAUDORvW84tfOWrFRPjtsuBN4UV7vWhplYzjruAu/mS9V8aeTkg4ejW/jhmiFh+HOF PmXhqNhfMeHUOX2RTGRb1npQqmWpPZw/CTGY9ECrnAxEfINDCn22lkvKc4kI9yTMkyl5 zIDODIVplIuZ7E2g5QAHThugByljJ42reSVy20UiD5fi01VXl1xWbR4HBKZSS1X56Wl1 USYUbet1C6KD4nu05v614ZEC9m3fPIzG25x/fQAQRi1Bx/WabJwDBdhIdOr5RinzNY31 CyfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=ZywxLgF8yl9wMuR6oAZxDl+n0Rx7i2lGvlia9NaPc5s=; b=O/m/aBdnU+uap8AjBCJtVL8GaXMyomYYumWCYpQohVf0rA+f3Ut7Fbzj7ruIS74IcD 2lgvnNwKqx4p8tEj1jS2iAacScbyxHo1eEyO1NOtrydb0wJ7tCg+3br8zzgDfXS+7rJ+ Y5+omHunTjQKRCNL9WAyL5yylOu2dqbKCnB0531iAMC22vPKKQq20l7XoEJ1CvR2R2/l pM6Z/rUpRhha7ltMJIFQKpZfSNpWfI/RRaFS9KK1mpzCjBN3084ABEhC7XUng5VMaoZK FD1jIivX1/a7T3hpPPn0ADtv3p8ZnXqxKPqUKNfyh9/xlZFxXPXseKh+RsM0cbZtxebY FsoA== X-Gm-Message-State: AGRZ1gKnVCQjKi4UZHU11kJxgkG0Bf51mM89BoNBS6pXZSgNG2qB9dym OSVxkwWd7H8pV2oPQmflTx1H8NBv8o1cjMRn678= X-Google-Smtp-Source: AJdET5cpxJafrF+5JrID0VQwrpyyYylWZU/sa/wCPWiL1FLCnIxDo4y++8plrtdAXMnaFqf00D9COCJYlTmQXfqQpUQ= X-Received: by 2002:a02:97cf:: with SMTP id v15-v6mr6091039jaj.82.1540678948774; Sat, 27 Oct 2018 15:22:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Artur Malabarba Date: Sat, 27 Oct 2018 19:22:16 -0300 Message-ID: Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t To: Dmitry Gutov Content-Type: multipart/alternative; boundary="000000000000746a4305793d45fc" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Bozhidar Batsov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bruce.connor.am@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000746a4305793d45fc Content-Type: text/plain; charset="UTF-8" IIUC, bozhidar was requesting that the dots be aligned to the dot above (as opposed to being indented by only 2 spaces). He didn't say what should happen if one of the lines has multiple dots in it. The linked github comment does explicitly request the aligning to the last dot, but it's the only comment that requests that on a very long discussion that was largely focused on a different topic (whether or not to use trailing dots). Bozhidar, do you have an opinion on this? Artur On Wed, 22 Aug 2018 at 09:50, Dmitry Gutov wrote: > On 8/22/18 2:36 PM, Artur Malabarba wrote: > > 1. (setq ruby-align-chained-calls t) > > 2. (setq ruby-use-smie t) > > 3. Open a file in ruby-mode, insert the following and indent it > > > > ---------- > > some_variable.where.not(x: nil) > > .where(y: 2) > > ---------- > > > > Expected behaviour: Nothing would happen, the code is already properly > > indented. > > > > What actually happens: The code gets indented as follows > > > > ---------- > > some_variable.where.not(x: nil) > > .where(y: 2) > > ---------- > > > > Note that this is conflicts with the indentation enforced by rubocop. > > I'd like to point out that this is exactly the behavior Bozhidar asked > for, back when this variable was introduced. See: > > http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01802.html > > and in particular the Example 1 in the referenced comment: > > > https://github.com/rubocop-hq/ruby-style-guide/pull/176#issuecomment-18664622 > > So we even have a test (ruby-align-chained-calls) that check that the > alignment is do to the last dot, and not to the first one. > --000000000000746a4305793d45fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
IIUC, bozhidar was requesting that the dots be aligne= d to the dot above (as opposed to being indented by only 2 spaces). He didn= 't say what should happen if one of the lines has multiple dots in it.<= /div>

The linked github comment does explicitly request = the aligning to the last dot, but it's the only comment that requests t= hat on a very long discussion that was largely focused on a different topic= (whether or not to use trailing dots).

Bozhidar, = do you have an opinion on this?

Artur=


On Wed, 22 Aug 2018 at 09:50, Dmitry Gutov <dgutov@yandex.ru> wrote:
On 8/22/18 2:36 PM, Artur Malabarba wrote:
> 1. (setq ruby-align-chained-calls t)
> 2. (setq ruby-use-smie t)
> 3. Open a file in ruby-mode, insert the following and indent it
>
> ----------
> some_variable.where.not(x: nil)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.where(y: 2)
> ----------
>
> Expected behaviour: Nothing would happen, the code is already properly=
> indented.
>
> What actually happens: The code gets indented as follows
>
> ----------
> some_variable.where.not(x: nil)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0.where(y: 2)
> ----------
>
> Note that this is conflicts with the indentation enforced by rubocop.<= br>
I'd like to point out that this is exactly the behavior Bozhidar asked =
for, back when this variable was introduced. See:

http://lists.gnu.org/archive/html= /emacs-devel/2014-01/msg01802.html

and in particular the Example 1 in the referenced comment:

https://github.com/rubo= cop-hq/ruby-style-guide/pull/176#issuecomment-18664622

So we even have a test (ruby-align-chained-calls) that check that the
alignment is do to the last dot, and not to the first one.
--000000000000746a4305793d45fc-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 18 03:36:38 2018 Received: (at 32496) by debbugs.gnu.org; 18 Nov 2018 08:36:38 +0000 Received: from localhost ([127.0.0.1]:58292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOIZK-00069R-CX for submit@debbugs.gnu.org; Sun, 18 Nov 2018 03:36:38 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:39910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOIZG-000698-Sn for 32496@debbugs.gnu.org; Sun, 18 Nov 2018 03:36:36 -0500 Received: by mail-wr1-f48.google.com with SMTP id b13so28825744wrx.6 for <32496@debbugs.gnu.org>; Sun, 18 Nov 2018 00:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=batsov-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=81ooY8Vye9xF2bOtMHO0NI3obHdlmCRcHYxoCza1JEI=; b=wOaDWbwKZmNQ0RtjvrTpVt4TFzHlAa88wPCd4znGYCzSDfevUe/dPK0kV8C3hNcgnp lugPoyuL8Ku4MFiMiFgg7dhTghWgjifmWfMG0H4swDwT8INbByrBduvVhSEbS+nQcJWK 8ikY7s0McF5jN8Gcx1qVWPYmXvJzSZIGgvci+kOVNLWaLv1NRpXSLLUEtU8wt3Yreybk 6pEILCGb8xe+pm8FuYehZpZ6BTDVhBPZ+MUirgZiCT344GXxQtgu0xpdjLiXa7MAQt+I JWIPBl9O7DpWE7QY/3MhZ+UnGJ7parqD1mwEgmKth6HhfJyCNcGIoKRh0W2sFOKNLp1P 2X+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=81ooY8Vye9xF2bOtMHO0NI3obHdlmCRcHYxoCza1JEI=; b=oPUI5a/9935pyqzBzUfY1IxG0oaK/NhjouVsLtEVicSdjMi4qqtdVXTf2f+kB3LKtm Q7TzMRdqVUiKkpYiwOTrYCHZMn42IctsPR7+HVOcc3mV2lM+i/AhdZEZLhcV9mJtR6Dp Uk8zU1TJxR/45tmsflIpQ2xQzHqAZBmu+gqWdex2BOygMvzMURFu9CTH/ABuiDUKzY+O sZ7gemwbMNc6xvrJgk7wlF18jGpjIu3xoYGyqMgZCnrsBfIWTrTTIN98xuprvVA+EYF8 yXLvu1iH49spUmuZjdl2R35qfWFVih8Lbg6cMejDsn0K2qPnS5CXk64uYYTWlAhSANbG wGlg== X-Gm-Message-State: AA+aEWZVRGCvSPS7oz1SMk2b6NJx51L6tyQVW787FEQNDpyruOAJLhXc 2uRn7N0R//L81PgNYCz7pELWGXL5vpibfoALaLA= X-Google-Smtp-Source: AFSGD/UIGEDH10qej0Ol4tXpGeegj4hEyv9EnahA58rn+Z6NGDj3MeV2hjd4/WcTBDTo8wxFduqgQjnUZ+rtnsU49cE= X-Received: by 2002:a5d:42ce:: with SMTP id t14mr1683320wrr.51.1542530188873; Sun, 18 Nov 2018 00:36:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bozhidar Batsov Date: Sun, 18 Nov 2018 09:36:17 +0100 Message-ID: Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t To: Artur Malabarba Content-Type: multipart/alternative; boundary="000000000000f695d5057aec4b95" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --000000000000f695d5057aec4b95 Content-Type: text/plain; charset="UTF-8" Sorry for the radio silence - I've been super busy lately. It's hard for me to understand the indentation in the examples in the email (as it seems the same to me). Very simply put - the idea is to align multi-line chained calls on the `.`, as opposed to just nest them under the root receiver as we'd normally do. I think Dmitry implemented this great and it's behaving just as it's supposed to be behaving. Perhaps you misunderstood how this was supposed to behave? What's the indentation you expected? On Sun, 28 Oct 2018 at 00:22, Artur Malabarba wrote: > IIUC, bozhidar was requesting that the dots be aligned to the dot above > (as opposed to being indented by only 2 spaces). He didn't say what should > happen if one of the lines has multiple dots in it. > > The linked github comment does explicitly request the aligning to the last > dot, but it's the only comment that requests that on a very long discussion > that was largely focused on a different topic (whether or not to use > trailing dots). > > Bozhidar, do you have an opinion on this? > > Artur > > > On Wed, 22 Aug 2018 at 09:50, Dmitry Gutov wrote: > >> On 8/22/18 2:36 PM, Artur Malabarba wrote: >> > 1. (setq ruby-align-chained-calls t) >> > 2. (setq ruby-use-smie t) >> > 3. Open a file in ruby-mode, insert the following and indent it >> > >> > ---------- >> > some_variable.where.not(x: nil) >> > .where(y: 2) >> > ---------- >> > >> > Expected behaviour: Nothing would happen, the code is already properly >> > indented. >> > >> > What actually happens: The code gets indented as follows >> > >> > ---------- >> > some_variable.where.not(x: nil) >> > .where(y: 2) >> > ---------- >> > >> > Note that this is conflicts with the indentation enforced by rubocop. >> >> I'd like to point out that this is exactly the behavior Bozhidar asked >> for, back when this variable was introduced. See: >> >> http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01802.html >> >> and in particular the Example 1 in the referenced comment: >> >> >> https://github.com/rubocop-hq/ruby-style-guide/pull/176#issuecomment-18664622 >> >> So we even have a test (ruby-align-chained-calls) that check that the >> alignment is do to the last dot, and not to the first one. >> > --000000000000f695d5057aec4b95 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry for the radio silence - I've been super bus= y lately.=C2=A0

It's hard for me to understand the = indentation in the examples in the email (as it seems the same to me). Very= simply put - the idea is to align multi-line chained calls on the `.`, as = opposed to just nest them under the root receiver as we'd normally do.<= div>
I think Dmitry implemented this great and it's behav= ing just as it's supposed to be behaving. Perhaps you misunderstood how= this was supposed to behave? What's the indentation you expected?=C2= =A0

On Sun, 28 O= ct 2018 at 00:22, Artur Malabarba <bruce.connor.am@gmail.com> wrote:
IIUC, bozhidar was requesting that the = dots be aligned to the dot above (as opposed to being indented by only 2 sp= aces). He didn't say what should happen if one of the lines has multipl= e dots in it.

The linked github comment does expli= citly request the aligning to the last dot, but it's the only comment t= hat requests that on a very long discussion that was largely focused on a d= ifferent topic (whether or not to use trailing dots).

<= div>Bozhidar, do you have an opinion on this?

=
Artur


On Wed, 22 Aug 2018 at 09:50, Dmitry Gut= ov <dgutov@yandex.= ru> wrote:
On 8/22/18 2:36 P= M, Artur Malabarba wrote:
> 1. (setq ruby-align-chained-calls t)
> 2. (setq ruby-use-smie t)
> 3. Open a file in ruby-mode, insert the following and indent it
>
> ----------
> some_variable.where.not(x: nil)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.where(y: 2)
> ----------
>
> Expected behaviour: Nothing would happen, the code is already properly=
> indented.
>
> What actually happens: The code gets indented as follows
>
> ----------
> some_variable.where.not(x: nil)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0.where(y: 2)
> ----------
>
> Note that this is conflicts with the indentation enforced by rubocop.<= br>
I'd like to point out that this is exactly the behavior Bozhidar asked =
for, back when this variable was introduced. See:

http://lists.gnu.org/archive/html= /emacs-devel/2014-01/msg01802.html

and in particular the Example 1 in the referenced comment:

https://github.com/rubo= cop-hq/ruby-style-guide/pull/176#issuecomment-18664622

So we even have a test (ruby-align-chained-calls) that check that the
alignment is do to the last dot, and not to the first one.
--000000000000f695d5057aec4b95-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 14:33:29 2020 Received: (at 32496) by debbugs.gnu.org; 11 Sep 2020 18:33:29 +0000 Received: from localhost ([127.0.0.1]:45467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGnrV-0005yn-2d for submit@debbugs.gnu.org; Fri, 11 Sep 2020 14:33:29 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:33783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGmfd-00040x-Hf for 32496@debbugs.gnu.org; Fri, 11 Sep 2020 13:17:10 -0400 Received: by mail-qt1-f170.google.com with SMTP id n18so8470466qtw.0 for <32496@debbugs.gnu.org>; Fri, 11 Sep 2020 10:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voltera-com-br.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=3AQ8v8i8yOcJxZMYKrvI6L2AbTEH0MPMqlojIYnMgFU=; b=y8zVOhw+nZOG7uIqQ4R27yrfofRby0QdfYcS7yt4wtgXGZZ42Q8QxJrPnEbsEcg74B Tp9euqMB54nto1HIhwLsYOoRuulPDtq1IrB6D2A+7lTEKWaOOBf3U+zKd2PalCoDzL2z WExdl5oCQkFZ6gM9zvF97ofqyCjWpUpTLeTavhVLv6c330SiKS/KC5Qvrwk1tmNNoOhE oM9+9Q0Q/GCPvhCxfrrMql3bNX/ZRTqMeFA6rllT9IMCT4RnPB7F2tD+k8EdCxSF+bHS AMkdg10GRQMf88huPmTB1lSA+pY1ESCMrSnPYDC1Th1Y02mkrSUZo49UzG3ToGyDP1Oe TjKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3AQ8v8i8yOcJxZMYKrvI6L2AbTEH0MPMqlojIYnMgFU=; b=AjXptnYM8f8vF9s9Fu0j3GF72B7cUjgEqEZ33M8TnUAvHu6raAf4nl5TLI6r8DK7W8 XwUkzRetHt3wv+0PN2CPUclNsWfioKYGkf1sEGNXpYIUa9frpjJorNmDDKRRCWUY+FCK VxDMrzUgWiEo7WuyE5waZZ6Rh947+2eqO8hiidJTL3ILwjB+SCYeT8dCjjtuZbTir/A8 sZcLmW2liG7m85q0Ahz8b9Mlr7sBwwD03pKBiH7xNhJmbOROE78wy7Hk26ELUg4LHU65 jve7npQZNZvMwzKwSSNXkAQLJKHkN90xH6YGIwDGUyi8Z8RlKFyqlgJ8d9YtDN1IvoJH NRZQ== X-Gm-Message-State: AOAM532huCdV8fWGF9JnBrYVAaMUuavYgmYfKcOcXTPEeAfo0APxBdaX 315/s279YBWmIR66F58cffu5uXgYbBznDIVhdGYylWLKqI42oQ== X-Google-Smtp-Source: ABdhPJzQoitreXPqXZiGbdjYXQntUF79KUBaBnoV4fLTvlSxr9/SIZSBRp863bjPIi8wX4CBWWesIDjRrXO6ih5dNh4= X-Received: by 2002:ac8:fbb:: with SMTP id b56mr2905810qtk.307.1599844623222; Fri, 11 Sep 2020 10:17:03 -0700 (PDT) MIME-Version: 1.0 From: Wendel Scardua Date: Fri, 11 Sep 2020 14:16:52 -0300 Message-ID: Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t To: 32496@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000076a24d05af0cda17" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32496 X-Mailman-Approved-At: Fri, 11 Sep 2020 14:33:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000076a24d05af0cda17 Content-Type: text/plain; charset="UTF-8" I was about to open a bug about this same issue. Seeing this thread, there seems to have been some misunderstanding between the parts. Bhozidar thought it was about indenting on the dot vs indenting according to the previous line, and in that aspect the feature is working correctly. But when there are multiple dots on a line, their style guide enforces indenting on the *first* dot, not the last, while (setq ruby-align-chained-calls t) - supposedly based on it - enforces the latter. --00000000000076a24d05af0cda17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was about to open a bug about this same issue. Seei= ng this thread, there seems to have been some misunderstanding between the = parts.

Bhozidar thought it was about indenting on = the dot vs indenting according to the previous line, and in that aspect the= feature is working correctly.

But when there = are multiple dots on a line, their style guide enforces indenting on the *f= irst* dot, not the last, while=20 (setq ruby-align-chained-calls t) - supposedly based on it - enforces the l= atter.
--00000000000076a24d05af0cda17-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 05:53:30 2021 Received: (at 32496) by debbugs.gnu.org; 1 Sep 2021 09:53:31 +0000 Received: from localhost ([127.0.0.1]:36368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMvy-00073l-Le for submit@debbugs.gnu.org; Wed, 01 Sep 2021 05:53:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLMvw-00073W-6W for 32496@debbugs.gnu.org; Wed, 01 Sep 2021 05:53:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XsxhOs3vghiRBym6sUyfhnxcHHOgNZxd3/lgE7rBsso=; b=bls/s+b5PKaDICM5zO3q2Zi2sV LoInUAfpp43EuethIfJbocFMTkuaT85ibT6e8bskADC9wS6TjqNxDQHN67utNf5M2vs9oueyowgmW K39cCJYNuGyRP8rJfU8V6X4HRwlK+QhfSHIJjA4ws81MWmqaEGM/T4gwzlF/AqcKKB48=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLMvl-0002RU-DY; Wed, 01 Sep 2021 11:53:21 +0200 From: Lars Ingebrigtsen To: Bozhidar Batsov Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t References: Date: Wed, 01 Sep 2021 11:53:16 +0200 In-Reply-To: (Bozhidar Batsov's message of "Sun, 18 Nov 2018 09:36:17 +0100") Message-ID: <87r1e8ei5v.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Bozhidar Batsov writes: > Sorry for the radio silence - I've been super busy lately. > > It's hard for me to understand the indentation in the examples in the email > (as it seems the same to me). Very simply put - the idea [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Artur Malabarba , Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Bozhidar Batsov writes: > Sorry for the radio silence - I've been super busy lately. > > It's hard for me to understand the indentation in the examples in the email > (as it seems the same to me). Very simply put - the idea is to align multi-line > chained calls on the `.`, as opposed to just nest them under the root receiver > as we'd normally do. > > I think Dmitry implemented this great and it's behaving just as it's supposed > to be behaving. Perhaps you misunderstood how this was supposed to > behave? What's the indentation you expected? (I'm going through old bug reports that unfortunately weren't resolved at the time.) The examples were in HTML mail, so they were difficult to understand. Emacs (with (setq ruby-align-chained-calls t)) currently aligns like this: some_variable.where .not(x: nil) .where(y: 2) Which is correct. However, when there's a mixture of keeping things on one line and breaking, we get this: some_variable.where.not(x: nil) .where(y: 2) I think the bug reporter wants: some_variable.where.not(x: nil) .where(y: 2) I.e., align multiline chained calls on the first dot, not the last? (I don't know Ruby, so I have no opinion here.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 11:26:38 2021 Received: (at 32496) by debbugs.gnu.org; 1 Sep 2021 15:26:38 +0000 Received: from localhost ([127.0.0.1]:38837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLS8L-0006Dd-GC for submit@debbugs.gnu.org; Wed, 01 Sep 2021 11:26:38 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLN5X-00012c-Tq for 32496@debbugs.gnu.org; Wed, 01 Sep 2021 06:03:28 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 73FE65C0270; Wed, 1 Sep 2021 06:03:18 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute4.internal (MEProxy); Wed, 01 Sep 2021 06:03:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=batsov.dev; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=X0VPYt3kGTPwtKQF1kSIMNRwUoZcv+F SD9rAj0kMEvQ=; b=MlFtalZKp5JjsRzGK30ciGPMxkBhz2klLkeKi/AL325aJG/ PHDhkZBiEP/MipKc0SHTrfg++SzmUlqNw3rgG7f6csjpjIFnBVvbCuFxo8/skn4O T7Cb3v6d2aFmMrDRNeImyC3/0fMdVbDFfwhgKxrIkT2nq/zei6OeLbXFJoY3ajsR YLq7nJqsw4MEyqU/9Tix09WszwyJiH6zM9VX6OmQW7jno1iU1ATZ7qs0CQHnHRjp gRUYj88GjumiKcOez9Znxc1QJn6luTzC4PAdHMguvqlbQa3Yu3Hgzn/3Cr6pyQd8 bTEM4/UwxClNXWlqavTy3nX3vSgfTr57/y6qIjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=X0VPYt 3kGTPwtKQF1kSIMNRwUoZcv+FSD9rAj0kMEvQ=; b=fQOBG0J8isSX41NhmS/fvS gU/vPkMe+PDiu9s8BEi1F7n+sMLQZu5mDvmebiJov1fgUSHofSJl2qsao3M/xSGI Xd4v9+jGvgWeW9Nr2sdNRwnr7XwNKWeRFTkLa2gpgdEdmIrju4xncDbEIBYt6mp6 cO0HccLliiSpoX6iggr8lvZ7AFSitNuQayoDSdexmzM9SPhKgZPp6JDb0mPd6j9x VyANrvpYc2SH2Gn6gzOQr0PBUvJ2ys7cyXmpodNa7oVY7Dy+TA7dt/5W8QYnqVkS F15nR5z3CH5yvKMvzBtwzkZE2q07GKQRLF5PGrf1CKd+GboVyk+2HIDWBfMurDbA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvfedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdeuohii hhhiuggrrhcuuegrthhsohhvfdcuoegsohiihhhiuggrrhessggrthhsohhvrdguvghvqe enucggtffrrghtthgvrhhnpeehkeevjeetvdelhfehleffkeevhffgieffhfelgedugeet udfgleetfeetheegteenucffohhmrghinhepihhnghgvsghrihhgthhsvghnrdhnohenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsohiihhhi uggrrhessggrthhsohhvrdguvghv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4B588AC0DD0; Wed, 1 Sep 2021 06:03:17 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1126-g6962059b07-fm-20210901.001-g6962059b Mime-Version: 1.0 Message-Id: In-Reply-To: <87r1e8ei5v.fsf@gnus.org> References: <87r1e8ei5v.fsf@gnus.org> Date: Wed, 01 Sep 2021 13:02:56 +0300 From: "Bozhidar Batsov" To: "Lars Ingebrigtsen" Subject: =?UTF-8?Q?Re:_bug#32496:_27.0.50; _Strange_indentation_when_ruby-align-ch?= =?UTF-8?Q?ained-calls_is_t?= Content-Type: multipart/alternative; boundary=3ab6a01989224e25873d6d7e393b4006 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32496 X-Mailman-Approved-At: Wed, 01 Sep 2021 11:26:36 -0400 Cc: 32496@debbugs.gnu.org, Artur Malabarba , Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --3ab6a01989224e25873d6d7e393b4006 Content-Type: text/plain Ah, I finally understood the issue at hand! It's really hard to discuss indentation problems in e-mail. :D Yeah, I can confirm there's a bug when using (setq ruby-align-chained-calls t) in this example: some_variable.where.not(x: nil) .where(y: 2) The two `where`s should be lined up, but currently the second `where` is lined up with the `not`. some_variable.where.not(x: nil) .where(y: 2) I can also confirm that the first behavior is what RuboCop (Ruby's popular linter/formatter) expects, when configured for aligned chained method calls. On Wed, Sep 1, 2021, at 12:53 PM, Lars Ingebrigtsen wrote: > Bozhidar Batsov writes: > > > Sorry for the radio silence - I've been super busy lately. > > > > It's hard for me to understand the indentation in the examples in the email > > (as it seems the same to me). Very simply put - the idea is to align multi-line > > chained calls on the `.`, as opposed to just nest them under the root receiver > > as we'd normally do. > > > > I think Dmitry implemented this great and it's behaving just as it's supposed > > to be behaving. Perhaps you misunderstood how this was supposed to > > behave? What's the indentation you expected? > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > The examples were in HTML mail, so they were difficult to understand. > > Emacs (with (setq ruby-align-chained-calls t)) currently aligns like > this: > > some_variable.where > .not(x: nil) > .where(y: 2) > > Which is correct. However, when there's a mixture of keeping things on > one line and breaking, we get this: > > some_variable.where.not(x: nil) > .where(y: 2) > > I think the bug reporter wants: > > some_variable.where.not(x: nil) > .where(y: 2) > > I.e., align multiline chained calls on the first dot, not the last? > > (I don't know Ruby, so I have no opinion here.) > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --3ab6a01989224e25873d6d7e393b4006 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Ah, I finally u= nderstood the issue at hand! It's really hard to discuss indentation pro= blems in e-mail. :D

Yeah, I can confirm the= re's a bug when using (setq ruby-align-chained-calls t) in this exa= mple:

some_variable.where.not(x: nil)
                  =        .where(y: 2)

The= two `where`s should be lined up, but currently the second `where` is li= ned up with the `not`.

some_variable.where.= not(x: nil)
            &nbs= p;                    =   .where(y: 2)

I can also confirm tha= t the first behavior is what RuboCop (Ruby's popular linter/formatter) e= xpects, when configured for aligned chained method calls. 

On Wed, Sep 1, 2021, at 12:53 PM, Lars Ingebrigtsen wro= te:

<= div>> It's hard for me to understand the indentation in the examples = in the email
> (as it seems the same to me). Very simpl= y put - the idea is to align multi-line
> chained calls= on the `.`, as opposed to just nest them under the root receiver
> as we'd normally do.
>
> = I think Dmitry implemented this great and it's behaving just as it's sup= posed
> to be behaving. Perhaps you misunderstood how t= his was supposed to
> behave? What's the indentation yo= u expected? 

(I'm going through old bu= g reports that unfortunately weren't resolved
at the time.= )

The examples were in HTML mail, so they w= ere difficult to understand.

Emacs (with (s= etq ruby-align-chained-calls t)) currently aligns like
thi= s:

some_variable.where
 =             .not(= x: nil)
        &n= bsp;    .where(y: 2)

Which i= s correct.  However, when there's a mixture of keeping things on
one line and breaking, we get this:

=
some_variable.where.not(x: nil)
   &nb= sp;           &nb= sp;   .where(y: 2)

I think the bu= g reporter wants:

some_variable.where.not(x= : nil)
        &nb= sp;    .where(y: 2)

I.e., al= ign multiline chained calls on the first dot, not the last?


--3ab6a01989224e25873d6d7e393b4006-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 02:56:08 2021 Received: (at 32496) by debbugs.gnu.org; 2 Sep 2021 06:56:08 +0000 Received: from localhost ([127.0.0.1]:39510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLgds-0002cr-6k for submit@debbugs.gnu.org; Thu, 02 Sep 2021 02:56:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLgdq-0002cK-6p for 32496@debbugs.gnu.org; Thu, 02 Sep 2021 02:56:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+Swk3M1SVPM4A2HAx4osOcN/5tuqdEE9QeG0T1q7u+s=; b=NHiHtN6aXWB5Ba146uJrL7LYPs RGI18owkzX9uU6rNPUavbacyRO3+Lahzcnd4DLKegroeidnh65mphkbqRpUzAr0qfiI49zbEzo+Wu QVludkb/rOUfL4uLojdAJFGVlGETfY7NgZxwUKfZ7pX3TCpYnTMpIzbs4jSlY93dPc8Y=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLgdb-00007Q-DW; Thu, 02 Sep 2021 08:55:55 +0200 From: Lars Ingebrigtsen To: "Bozhidar Batsov" Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t References: <87r1e8ei5v.fsf@gnus.org> Date: Thu, 02 Sep 2021 08:55:50 +0200 In-Reply-To: (Bozhidar Batsov's message of "Wed, 01 Sep 2021 13:02:56 +0300") Message-ID: <877dfzcvpl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Bozhidar Batsov" writes: > Ah, I finally understood the issue at hand! It's really hard to discuss > indentation problems in e-mail. :D > > Yeah, I can confirm there's a bug when using (setq ruby-align-chained-calls t) > in t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Stefan Monnier , Artur Malabarba , Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "Bozhidar Batsov" writes: > Ah, I finally understood the issue at hand! It's really hard to discuss > indentation problems in e-mail. :D > > Yeah, I can confirm there's a bug when using (setq ruby-align-chained-calls t) > in this example: > > some_variable.where.not(x: nil) > .where(y: 2) > > The two `where`s should be lined up, but currently the second `where` is > lined up with the `not`. So this is coming from: ('(:before . ".") (if (smie-rule-sibling-p) (and ruby-align-chained-calls 0) (smie-backward-sexp ".") (cons 'column (+ (current-column) ruby-indent-level)))) In the aligned case, I think we should back up to the first "." in the chain and use that as the column? But my SMIE-fu is pretty much non-existent, so I've added Stefan to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 08 15:01:20 2021 Received: (at 32496) by debbugs.gnu.org; 8 Sep 2021 19:01:20 +0000 Received: from localhost ([127.0.0.1]:33573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO2oy-0006rs-0h for submit@debbugs.gnu.org; Wed, 08 Sep 2021 15:01:20 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO2ov-0006rb-T2 for 32496@debbugs.gnu.org; Wed, 08 Sep 2021 15:01:18 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 141B9801B5; Wed, 8 Sep 2021 15:01:16 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2AC71808DF; Wed, 8 Sep 2021 15:01:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1631127674; bh=jmNNMqOdUELaJKvxjMwHRLkdCX0Vy/D4esM8EKxezdA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hLsfP8FKYRn/wlw/K9F8p3QZfHy3ujqrVFhhEEL3kwBGvtpuujIAH12EV58goxG1o GbEIIONXvecYn8t0AiWhFzxf2EAfGZ3BRn8gRKfpRYbZI2lKEVGcrIVvLM+Vq5pnqn bx26eYALOBYClRFYaoYg0xD7V++fFncgJJWl9YHmMf77Veq6AwAU+FGTiSUdxgv05s c3yKsAZNmlJwDNYCd+klVg676cEagcII6xb4R5L8li4wMQvNT0MlpbJVQuO3oLE6aS DY/kSasNOyxcBH56GowxVWQEiF88I6pwJPV1lNXMa3HoHr0t5U5sUX48me5VrX6LVo ex1Z1lkaZSSVQ== Received: from pastel (unknown [104.247.244.135]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 530E6120351; Wed, 8 Sep 2021 15:01:09 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t Message-ID: References: <87r1e8ei5v.fsf@gnus.org> <877dfzcvpl.fsf@gnus.org> Date: Wed, 08 Sep 2021 15:01:08 -0400 In-Reply-To: <877dfzcvpl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 02 Sep 2021 08:55:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.044 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Bozhidar Batsov , Artur Malabarba , Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2021-09-02 08:55:50] wrote: > "Bozhidar Batsov" writes: > >> Ah, I finally understood the issue at hand! It's really hard to discuss >> indentation problems in e-mail. :D >> >> Yeah, I can confirm there's a bug when using (setq ruby-align-chained-calls t) >> in this example: >> >> some_variable.where.not(x: nil) >> .where(y: 2) >> >> The two `where`s should be lined up, but currently the second `where` is >> lined up with the `not`. > > So this is coming from: > > ('(:before . ".") > (if (smie-rule-sibling-p) > (and ruby-align-chained-calls 0) > (smie-backward-sexp ".") > (cons 'column (+ (current-column) > ruby-indent-level)))) > > In the aligned case, I think we should back up to the first "." in the > chain and use that as the column? But my SMIE-fu is pretty much > non-existent, so I've added Stefan to the CCs. You could try something like diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index c09f007a5ee..c681800f6a7 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -640,7 +640,15 @@ ruby-smie-rules ('(:before . "do") (ruby-smie--indent-to-stmt)) ('(:before . ".") (if (smie-rule-sibling-p) - (and ruby-align-chained-calls 0) + (when ruby-align-chained-calls + (while + (let ((pos (point)) + (parent (smie-backward-sexp "."))) + (if (not (equal (nth 2 parent) ".")) + (progn (goto-char pos) nil) + (goto-char (nth 1 parent)) + (not (smie-rule-bolp))))) + (cons 'column (current-column))) (smie-backward-sexp ".") (cons 'column (+ (current-column) ruby-indent-level)))) @@ -826,13 +834,6 @@ ruby--electric-indent-p ;; FIXME: Remove this? It's unused here, but some redefinitions of ;; `ruby-calculate-indent' in user init files still call it. -(defun ruby-current-indentation () - "Return the indentation level of current line." - (save-excursion - (beginning-of-line) - (back-to-indentation) - (current-column))) - (defun ruby-indent-line (&optional ignored) "Correct the indentation of the current Ruby line." (interactive) But please add corresponding regression tests, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 09 10:26:06 2021 Received: (at 32496) by debbugs.gnu.org; 9 Sep 2021 14:26:06 +0000 Received: from localhost ([127.0.0.1]:35867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL0A-0005xN-DO for submit@debbugs.gnu.org; Thu, 09 Sep 2021 10:26:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL06-0005wn-8l for 32496@debbugs.gnu.org; Thu, 09 Sep 2021 10:26:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bawOoBQaeMWm5pkUr1z9nHTapnhZacpxoJThbe3Lij8=; b=D4Lqp7khyrAKz6YDUQNR8q3RR0 Lny78JAwG6U9ElwxO1MLvbGcs0mZd3TNjeuQSui8b1Nho1hMVYKa2KXDiatPPK/bIwGJR6PKU4tvq GN342WzCDRiMeufL5YivLGyb7ZYTNSJRtQi7iGGXOMJi+pvjTG421KTL+Q/YndoICFck=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOKzq-0007vs-I8; Thu, 09 Sep 2021 16:25:53 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t References: <87r1e8ei5v.fsf@gnus.org> <877dfzcvpl.fsf@gnus.org> Date: Thu, 09 Sep 2021 16:25:46 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Sep 2021 15:01:08 -0400") Message-ID: <87zgslu8ph.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > You could try something like [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32496 Cc: 32496@debbugs.gnu.org, Bozhidar Batsov , Artur Malabarba , Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: > You could try something like [...] > But please add corresponding regression tests, Thanks; seems to work perfectly. (And I've added some more tests, but this one was already being tested, I found out afterwards.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 09 10:26:12 2021 Received: (at control) by debbugs.gnu.org; 9 Sep 2021 14:26:12 +0000 Received: from localhost ([127.0.0.1]:35869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL0F-0005xf-LE for submit@debbugs.gnu.org; Thu, 09 Sep 2021 10:26:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOL07-0005wr-Vh for control@debbugs.gnu.org; Thu, 09 Sep 2021 10:26:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vCNl1Vj5lOOV9tj9wJKOm1PbzQt0hgEFn+E1OHqj0TA=; b=OseFhS7voNatRqvzSdfII6sQgI 4cZCJ8l235FBETnDDgGkE0ELasKNFzAAtdm8JmF6O3+m7AT5whEhTia+Li0EtKFpEr9cwEjgzfIcd mNhQ65H5SRmq7B/OFtTStlt3SpTR/SqJpPHP2QQE64DHO3fp7X8NPEh+j7fSUUvKfWv4=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOL00-0007w5-G8 for control@debbugs.gnu.org; Thu, 09 Sep 2021 16:25:58 +0200 Date: Thu, 09 Sep 2021 16:25:56 +0200 Message-Id: <87y285u8p7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32496 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 32496 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 32496 28.1 quit From unknown Sun Jun 22 07:55:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 08 Oct 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator