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 15:25:29 +0200 Message-ID: <83k03fnrcm.fsf@gnu.org> References: <87r0xp4k4p.fsf@thornhill.no> <87r0xo0xz0.fsf@thornhill.no> <87tu2jo98h.fsf@thornhill.no> <83v8mznu3b.fsf@gnu.org> <87y1rv9ruh.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22448"; 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 14:26:35 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 1oze9a-0005cJ-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 14:26:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oze98-0004QJ-8x; Mon, 28 Nov 2022 08:26:06 -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 1oze95-0004Pt-MZ for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:26: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 1oze95-0004G5-2R for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oze94-0004K8-Tl for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:26:02 -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 13:26:02 +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.166964190616604 (code B ref 59617); Mon, 28 Nov 2022 13:26:02 +0000 Original-Received: (at 59617) by debbugs.gnu.org; 28 Nov 2022 13:25:06 +0000 Original-Received: from localhost ([127.0.0.1]:48594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oze89-0004Jk-VO for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:25:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oze88-0004JE-H6 for 59617@debbugs.gnu.org; Mon, 28 Nov 2022 08:25:04 -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 1oze83-0003kg-9D; Mon, 28 Nov 2022 08:24: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=JDg6lqanx9S5iEQMFoCNaNOVLN3Krz5eaCzmem8f9us=; b=P2EP1mNBBknq FS9fSC7sk28rZ+pY/PoB9EJ2ihZt5raw0v1XFGW49zXp7gA7FqymZ1gtRPxrCM1J3W9O5Q5NmhZ6P W9WXtk7LjDu1z1oUvvpiBjnoGl7mo62mtz6JsSA+/uLeA/z5+tAehXy/mWHvG3lTlioG177iAS4Da 0PujDhbaXB429cmcw2NOJ+3UDyUKRXJ77GviZ+LrOSe2y6yX3pV8VbBAxac1E6a5CgPo1vs/+9ZNU rJof+JGNaP+wmL9W0nUF8VfWDa6fXmXp3jG3Kibt5RcPxP/A25a2TCsor6zTM9MQQJUKvFqQpsbxI dp/EOpIV80+TWj7YKmzacw==; 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 1oze82-0007Df-FZ; Mon, 28 Nov 2022 08:24:58 -0500 In-Reply-To: <87y1rv9ruh.fsf@thornhill.no> (message from Theodor Thornhill on Mon, 28 Nov 2022 13:38:30 +0100) 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:249296 Archived-At: > From: Theodor Thornhill > Cc: 59617@debbugs.gnu.org, casouri@gmail.com > Date: Mon, 28 Nov 2022 13:38:30 +0100 > > > 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? > > > > I guess we could, but most other languages provided here have a pretty > standard coding style, IIRC. Only one standard style? I'm surprised. Even if the variations are much less popular, they still deserve to be supported OOTB, IMO. > Not saying it's not any variations. This is meant mostly as an escape > hatch if needed, so that a user _can_ provide their own indentation style > should they need it. If we don't expect anyone reasonable to try that, fine. But if we do (and a defcustom seems to say we do), then I'd provide a couple of other styles, even if they are used much more rarely. > > P.S. Btw, what about other indentation-related facilities, like "C-c C-q" in > > CC Mode? > > I'm planning on making those, yes Thanks!