From unknown Wed Jun 18 23:16:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75107 <75107@debbugs.gnu.org> To: bug#75107 <75107@debbugs.gnu.org> Subject: Status: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar Reply-To: bug#75107 <75107@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:16:28 +0000 retitle 75107 [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar reassign 75107 emacs submitter 75107 john muhl severity 75107 normal tag 75107 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 20:37:10 2024 Received: (at submit) by debbugs.gnu.org; 26 Dec 2024 01:37:10 +0000 Received: from localhost ([127.0.0.1]:39488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQcoH-0005o1-Po for submit@debbugs.gnu.org; Wed, 25 Dec 2024 20:37:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:57886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQcoF-0005ns-Kh for submit@debbugs.gnu.org; Wed, 25 Dec 2024 20:37:08 -0500 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 1tQcoE-0008FU-Os for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 20:37:07 -0500 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQcoD-0000HY-7E for bug-gnu-emacs@gnu.org; Wed, 25 Dec 2024 20:37:06 -0500 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id 3621A2540103 for ; Wed, 25 Dec 2024 20:37:00 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Wed, 25 Dec 2024 20:37:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1735177020; x=1735263420; bh=56aRiDht3kUSQXypuVKqAsRrU7OG19J0 csViHF4yVI0=; b=kmq1mHxYCzlNSxqVI81JJPFQd7SFAyTc4sE/21hNoIDFYHj3 Nv5rY2LzhV1qPu6fBgq6PzrfP/rLoi30DFjOCTFMjnZKAheBmIvLwjaNqabbL5uN 9DX0mQlocxJd8jn4ONt5VF6qI7tCa51ZivhKiI6+KfHxbeQ+y3W9I9Yml/HYJgRz GOF0CZ9WIw3EG5DngiQx5zMiEb4iqvpcle7vckTLj2XzOlQ5K5MnS7r8O05bIq5E HTT7v704P6/lmvdj3v7TbezTo3/cKzd1MflCgpibdZfPFQ9p0F29m1c6nQ/eE5dB bEQZ+J8bQwQwfrp7F11eYdfEbuKpM8pFZ4VkIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735177020; x= 1735263420; bh=56aRiDht3kUSQXypuVKqAsRrU7OG19J0csViHF4yVI0=; b=O z4ND3RBOD4E7ju1OZuhfyg7+glQnHVDBRThyFWKA0EAWMgfBNid+iqa2pnbap6D5 RcUINkbGj/M/0X+J8h1ztxnHkgcumWlLblQQj9qNpn5m10fD7zJF86zWDRkgajhD ly6zrgw1UUWIMatost7FyQzI+vDSEntPbWoSw5KysD2c355St6WEyg70boeggJVd EKsEH7OPK8S/3LCY9GXjRX5dPp1D9hIMceIfNsyQZqi5ICLjVEcgnjdN0AlCdMFM hrxdxbox4iSbXInlzRzX8Sp9bdGXqmMcVH77+5DDAkrLAjHo+FV3D2oRC8D2eN14 EYu/Qx5NfJOEP5hFSTGaw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddujedgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkgggtsehttdertddttddtnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhmsehpuhgs rdhpihhnkheqnecuggftrfgrthhtvghrnhepgefhudekueehudeugffhgfegfeevhfetje ehhfeuleffgfeguedtffdvteeutedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepud dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshes ghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 25 Dec 2024 20:36:59 -0500 (EST) From: john muhl To: bug-gnu-emacs@gnu.org Subject: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar X-Debbugs-Cc: Date: Wed, 25 Dec 2024 19:36:58 -0600 Message-ID: <8734ib5io5.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=202.12.124.152; envelope-from=jm@pub.pink; helo=fhigh-b1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Tags: patch This makes all the tests pass and fixes a bug with multi-line comment indent with some of the older grammars. Namely v0.0.18 which is packaged in Debian testing and some of its derivatives (e.g. Ubuntu). From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 20:43:09 2024 Received: (at 75107) by debbugs.gnu.org; 26 Dec 2024 01:43:09 +0000 Received: from localhost ([127.0.0.1]:39498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQcu4-00065f-Iq for submit@debbugs.gnu.org; Wed, 25 Dec 2024 20:43:08 -0500 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]:36609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQcu1-00064z-PE for 75107@debbugs.gnu.org; Wed, 25 Dec 2024 20:43:06 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id F101F114012A for <75107@debbugs.gnu.org>; Wed, 25 Dec 2024 20:42:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Wed, 25 Dec 2024 20:43:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1735177379; x=1735263779; bh=bsZJxsFBQj MOz9afmTfGNhZWLWvJoULZDC6EYfKYGC0=; b=foQmtXiCXqOhZ/dzMvyMfvgwf/ wyfF4GxZF3gAO9N1YA4SBg3kfaenEqAsOSZteTBabt2hKUHDtD3iXlnSv7qUUU4I WoeSTT0i+Yd64aeqbWc6jxSFFBUIPvfpLEbB/HbsG5hghUT7n7HdGJqLTroXPZky YCw+/r7LQLHREtr/ZRBjzbmHuawY4V7/2P0d/kUtyFNSh42OS9/z8xYsdADWiphT zFbV9sV8qb9PyCAxa26yzyxE9bXeu/d6HopOL895a1C+FX7OFao1SfLhD0eEyKmJ 4yb5nquQY22hi9IaJ8E/PlLr4TWmlBSCIVtizAW6Ertv08SzD3DBZ9exGCBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1735177379; x=1735263779; bh=bsZJxsFBQjMOz9afmTfGNhZWLWvJoULZDC6 EYfKYGC0=; b=GtOEuPMRYFDP4LhePgREaa9c0GiPlGUbcaBMcF+/8I1q/x3BtCk tsgDOBvR9mhR8+p6/t0huEYhNvWA27r6NUACLfTy2l52grLDbMTpTb40szmrAVd7 JHXlnNrzFX0ffvfLUpgrwFTZONApuU6I5115tlSLVaPR5TzibYUi+19lRGUeGyxU BdwgSfW4mNOFGHEFvZpaH810pxU3AkyYclPIT14k+bDDu4dPunMRTbditR8dQS7J aWMfR9X6Dh1pML27dp5fWdgyklkATXNfjdbkSvh70uGP6vToZ21ruORoNTfUBe7/ vGrm2Qoj6TGq7GqqfNwOfty0FlThEOZdjDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddujedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujg hffgffkfggtgesmhdtreertdertdenucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhes phhusgdrphhinhhkqeenucggtffrrghtthgvrhhnpefgleehkeehveevtdefjedtuddvie fhgfekudelveeuheekgeffleeuvdetheetueenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtth hopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejhedutdejseguvggssghu ghhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <75107@debbugs.gnu.org>; Wed, 25 Dec 2024 20:42:59 -0500 (EST) From: john muhl To: 75107@debbugs.gnu.org Subject: Re: bug#75107: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar In-Reply-To: <8734ib5io5.fsf@pub.pink> (john muhl's message of "Wed, 25 Dec 2024 19:36:58 -0600") References: <8734ib5io5.fsf@pub.pink> User-Agent: mu4e 1.12.1; emacs 31.0.50 Date: Wed, 25 Dec 2024 19:42:58 -0600 Message-ID: <87seqb43tp.fsf@pub.pink> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75107 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 (-) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-comment-indent-in-lua-ts-mode-and-old-grammar.patch >From e4a9647912545fa0d97370bba9919db3a9acb219 Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 25 Dec 2024 18:03:50 -0600 Subject: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar * lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): Improve multi-line comment indention for pre-0.0.19 grammars that used a different structure for comment start/end markers. (Bug#75107) --- lisp/progmodes/lua-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 6fa3e51b34b..857be185fcf 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -281,7 +281,7 @@ lua-ts--simple-indent-rules lua-ts--multi-line-comment-start (parent-is "comment_content") (parent-is "string_content") - (node-is "]]")) + (or (node-is "]]") (node-is "comment_end"))) no-indent 0) ((and (n-p-gp "field" "table_constructor" "arguments") lua-ts--multi-arg-function-call-matcher -- 2.47.1 --=-=-= Content-Type: text/plain john muhl writes: > Tags: patch > > This makes all the tests pass and fixes a bug with multi-line > comment indent with some of the older grammars. Namely v0.0.18 > which is packaged in Debian testing and some of its derivatives > (e.g. Ubuntu). --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 26 04:02:54 2024 Received: (at 75107-done) by debbugs.gnu.org; 26 Dec 2024 09:02:54 +0000 Received: from localhost ([127.0.0.1]:40076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQjle-0002GX-H1 for submit@debbugs.gnu.org; Thu, 26 Dec 2024 04:02:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQjlc-0002GC-Bh for 75107-done@debbugs.gnu.org; Thu, 26 Dec 2024 04:02:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQjlW-0004Rd-VE; Thu, 26 Dec 2024 04:02:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2FoORBHdOI12WcDFdlh/7AWp6GPwVewbekEQNETmZs4=; b=qc8yX6X4/yff /kpdbXwlsMjgwragtCPfHucGK501nTLzttr92014NxAzr3ACCzwG7XKJHl4R4GA2lBr/mdZCn3U3p ppOu9puqrB9D+WCnIlDpvTHTWsLIZZk57y0qg07efPo5H5xniQMv/08fkRQAVJ8kN1r6GHS7KEyKs XPyZbMuzIXdXPMBM356tLewovi+cyPHIdHBTvJXPGwzWGARJNds+rfgORJHHvxm8wU+G4FE9pE9Qs Uke0Yt/YADkWxqlxV/vCu5aDYW85gu9w2KAYWqh01S3yuR4mLWboCeBFP9cVOOu2v+iOmXehJHY0i jAebZp9EiEd0SwXF3ga8CA==; Date: Thu, 26 Dec 2024 11:02:43 +0200 Message-Id: <8634iazuj0.fsf@gnu.org> From: Eli Zaretskii To: john muhl In-Reply-To: <87seqb43tp.fsf@pub.pink> (message from john muhl on Wed, 25 Dec 2024 19:42:58 -0600) Subject: Re: bug#75107: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar References: <8734ib5io5.fsf@pub.pink> <87seqb43tp.fsf@pub.pink> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75107-done Cc: 75107-done@debbugs.gnu.org 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 (---) > From: john muhl > Date: Wed, 25 Dec 2024 19:42:58 -0600 > > >From e4a9647912545fa0d97370bba9919db3a9acb219 Mon Sep 17 00:00:00 2001 > From: john muhl > Date: Wed, 25 Dec 2024 18:03:50 -0600 > Subject: [PATCH] Fix comment indent in 'lua-ts-mode' and old grammar > > * lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): > Improve multi-line comment indention for pre-0.0.19 grammars that > used a different structure for comment start/end markers. > (Bug#75107) Thanks, installed on the emacs-30 branch, and closing the bug. From unknown Wed Jun 18 23:16:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Jan 2025 12:24:17 +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