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#59617: 29.0.50; Add indent styles to all tree-sitter modes Date: Mon, 28 Nov 2022 14:26:16 +0200 Message-ID: <83v8mznu3b.fsf@gnu.org> References: <87r0xp4k4p.fsf@thornhill.no> <87r0xo0xz0.fsf@thornhill.no> <87tu2jo98h.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 59617@debbugs.gnu.org To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 13:27:10 2022 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 1ozdE4-000AUV-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 13:27:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozdE0-0004oC-Rn; Mon, 28 Nov 2022 07:27:04 -0500 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 1ozdDz-0004o1-98 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 07:27:03 -0500 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 1ozdDz-0001hU-00 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 07:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozdDx-0001VX-Ry for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 07:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 12:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59617 X-GNU-PR-Package: emacs Original-Received: via spool by 59617-submit@debbugs.gnu.org id=B59617.16696383735783 (code B ref 59617); Mon, 28 Nov 2022 12:27:01 +0000 Original-Received: (at 59617) by debbugs.gnu.org; 28 Nov 2022 12:26:13 +0000 Original-Received: from localhost ([127.0.0.1]:48288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdDA-0001VD-5a for submit@debbugs.gnu.org; Mon, 28 Nov 2022 07:26:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdD3-0001Uq-7J for 59617@debbugs.gnu.org; Mon, 28 Nov 2022 07:26:10 -0500 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 1ozdCx-0001Xc-RT; Mon, 28 Nov 2022 07:25:59 -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=yeOh/OVHAEN/x3Fgg1Rmv/KZC3EAv9okPh4h9ybPdLQ=; b=CkDOltn3ES+m Z6mmPp2799NcI0jialNYRCKOkdFIBU4ESf815OTcLkwqr9MhFrPtbnAANEvOQsFS66xHLPl03/wGc GE74OMsekBAYuKI5mQ/13bExY0usLQQ/msZxIbl0vSr6vIFB7WrJ+Jj0YDx0m6FrRPg8squpGNW/0 20l+uWtjvC7d2kWRGn859wkcztmA1xP2MiU52I4Gd68+KOxM5+pvIWWnqA9YlDzljwRS+xP8Mg6+V sLTChIYH7CkZjJivw+8NLj4hWeNI920gKGVodjmHgj2aWDmY8X9K99wxHEok9g+tLj7dlURVfPdcA veCy24FtQlCPENFk/G6sxg==; 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 1ozdCj-0005p9-1E; Mon, 28 Nov 2022 07:25:57 -0500 In-Reply-To: <87tu2jo98h.fsf@thornhill.no> (bug-gnu-emacs@gnu.org) 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:249286 Archived-At: > Cc: Yuan Fu > Date: Mon, 28 Nov 2022 07:59:10 +0100 > From: Theodor Thornhill via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Theodor Thornhill writes: > > > Fixed a typo - see this patch: > > > > Rebased the patch on top of origin/master: > > What do you think, Yuan? FWIW, I consider user options that require functions as values not a good UI. Many users, especially newbies, will not be able to use such options, because they cannot come up with functions that do what they want. It is okay to have a function value as one of N alternatives, where N > 5, say, so that such users could still choose from "simpler" values, where the "function" was pre-arranged by us for them. But having just the default and a function is definitely not good enough IMO. Cannot we come up with a couple of popular styles for each language, and have those styles ready to be selected by simple atom values in the defcustom? Thanks. P.S. Btw, what about other indentation-related facilities, like "C-c C-q" in CC Mode?