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.devel Subject: Re: treesit indentation "blinking" Date: Sun, 02 Apr 2023 21:14:07 +0300 Message-ID: <83bkk6w3rk.fsf@gnu.org> References: <83mt3u65vw.fsf@gnu.org> <87y1newqus.fsf@gmail.com> <83bkka5z7w.fsf@gnu.org> <871ql6a4d4.fsf@gmail.com> <83jzyy4776.fsf@gnu.org> <9F152CAA-6326-459F-84FF-87988B3A92B6@gmail.com> <83ileew4su.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23061"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, casouri@gmail.com, theo@thornhill.no, geza.herman@gmail.com, dancol@dancol.org, emacs-devel@gnu.org, dgutov@yandex.ru To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 02 20:14:44 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pj2E0-0005n0-Fg for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Apr 2023 20:14:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj2DE-0004Pv-Q8; Sun, 02 Apr 2023 14:13:57 -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 1pj2DB-0004Ph-Dv for emacs-devel@gnu.org; Sun, 02 Apr 2023 14:13:53 -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 1pj2D8-0000GF-Fg; Sun, 02 Apr 2023 14:13:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HoIwzzvNUAIQiC2u8y9aUGz2akv8SJksZfeClvlgUZs=; b=FSQizGuWaL8AQN9Bj1vP BjEU1/tXe9DZ+xUN5UfjxmynD4YZWwn9JfSG+rVEuNLJp9GvkM7yvRGZnAhzVuQO8js2wUafFwhTJ R3iHLDTjClhl0w6JIGuJU8S22A2TlrBn2rcjhJQOLeseduMtyGwaNHal7HwRwUSDZ4FZEOXc/Wlhq AbNGzwc5/FI8qcqdGLjz5HUnDdTHZ/sPWNaksE+mGGVWw5AsJos8wSSiW0QmqBuD3sLDmJo6VMpQ+ fKzfRGgzMr46QJhILLIPcCi8SGhOnbRjw8efCqd+fCV11q4vwL0IH6iIGmbSg4bXbHVJMLF7TW9JS OtOo3agIowa7HQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj2D6-0003WW-O9; Sun, 02 Apr 2023 14:13:50 -0400 In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Sun, 2 Apr 2023 19:04:42 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305048 Archived-At: > From: João Távora > Date: Sun, 2 Apr 2023 19:04:42 +0100 > Cc: acm@muc.de, casouri@gmail.com, theo@thornhill.no, geza.herman@gmail.com, > dancol@dancol.org, emacs-devel@gnu.org, dgutov@yandex.ru > > On Sun, Apr 2, 2023 at 6:51 PM Eli Zaretskii wrote: > > > > > From: João Távora > > > Date: Sun, 2 Apr 2023 18:23:57 +0100 > > > Cc: Yuan Fu , Eli Zaretskii , > > > theodor thornhill , geza.herman@gmail.com, > > > Daniel Colascione , emacs-devel@gnu.org, Dmitry Gutov > > > > > > So you'd tone down electric-indent-chars, but that's been turned > > > down. > > > > Doing that _by_default_ was turned down. Users can still do that in > > their mode hooks if they want. So nothing is lost, since this seems > > to be heavily affected by personal preferences and by whether or not > > electric-pair-mode is turned on. > > I am precisely talking about the default state of c++-ts-mode. > I don't think there is anyone who really likes it at the moment. We need more opinions and feedback before we know whether and how to change the defaults. > This is regardless of personal preference w.r.t. electric indentation: > c++-mode's default state in that area is much more consistent. c++-mode's default state is not relevant to this discussion. It's a different mode with different design and different advantages and disadvantages. It also has much more history behind it. > Maybe I'm wrong, or maybe when these bugs are fixed, stock/default > c++-ts-mode will be better. Currently it is not so nice. Your opinions are noted.