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?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#62412: 29.0.60; strange c++ indentation behavior with tree sitter Date: Sat, 25 Mar 2023 17:53:23 +0000 Message-ID: References: <2496F2A0-3EB1-4CD2-B299-E1DC41B7C23B@gmail.com> <46A6C705-97DA-4D17-999B-0536F01EFCA7@thornhill.no> <72d72cd6-4fa8-2df3-f45d-5bf5845e4f38@gmail.com> <87o7ogx0jc.fsf@gmail.com> 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="31087"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Theodor Thornhill , 62412@debbugs.gnu.org To: Herman@debbugs.gnu.org, =?UTF-8?Q?G=C3=A9za?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 25 18:52:23 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 1pg83z-0007sR-H7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Mar 2023 18:52:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg83f-0006CV-FR; Sat, 25 Mar 2023 13:52:03 -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 1pg83e-0006CJ-En for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 13:52:02 -0400 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 1pg83d-0007aB-VR for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 13:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pg83d-0008K6-QH for bug-gnu-emacs@gnu.org; Sat, 25 Mar 2023 13:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Mar 2023 17:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62412 X-GNU-PR-Package: emacs Original-Received: via spool by 62412-submit@debbugs.gnu.org id=B62412.167976670131966 (code B ref 62412); Sat, 25 Mar 2023 17:52:01 +0000 Original-Received: (at 62412) by debbugs.gnu.org; 25 Mar 2023 17:51:41 +0000 Original-Received: from localhost ([127.0.0.1]:43438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg83J-0008JW-1X for submit@debbugs.gnu.org; Sat, 25 Mar 2023 13:51:41 -0400 Original-Received: from mail-oi1-f174.google.com ([209.85.167.174]:39850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pg83H-0008JJ-0e for 62412@debbugs.gnu.org; Sat, 25 Mar 2023 13:51:39 -0400 Original-Received: by mail-oi1-f174.google.com with SMTP id bk5so3532283oib.6 for <62412@debbugs.gnu.org>; Sat, 25 Mar 2023 10:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679766693; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xZdK+jKcsVHGV7piHqT6or9uOvnv13jzFCOKc1p7Bp4=; b=GmVmtL0TC2eUEQ9QAc3K0m21Td6gHskL+nbetCy0d+U3OX9CMxOr2nVMXNvQgBSqg+ hF/7Koi3A6Fu4xgeS5gjnUER734wW0lUK8VDSWNIN6g5nmEWKDWiAFiE8KhqYoGkZyKD 8taH3HzIWwtm1k+1amqUAnxj2+FO4iBch04Z7augwJURz+E3jfPMMsicoT5B6omJJhTg btg1fQxeItahl+eVMsPa0LV3tse5jPPJJNiNUbltUiyX/ITuNup9LDOgpmzHQXC11t6U k9jqpGtB12GcbiKhzNk34fPPAN0CAHJiW7AQ03yqrlFCBmzI2AMwJT2FMVCzVJJ+LMmn fdyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679766693; h=content-transfer-encoding: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=xZdK+jKcsVHGV7piHqT6or9uOvnv13jzFCOKc1p7Bp4=; b=MGvwTI6uoQvA595ZQsnBJDrYNf3vmkkqd1vytbjrjqBIr8fMF/CorPIfFnJNWpGszE M1ArSa5r/RZyTulIgSK8b2kPX7G4MCu2iNv7D+WwTIlHuEbqQbietj1a2K5jENjfKB82 XzxYXpHvjeo5Vc4IAdI1sBfkuK+wCkW4yogEXDy3IWLRB5RMvpBX7JfG50mJ7m9me8dS F33olsanjLh0rgqGa5hnKH+rKDTSiVRV47ZBA7BzxO35m27xHBxeqnwD2xJ9pBIiJs9F YmiyGwNEH70/Hir8I2muKNLQ+lBymAx+eBlspoZrTyf47tt+9EeQqJb+bDUEPMVwflnh EMhg== X-Gm-Message-State: AO0yUKVRFF4Ot5F1uaj55pVJy9YZVqAuq15xzh2AlN1+nHgjK1YZ1qLn HJ6Q3Jg3ZvL5SmAUDG2kAGZ6i1RgBgwtPk5ydq8= X-Google-Smtp-Source: AK7set9oRLOsEKvIYtwUFESrsyujXzrdbg3EJsDEOTuhSQUvq4nhRDcxFLNtU2bHobYhXq0PwdcxG8jto1/7UzaNE70= X-Received: by 2002:aca:6508:0:b0:384:420d:6671 with SMTP id m8-20020aca6508000000b00384420d6671mr2156381oim.5.1679766693075; Sat, 25 Mar 2023 10:51:33 -0700 (PDT) In-Reply-To: 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:258612 Archived-At: On Sat, Mar 25, 2023 at 5:47=E2=80=AFPM Herman, G=C3=A9za wrote: > So if the aim is that the two c++ modes > should work similarly out of the box, then it'd make sense to keep > electric-indent-chars as is. Only _if_ it is generally understood that c++-ts-mode's heuristics are worse. And only _then_ if they can somehow fixed to become better. Until these conditions are satisfied, I think electric-indent-chars has to be left alone. Jo=C3=A3o