From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E5=A4=AA=E9=98=B3?= Newsgroups: gmane.emacs.bugs Subject: bug#61142: Acknowledgement (29.0.60; java-ts-mode - Wrong indentation for the body of multiple lines conditions) Date: Wed, 01 Feb 2023 08:46:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24282"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Vivaldi Mail/1.3.2867.58 To: 61142@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 01 10:17:09 2023 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 1pN9Er-00068a-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Feb 2023 10:17:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pN9Bx-00077r-0J; Wed, 01 Feb 2023 04:14:09 -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 1pN9Bt-00076Y-2O for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 04:14:07 -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 1pN9Br-0001HA-Pb for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 04:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pN9Br-0005ai-Lh for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 04:14:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E5=A4=AA=E9=98=B3?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2023 09:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61142 X-GNU-PR-Package: emacs X-Debbugs-Original-To: 61142@debbugs.gnu.org, GNU bug Tracking System Original-Received: via spool by 61142-submit@debbugs.gnu.org id=B61142.167524280621416 (code B ref 61142); Wed, 01 Feb 2023 09:14:03 +0000 Original-Received: (at 61142) by debbugs.gnu.org; 1 Feb 2023 09:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:56449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pN9BD-0005ZG-PS for submit@debbugs.gnu.org; Wed, 01 Feb 2023 04:13:25 -0500 Original-Received: from mail-tyzapc01olkn2064.outbound.protection.outlook.com ([40.92.107.64]:49414 helo=APC01-TYZ-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pN8mC-0002P3-Ba for 61142@debbugs.gnu.org; Wed, 01 Feb 2023 03:47:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z1gvbAOjTYVC1+Yp3nM74rvVlNT0BLNqmD0oz0FUcNzD5By1g9gGrtpFAAW/3pNaCw/revXypEJ2n+1xpUMzyKSmB+X/Z/4AIl134YLnCkwA8nOZKGEuSW/sXMP1bYngLR1PAW39/rKshepVFpzNRnNeQuq+qNGipFkf7xvk+mI/LTcAuUR54daJREFTi2v1ypyPi8aYGHyJgSAcoWheysUnTz0gUyoeMJsRqub2+mU5jLZSG1djL5AlJC00Mt/1eVNjW+sefzvBONPcz+bVFlZ0pX8nx/uZNXE6AdDQxzba7B4RkJO6uGS7KEm67mscXuEF+Dw2l7+Zl+/VllOPBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gob5u/eoifqg2C7n0CmVM6cN6XkgFZuUFik7d4uy58w=; b=Uxi8ChVIGW8BhGJ0KHP3+fUOuCUGoMWsL9//X8mN4ixARWVLo5zpumFdF0Uf9rbG98XRIWB/i0dSxF70QUqujXd/aL6vpZJnDk9kff9ymEIC1MGIoyOmKSkaP3mjF1Ds8K7f6lkUH1Jo0V07kJTbmnUYoc9Id94vR//9cx/AZE8mRT5ahe/oCqlmUQ7qUxGJADd5HdBoMKeS7VPh00wwWYrOw1zYeocTy2YKzza0xRHKZS88N/7PsL5yOc+XM4YZESapKl8J+Ud7v+0ETLqQhueMTcxWTWiPCQs27tE4jZD4tbqWt3DtnXoz72yKk5+enCf3pybmsUeSkO+Dc/LqDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gob5u/eoifqg2C7n0CmVM6cN6XkgFZuUFik7d4uy58w=; b=qjEoTzCzvgPpeZvsbXkR2VeszSKh4jvSJso4nKC2ZMVCg5eK8wZqKME1A563CbThFav57E5uR9lbRM6l9b70jPGQHcn+rpcYcKXaLfQ868jEB7BCs3ckt6i8ZhnY/UCXiJVBKqLcJDcocwDAGCmR8deWdA2AD0Gx0fJByQ8f9NPQ6Bt3BM+NTo8GNsAtlaGkVbBVG/TuyrL8eB7cHUtJEFJlDO496OPNnNWdh8TIV9XCcph+InB+Wt8UFp0fON7VXMw79BtU53nMXrnre/NwjSlHquIYHE7TtGp6oq1/JRkTZBC9qayzOR0k9kPkn+UXnsAQeolaBsO+L4KRzX2QQg== Original-Received: from OSZP286MB1417.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:13e::13) by TYTP286MB3461.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22; Wed, 1 Feb 2023 08:46:33 +0000 Original-Received: from OSZP286MB1417.JPNP286.PROD.OUTLOOK.COM ([fe80::c3e:9933:93cd:8cfa]) by OSZP286MB1417.JPNP286.PROD.OUTLOOK.COM ([fe80::c3e:9933:93cd:8cfa%4]) with mapi id 15.20.6043.036; Wed, 1 Feb 2023 08:46:33 +0000 In-Reply-To: X-Mailer: Vivaldi Mail X-TMN: [qP9VonjIKEQXcogGNQgjvxbaVMFbpAH6] X-ClientProxiedBy: SG2PR02CA0063.apcprd02.prod.outlook.com (2603:1096:4:54::27) To OSZP286MB1417.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:13e::13) X-Microsoft-Original-Message-ID: <1675240771678.2373746191.3557144216@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSZP286MB1417:EE_|TYTP286MB3461:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ad7d255-a8f5-4ae3-2d3f-08db0430d212 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0Y7DEKXycWe2Bo7KHxa3g1VrPNG7R79Ryrgq3nqRKI0n2b/wGQMQNkw5XK5NpifxeUbnw2VjTpEyKbUMbEkS4y3FrWOgvzJ+XJRtqcBteyecdwrIqV3uKf9+8BcjpgucDXUD8AeZZsIkCCZPuBH/olnUXdoksQ+mlQmXuy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Jd+6lxqo0PpT2upD6OaiI+0gmHiwcuPubUIvQSx+pmkiQm8wz0gS7KWsWDZEbaJcfLkMfpM2OIqUw4k+vqP6+NjsDNl6mZRYV8i/c1TQyZ0ZQrRcPfj8Ibur0suXeHASOmkzS8QYkL3iNLi5GL9RfCUaPq+GFTV3IZjOAbNq7buwfpbs1nnE1F9msLpdLnsO0z7tThi3oVvW2lX3areH/f+RR6+4r6kIFt9olvMu4SIF+15wL3ffL0V7stGr kMLe2DG6cgf5QSiBHKWmNRd+69T0LUshI8Rf4VkYKJ3Xm8/ZJXcvTC3fmg0r19VMEo608VPBf0Ug3JO4oYCKW+m2i8hwTDCZjZ X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 6ad7d255-a8f5-4ae3-2d3f-08db0430d212 X-MS-Exchange-CrossTenant-AuthSource: OSZP286MB1417.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2023 08:46:33.8475 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYTP286MB3461 X-Mailman-Approved-At: Wed, 01 Feb 2023 04:13:09 -0500 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:254568 Archived-At: After reading treesit's manual, I found that we can use `n-p-gp` as the mat= cher and `grand-parent` as the anchor to match the body of `if` (and `while= `, which has a similar issue).=20 I mean a rule looks like the following: ``` ((n-p-gp nil "block" "if_statement") grand-parent java-ts-mode-indent-offse= t) ``` GNU bug Tracking System =E5=9C=A8 2023=E5=B9=B401=E6=9C=8829=E6=97=A5 =E6= =98=9F=E6=9C=9F=E6=97=A5 16=E6=97=B633=E5=88=8603=E7=A7=92 (+08:00) =E5=86= =99=E9=81=93=EF=BC=9A > Thank you for filing a new bug report with debbugs.gnu.org. >=20 > This is an automatically generated reply to let you know your message > has been received. >=20 > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. >=20 > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@gnu.org >=20 > If you wish to submit further information on this problem, please > send it to 61142@debbugs.gnu.org. >=20 > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. >=20 --=20 =E5=8F=91=E9=80=81=E8=87=AA Vivaldi =E9=82=AE=E4=BB=B6=E3=80=82=E8=AE=BF=E9= =97=AE vivaldi.com =E5=85=8D=E8=B4=B9=E4=B8=8B=E8=BD=BD