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: Tree-sitter doc question Date: Thu, 08 Dec 2022 17:44:08 +0200 Message-ID: <83y1rh294n.fsf@gnu.org> References: <20221208141247.36l2j3bxggslsykl.ref@Ergus> <20221208141247.36l2j3bxggslsykl@Ergus> <83a63y2c6m.fsf@gnu.org> <20221208145246.3iq7ehnxdii5xgqq@Ergus> <835yem2bal.fsf@gnu.org> <87tu26rklo.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2345"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Felix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 08 16:44:40 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 1p3J4h-0000Mu-50 for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Dec 2022 16:44:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3J4S-0002Bp-Os; Thu, 08 Dec 2022 10:44:24 -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 1p3J4N-0002BM-8e for emacs-devel@gnu.org; Thu, 08 Dec 2022 10:44:19 -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 1p3J4L-0005bp-Dk; Thu, 08 Dec 2022 10:44:18 -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=0jhmkjdRAEZ9VawYPmNPDpt6caLdDPxMstCgux8s5c0=; b=qt0yYQaSOt06 RusG6PG1g0Bfm/eMQwt8DsAE8ohdPLScP0w8YY7IJs7ygQ/56WIeKeGJqawUSKsbQgEPGmOqoclON PyfZERf9aU5hDPHu6QitzujqJxY5HC/YDLiw+cdFbbO1x6BYiDugrHfz5lpaAFpnvWb07nFLmKp31 Hb71WsTKJ3vm8GdfdNs+9rPUzGG5bIR+ZU9gkaY3oHtE0ANIuQcJ01bux8rEPObwyW0xpDDq9C8BE 6uH3iYjdjz6HNMqb8IaozVt+IL8Y1kYGHbug6BTT1ZCU+qHigDrcmA4iD4wGtrW0bdh5FXUCjmFaB b/Ystjkzqqj4wmRYp5fZZw==; 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 1p3J4K-00041a-2o; Thu, 08 Dec 2022 10:44:17 -0500 In-Reply-To: <87tu26rklo.fsf@web.de> (message from Felix on Thu, 08 Dec 2022 16:08:39 +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:301044 Archived-At: > From: Felix > Date: Thu, 08 Dec 2022 16:08:39 +0100 > > What would be the recommended way to enable the *-ts-mode for a certain > language? Change auto-mode-alist in your init file. For example: (setq auto-mode-alist (append '(("\\.[ch]\\'" . c-ts-mode)) auto-mode-alist))