From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wendel Scardua Newsgroups: gmane.emacs.bugs Subject: bug#32496: 27.0.50; Strange indentation when ruby-align-chained-calls is t Date: Fri, 11 Sep 2020 14:16:52 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000076a24d05af0cda17" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8162"; mail-complaints-to="usenet@ciao.gmane.io" To: 32496@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 11 20:34:10 2020 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 1kGns9-00021a-Ma for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 20:34:09 +0200 Original-Received: from localhost ([::1]:44774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGns8-0001XB-Km for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 14:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGns2-0001Ws-Dz for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 14:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGns2-0001XR-5Q for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGns2-0005zY-32 for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 14:34:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Wendel Scardua Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Sep 2020 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32496 X-GNU-PR-Package: emacs Original-Received: via spool by 32496-submit@debbugs.gnu.org id=B32496.159984920922993 (code B ref 32496); Fri, 11 Sep 2020 18:34:02 +0000 Original-Received: (at 32496) by debbugs.gnu.org; 11 Sep 2020 18:33:29 +0000 Original-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 Original-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 Original-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) 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 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" Xref: news.gmane.io gmane.emacs.bugs:187852 Archived-At: --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--