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: An anonymous IRC user's opinion Date: Wed, 06 Nov 2024 14:15:39 +0200 Message-ID: <86ses4sglw.fsf@gnu.org> References: <86plo8369c.fsf@gnu.org> <63edeeea-1f24-4d3b-abc8-b96b164942e4@gutov.dev> <8634l1zsej.fsf@gnu.org> <9a8b97f8-def3-43ce-b71b-1f09bb05afd4@gutov.dev> <86cyk4vcld.fsf@gnu.org> <86ttdgthg2.fsf@gnu.org> <86ed4kt2ws.fsf@gnu.org> <8e30fb5c-8e1b-4f73-98eb-50c5c396efb0@gutov.dev> <86ldyqsrax.fsf@gnu.org> <10864c02-4bfd-41c3-bb45-6fe1155f9676@gutov.dev> <867ca9shcw.fsf@gnu.org> <7cb15f5c-efd0-4516-8190-a53c0d958eb6@gutov.dev> <86ses8x1po.fsf@gnu.org> <865xp3w64u.fsf@gnu.org> <61171da3-7428-4572-bc13-783766a123b5@gutov.dev> <86v7x2u7rz.fsf@gnu.org> <86msidubg4.fsf@gnu.org> <867c9htwt7.fsf@gnu.org> <387887a4-ba19-485e-8805-d1aabe2058ff@gutov.dev> <86y11xsbil.fsf@gnu.org> <17465b85-430a-4e91-8b12-769b60181ada@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: johan.myreen@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 06 13:16:40 2024 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 1t8exj-0009fM-2h for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Nov 2024 13:16:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8ewt-0002rA-EX; Wed, 06 Nov 2024 07:15:47 -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 1t8ewq-0002qp-9j for emacs-devel@gnu.org; Wed, 06 Nov 2024 07:15:44 -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 1t8ewp-0000gW-Uj; Wed, 06 Nov 2024 07:15:43 -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=Rckmo8xMEqISWHBCALhdA5fhay71mZFmJa6XCnhfsyc=; b=gRQyDrHkvPCk y5pdsmxYA8iUpZohQgralz4fcKwnWdbrXuXZDhuu8DiUGaF1PIAw/wgeVPZP6DDKjeEtk+9fw4DRK 4dOTXmS4lsqYZFjdZAkqJnXIOdEDWSfq5T12eAZ69rISDw/hJo791zVGyrJUB4QT8VPM5/aQLxc4v vlxjVEbxK0nQ2Wl193qQhp7i6PsbdVCMI2WsZC8tjqgD2oFO3Y5+6sNdK4O5+x4BRyR7N7yzGD98n IGKA4TxzJ7H9IEKPfY4yBd92ywXZIyNrtcKeo5rwpoVjAXnTHiAMFhh9DRgeX/oI3WmD5gs/OWZi3 iGOjkoq+xyc6+zJPnmrHFw==; In-Reply-To: <17465b85-430a-4e91-8b12-769b60181ada@gutov.dev> (message from Dmitry Gutov on Tue, 5 Nov 2024 22:59:09 +0200) 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:325168 Archived-At: > Date: Tue, 5 Nov 2024 22:59:09 +0200 > Cc: johan.myreen@gmail.com, emacs-devel@gnu.org > From: Dmitry Gutov > > On 05/11/2024 21:53, Eli Zaretskii wrote: > >> Suppose we have this in css-mode.el: > >> > >> ;;;###autoload > >> (if (and (treesit-available-p) > >> treesit-modes-enabled) > >> (add-to-list 'auto-mode-alist '("\\.css\\'" . css-ts-mode))) > >> > >> And treesit-mode-enabled is originally nil. > >> > >> Then the user customizes it to t. > >> > >> What does its setter do? For css-ts-mode and other modes. > > > > It could turn the mode on in every buffer that visits a .css file. Or > > not. > > Based on which information? buffer-file-name and auto-mode-alist, I guess?