From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call Date: Sun, 1 Sep 2024 21:56:52 -0400 Message-ID: References: <902440c7-706a-20e1-55af-4e12e8cdda2c@yandex.ru> <1191195d-1528-dc2a-64e0-15426e4b5608@yandex.ru> <75342f40-d576-e1c6-3d63-692b80e78bfe@yandex.ru> <90f8ce9c-4a60-4af9-8ed7-eeddff557129@yandex.ru> <2345189c-0033-4357-841c-1a6c7bc51a3c@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60321@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 02 04:10:16 2024 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 1skwWF-0002Gz-4T for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Sep 2024 04:10:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skwW2-0008Gu-Ts; Sun, 01 Sep 2024 22:10:02 -0400 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 1skwW2-0008Gm-AG for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 22:10:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1skwW2-00067R-03 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 22:10:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=SSWHyv5hZ456zh0laInXBqfgd4f16o91uOa/9o20pIM=; b=J3bxUE+itJutCjNa+jjq9NsIuEgvA973WeaiSBXaNxMJcN3g2bFDLTn1kgQDt+uHZH9AC6d9MAbTMFYD5WnK47ha8hcxB2UxCytiwxWD0ffc5p8Vbyibsp7SLUYEgRErM38dN37p00jqY/8JEdGQsyeF12ebjVDZ6Kl7l3XLM9wEaMA5i3954T1zg/bzDT0VVUlwvz3K6pq/3GFjwMzcdOat6pMbrEqd3QiuT6v43iTcuiFOcJL7QbcdW091ybrF5fs1qqVQaM5kkhVKxSROHyrBp9QG+yLOkc9YL7jd25cNPGtCiJqrRvvkMmjsjjwTRtELsJ8cTXQzFcmChn6W0w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1skwX0-0004M0-5r for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2024 22:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Sep 2024 02:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60321 X-GNU-PR-Package: emacs Original-Received: via spool by 60321-submit@debbugs.gnu.org id=B60321.172524301516525 (code B ref 60321); Mon, 02 Sep 2024 02:11:02 +0000 Original-Received: (at 60321) by debbugs.gnu.org; 2 Sep 2024 02:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:41583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skwWE-0004IT-JJ for submit@debbugs.gnu.org; Sun, 01 Sep 2024 22:10:14 -0400 Original-Received: from mail-ej1-f51.google.com ([209.85.218.51]:56606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skwTT-00049O-3k for 60321@debbugs.gnu.org; Sun, 01 Sep 2024 22:07:23 -0400 Original-Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a80eab3945eso318692966b.1 for <60321@debbugs.gnu.org>; Sun, 01 Sep 2024 19:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725242717; x=1725847517; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SSWHyv5hZ456zh0laInXBqfgd4f16o91uOa/9o20pIM=; b=gWb3OkB+ouq5BIVmvS1L/lPaSgt7IFoeFIN/3ZGFcKQzcF+4gNfvDzkUYZlXylGjL1 qZ9TY/7MkI2ceHh05xIVW1rcrTLBx4Re8Qfqo0kvtrM0fWl4KTnK7KiAk240eqPTYRRI j5BPYs9tbvnwJK25kabONb1/OnJ3/4lC6PZ2ObWkXr9lXyKD1MVRSQnGsji9QqOOBldn cxicNhA0RelywFoMAYeCc2jq8fPBzhdCKnOK+hXUhmdrTchVF7zBCqPQKrzVjmzxs/xt LuyyLHFLmTRL1nkBXeEj2BYWt//svcJWIsAjVtp27muZ0wDotvjvLjsKXqhocXV9rWgA kXpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725242717; x=1725847517; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SSWHyv5hZ456zh0laInXBqfgd4f16o91uOa/9o20pIM=; b=M5m/KMKyKYq/an9YASpDW/H+OCCadN4umIBqb7Ewd0OjJQ2DkkKdOTjXDrg1wULB0s eO0naIZm1JxSkwhKQPaZuDx2CP3stQHedfzbNskpNvL/sKXDQS2preyHeOXZsfdHhkcr eMytLcEi5Q2549ZxZvM9J6MV3UGeW0PQcoG0LsrESvgM0Fg5IhElZkH0CwEW2bBrK//w gVrK6agS16W5sU3ST//duvI2rMFGnciVkU2LVxbx1br3Yh029v/EhB+ZShwIMnyjfBrA 2a001P03vtvIXVZKaeeDOrnAtpZYa3AqwnYe/laTRiXn8kDOHH6GsfLqTXo/QOdXn98T ktnw== X-Gm-Message-State: AOJu0Yy3y5nyTPVrujdMWdhNTFjH8t1+rhtkZzyhJSVm3aCApq/z7PPd f+yOExKtf/niRpY4+c2XSJW3ssR8ZkSHT0Itg1iqErZAPVSYx0eswvm5ozvJAy32mLr8OVYfAKb /giraMctlctvgM4sz+ukPJ/cg0xXL5w== X-Google-Smtp-Source: AGHT+IE1gzdy5CnJuGXLnp6bwUCIEr9fF8TURb6q8/151RDnoC6Vq7J8Yw/lpYQjw4xZfH+D/XtXv0Ix+mwNMEb7/tk= X-Received: by 2002:a2e:bc25:0:b0:2f5:c13:bd11 with SMTP id 38308e7fff4ca-2f61e0562b8mr60883941fa.17.1725242223484; Sun, 01 Sep 2024 18:57:03 -0700 (PDT) In-Reply-To: <2345189c-0033-4357-841c-1a6c7bc51a3c@yandex.ru> 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:291083 Archived-At: > It seems to me that anything other than 0 spaces would look inconsistent > with the first element (the hash), and its closing brace in particular. Yeah, that's my sense as well, even if it looks awful, but you get what you get. > >> * Support for the new option in ruby-ts-mode (it's good to have parity). > >> Could you take the attached patch for a spin? Seems to work here, but > >> I'd like to have an extra confirmation. > > > > I don't have the treesitter stuff installed at the moment, will try > > this out shortly. > > Thanks in advance. I installed it and gave it a run on a few things. I didn't observe any issues with it. Aaron