GNU bug report logs - #62412
29.0.60; strange c++ indentation behavior with tree sitter

Previous Next

Package: emacs;

Reported by: "Herman, Geza" <geza.herman <at> gmail.com>

Date: Thu, 23 Mar 2023 20:44:02 UTC

Severity: normal

Found in version 29.0.60

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 62412 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Herman, Géza <geza.herman <at> gmail.com>
Cc: Yuan Fu <casouri <at> gmail.com>, Theodor Thornhill <theo <at> thornhill.no>,
 62412 <at> debbugs.gnu.org
Subject: Re: bug#62412: 29.0.60;
 strange c++ indentation behavior with tree sitter
Date: Sat, 25 Mar 2023 17:53:23 +0000
On Sat, Mar 25, 2023 at 5:47 PM Herman, Géza <geza.herman <at> gmail.com> 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ão




This bug report was last modified 1 year and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.