From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59617: 29.0.50; Add indent styles to all tree-sitter modes Date: Mon, 28 Nov 2022 14:41:57 +0100 Message-ID: <87v8mz9owq.fsf@thornhill.no> References: <87r0xp4k4p.fsf@thornhill.no> <87r0xo0xz0.fsf@thornhill.no> <87tu2jo98h.fsf@thornhill.no> <83v8mznu3b.fsf@gnu.org> <87y1rv9ruh.fsf@thornhill.no> <83k03fnrcm.fsf@gnu.org> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 59617@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 14:44:04 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 1ozeQV-00083J-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 14:44:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozePg-0002aB-QD; Mon, 28 Nov 2022 08:43:12 -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 1ozePY-0002Rz-9W for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:06 -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 1ozePW-0007i9-Ou for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozePW-0004TX-Kk for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:43: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.166964292917175 (code B ref 59617); Mon, 28 Nov 2022 13:43:02 +0000 Original-Received: (at 59617) by debbugs.gnu.org; 28 Nov 2022 13:42:09 +0000 Original-Received: from localhost ([127.0.0.1]:48681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeOf-0004Sx-1N for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:42:09 -0500 Original-Received: from out-114.mta0.migadu.com ([91.218.175.114]:37090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeOc-0004Sr-OX for 59617@debbugs.gnu.org; Mon, 28 Nov 2022 08:42:07 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1669642925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8tmTt0xmw77V8hNtu/RyPdoVo8miNUn537CGmBLKCKg=; b=fdaWqdT2nshCOI1nXYBr4qO5B8H3ZAq0Dx3dCD1Fr00g6YBhJe+iFLAJ1K7GuP4y7QOWk4 oYi1rb7t6iL/186pAlFbJD9ctIxbGbYz97+ElWgqJsj0Lj1rOi1OLwpDQauQ7naqg2wVh1 BPE4H1Tg2RTdfH+LzrK8QEqaUzrPN90i6vNrxzYVWjiVRrja5dBCAHMbTgK0t/JC30md5g q8N9LmSKjgLUt+iJOfos+9Fm7hGWPUuyGYWeEQRME9f5eIBFhCqvAnemjGwfFf57edr1aJ 3JzcdZBbHQmnuJodchEFp8ZQMicDkRHRg0jgyCW950G+zwa9BqKL82E32NjhSw== In-Reply-To: <83k03fnrcm.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT 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:249299 Archived-At: Eli Zaretskii writes: >> 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. > Ok, I can supply some more styles. This bug or a subsequent bug? >> > 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! No problem. Theo