From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: feature/tree-sitter: Where to Put C/C++ Stuff Date: Tue, 01 Nov 2022 06:44:38 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3931"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org, Randy Taylor , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 01 06:46:24 2022 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 1opk6S-0000ox-1F for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Nov 2022 06:46:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opk5K-0004GV-Im; Tue, 01 Nov 2022 01:45:14 -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 1opk5I-0004GN-RL for emacs-devel@gnu.org; Tue, 01 Nov 2022 01:45:12 -0400 Original-Received: from out0.migadu.com ([94.23.1.103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opk5F-0003TS-Mr for emacs-devel@gnu.org; Tue, 01 Nov 2022 01:45:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1667281505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Opko2YFW+YH8EBHRx16VidCSiylRQivye4fVpJD7jUE=; b=ZTM9MxNQQi8RJFg67vKeBZt9cdK9ssyduaq5F1KJfedjTpM2kIUQfrZ4ogr8FUxmUVvTp1 GVJH155ofE8TvbqtLVA3wISugIqgrapukXtzvOmj8EVDJYqS7DnWvhNzIUcRGJH28qGDfW hR6kW6vP09WZuRuFHqF8Zwmu5s9ah/db6DXOzlQwaJ4pGT3LwzJj5+Meuvk9LOSIrVmEzp dJK0CwnPJHrWR+1KrPMMTeGsB9XYstFSa5x8iQaz++cCzLsqxBTDJuZc7QiQl7TNSAjOTN KtOY6TYz7htLSl6UwuKDCkYW/MbqpUkQ4HboI64EAoHDYG7Nv/5RwxbSgWPCGg== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=94.23.1.103; envelope-from=theo@thornhill.no; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298904 Archived-At: On 1 November 2022 03:30:54 CET, Randy Taylor wrote: >Hi=2E > >Where specifically should the C and C++ tree-sitter stuff go? I've been u= sing it for a couple months and would like to upstream syntax highlighting = for both=2E I'll focus on getting C done first=2E > >I see there are a lot of cc- files; would it be appropriate to add the tr= ee-sitter stuff into a new cc-treesit=2Eel file? >Thanks=2E I'm no authority on the matter, but I'd love for us not to complicate thin= gs too much=2E I vote for separate, non-cc-prefixed _new_ modes, that deriv= es from prog-mode=2E I understand that this is a controversial opinion, but that's what I want= =2E I believe people will do that anyway if we don't=2E Theo