From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66159: 30.0.50; lua-ts-mode semantic indentation problems Date: Fri, 22 Sep 2023 22:49:35 +0300 Message-ID: <83ediq56pc.fsf@gnu.org> References: <87fs36vvxl.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20206"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66159@debbugs.gnu.org To: Andrey Listopadov , john muhl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 22 21:50: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 1qjmAB-0004uj-FQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Sep 2023 21:50:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjm9z-0002CH-1R; Fri, 22 Sep 2023 15:49:55 -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 1qjm9v-0002C1-U1 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 15:49:51 -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 1qjm9v-0000LO-LZ for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 15:49:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjmA6-0002fD-Cy for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 15:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 19:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66159 X-GNU-PR-Package: emacs Original-Received: via spool by 66159-submit@debbugs.gnu.org id=B66159.169541218410212 (code B ref 66159); Fri, 22 Sep 2023 19:50:02 +0000 Original-Received: (at 66159) by debbugs.gnu.org; 22 Sep 2023 19:49:44 +0000 Original-Received: from localhost ([127.0.0.1]:37317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjm9o-0002ee-D4 for submit@debbugs.gnu.org; Fri, 22 Sep 2023 15:49:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjm9l-0002eP-IU for 66159@debbugs.gnu.org; Fri, 22 Sep 2023 15:49:42 -0400 Original-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 1qjm9U-0000In-V9; Fri, 22 Sep 2023 15:49:25 -0400 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=+RODHsUYzxQ2VG1Yk1t4c/IUitZV2TtBXZiSSHqhPbo=; b=eAIzOPL1j4SI IZv47vnKwSNUsjTzZy8QQrFHvwEDs9Pl3xgwKOu38bhPOCZQ0pnqt/AsGshFhgpKydk/2PuPBtQHQ 8W3h3Q2goIpTgEFeq2jzuFK+eJrWgJTVz5N6gkEU3NYttpU4cvXD49WpaQwM/P6rW4B0DZewp/mgj X2Nt6xPy74Bvk0aEZDIVh9x5L8PFwADvJhAESx4LJDJkPNqhhIVPG7FZunz1xbeVYWWtgicpXTKKk vAInu2vqvd9/o2jzXckQh+eh0C5cuO61Pz1M3zsj0hDEY+BjbO5dCNr/N3SPKuqsagd0r/3E4Ijkz 3TO/m4BfQ7NaP9tmEDZGFA==; In-Reply-To: <87fs36vvxl.fsf@gmail.com> (message from Andrey Listopadov on Fri, 22 Sep 2023 22:17:55 +0300) 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:271123 Archived-At: > From: Andrey Listopadov > Date: Fri, 22 Sep 2023 22:17:55 +0300 > > > I've been editing Lua using the long-existing lua-mode[1] and it works > well enough for me, but it's indentation implementation is very slow. > Indenting a file with just 600 lines takes several seconds on my > machine. So when I saw that Emacs now features a lua-ts-mode package in > its core, I tried to move to it, in hopes that it would be faster. > > However, a lot of code is now indented differently, not how I used to, > and this creates a lot of noise in commits, as I often re-indent the > whole buffer before saving the file. Here are some examples. John, could you please look into this?