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: Make all tree-sitter modes optional Date: Wed, 15 Feb 2023 21:47:07 +0200 Message-ID: <83cz6aaeys.fsf@gnu.org> References: <83o7rexe2n.fsf@gnu.org> <83h6x5xym7.fsf@gnu.org> <83h6wr6gmz.fsf@gnu.org> <868ri140sr.fsf@mail.linkov.net> <83fsc92gbz.fsf@gnu.org> <83cz6ccagy.fsf@gnu.org> <838rgzaqmj.fsf@gnu.org> <7bad77ae-a176-d49b-5115-dbadf7e6d1bc@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39086"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, acm@muc.de, juri@linkov.net, casouri@gmail.com, larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 15 20:47:54 2023 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 1pSNku-0009ux-Oi for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Feb 2023 20:47:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSNkd-0007Va-94; Wed, 15 Feb 2023 14:47:35 -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 1pSNkY-0007Qv-HU for emacs-devel@gnu.org; Wed, 15 Feb 2023 14:47:30 -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 1pSNkX-0005Bt-Hd; Wed, 15 Feb 2023 14:47:29 -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=2wKspY9cxUPYb28r6weYRTeenXSsL2Ee7mEMl9dPBG0=; b=GdUK5y5m90em YsLpMZKooic40KrpGP9MNoxxptDsnZikvJA+yq0EB6jlfjeL3G9XreDicoEEvZ81qOqMohba4E/EB rayR1vfa9uo08KRV4aYTbnNTjCUX1LgsSSN73sDhoRFdPcOCNF0ruYoW6NQBHyIwQVtbnCV8y3gug j0GQZxiis9kohdxT1v1itUKBnBGwktrSQotGYRXBNqzV1ylhnU2OS6NGEidXcal/B/S0Iw2v1iZBw 9lEyb5zT7KUTEloSGOkG5ydl/NBQN2dc//4bxmLSPGXLoCSPwo+qy5tse6fBI+czTxULX94IAy7pc WzPNaOfYku3w/5L0blDelw==; 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 1pSNkU-0008Dh-KH; Wed, 15 Feb 2023 14:47:29 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 15 Feb 2023 14:26:25 -0500) 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:303336 Archived-At: > From: Stefan Monnier > Cc: Alan Mackenzie , Eli Zaretskii , > juri@linkov.net, casouri@gmail.com, larsi@gnus.org, theo@thornhill.no, > jostein@secure.kjonigsen.net, emacs-devel@gnu.org > Date: Wed, 15 Feb 2023 14:26:25 -0500 > > > That would make this disruptive behavior even less useful, though, because > > one of the suggested ways to use it was to add (require 'c-ts-mode) to the > > user's init script -- to have the auto-mode-alist settings applied. > > We should never recommend (require ) as a way to change Emacs's > behavior, since it directly conflicts with our convention that loading > a file should not significantly alter Emacs's behavior. We never do -- except in this case. Practical considerations trump elegance, at least sometimes.