From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Make all tree-sitter modes optional Date: Fri, 17 Feb 2023 22:16:07 +0800 Message-ID: <87ttzkl6mw.fsf@yahoo.com> References: <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> <83pmaaaicy.fsf@gnu.org> <87y1owl8eg.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16395"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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 To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 17 15:20:57 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 1pT1bc-0003ze-As for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Feb 2023 15:20:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT1Zr-0004uF-CS; Fri, 17 Feb 2023 09:19:07 -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 1pT1ZP-0004YI-9A for emacs-devel@gnu.org; Fri, 17 Feb 2023 09:18:40 -0500 Original-Received: from sonic317-1.consmr.mail.ne1.yahoo.com ([66.163.184.228]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT1ZN-0005SE-2a for emacs-devel@gnu.org; Fri, 17 Feb 2023 09:18:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676643514; bh=zbgGuw9S68Zn70VEQJdqGm/VBbyA2CvwpHUSzqfH92M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=GBCEdtBDV8p4HeUdx5obXt+8QMcDeaTn1Jbtbo0zY60sF4lI/Jj8BITjUsss2bxbstimFNsMnacU8GNoJeLkveAeSRTjzosZrrz4ZDqUs8qPHHjvjjzIfLgdjqkxu9zDyvEwBYmkxm27DBqKhw/w2u1REvS2kuRyRccIE38sNo3qY5WtiePxuy0WLxJGtQn8TR1llggyLhLzM/sgaWwttlmNczmfobm90btIIo5i1QMG3RGizCYB39gdKVicBVq0l7RR4/yYIkGUbF0mGMdgCWpPPn3AnHZSDtF+mUZsH8DYQuN9hh9Ch5mcO3chMDbF9jHxgPM3sXrMQJpBaZ0e5A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676643514; bh=WNmuUyNwVKG1XT5SuTgGM3OtAzEHpAZEOedzgAq++bX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SisxSjXPS2UTdyPmtOFV4XYJ4/tc5fzE4LZo24JR6bTmVnKZG5o24GP448JI3BJ6mF1L4F/EAgyzJdROby53IoKV0cko8gqtaRPlULBjnae3sB5jSrQKhlp/qmFw7IzZ65y+xR2D1t5OACIMEPNH4AWO2x8CY6bxwTtNrl0+T1Akllxe8XEuA+90FhVNUtTzUOocmXpYJIx96pKoAG/wxORw5ZJuekMoMBc4f5HKI5i06LXJjIlM3IEzHHMTWHMd01rC2X3K1mdM2kXPHnW0SiouGR++4eg058322nB+MGnvHl/mMau6yoL7MpKBCuG9DqzCDN+Egld3dseFG6DiVg== X-YMail-OSG: gu7VHWkVM1ksTmXNFLFJHyYzezXMSe1sbR.CCjiXT0RJnwfTkMLAmKMF3WfHks2 ocZKuS7DTznOC670PJ06m5XwR_SlUhnRzSf5x0Baxb1beQ8Otaliy2ZmckoeN0rorB3PSV_YB8cg xs9MqzuA1kfn1_tq_0hK.2JVHtF99dV9J3UaRAaiwKQ.sjyF2sVCLgSbF.E3BSntY5DjOCMevv73 5sfZkazC.1USxFYxr6IssvPS9s__.prFsM3ptM52RbxsRhy.fJfZmmiG.S5jHp.Otu4GhYgLgm3f JPa40yNayZFithndZrfQZGTRN0_IzdTtoxQizQ0Fo2eqJuDY4dD4ghvYA4Pa3lszEhI6t5N8VZ6D 8dOA900azsDuHeIUkjJhNX8UL5LsyTU2wEjHieyah74meynxr8PJhf9lk8a18gGfX_LzacAqqwZW hCTF3FNvbFMcvg4febIGixyDT9vZ_vQSeO4kGyLBcNOHkXhwKX0wMSnXY8BKjyJfHbZjoRa6TWrf JBIVbcfGSUwkclBzW0pp29usuuFyLYMWZTRprNxllWW0bpu7SiGvHjxmdJZUbVwVraoxB9F1L5jd ppH7moFYgq_IoMZ9F1vLORWuCe2pk80Zr.sMk6oaVwJv_R_Y2vMO37V9YF0Ch4FGWXlXsU7TKxLY MGcpw2JZV1m47nJEwsDBEwfoudk3CZlUqBUqGH8Xs401i8G_WDmg49Fn5_vRGYFAJ9YKpMr6ScS5 3ZHO2O2tCYGvh0Om1MoOrnOCA2ZdUYgkOqqzI9JCIW5lOhwvvt8nD7aIGWLw_DyND.n_t4wz5fuw 7VkeDItxclAsHX_C1T8oGVqKt8eqr93FMyF_90bOAt X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 17 Feb 2023 14:18:34 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-ltdwf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 13a63d06c248ba6f3b31341a1d6f6cd9; Fri, 17 Feb 2023 14:16:32 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Fri, 17 Feb 2023 08:46:41 -0500") X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.228; envelope-from=luangruo@yahoo.com; helo=sonic317-1.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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: , 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:303486 Archived-At: Stefan Monnier writes: >> Does c-ts-mode make itself default upon being loaded, or does it make >> itself the default upon being first enabled? > > Upon being loaded. That is extremely nasty, especially for people who preload all (or most) Lisp libraries. c-ts-mode should be fixed before the pretest starts. It is not some small triviality that can be dismissed. Alan Mackenzie writes: >> Let me ask what I asked earlier, again? >> Does c-ts-mode make itself default upon being loaded, or does it make >> itself the default upon being first enabled? > > It makes itself default upon loading, even if that loading is only in > response to C-h C-f c-ts-mode. > >> The former has been a Bad Thing for as long as I can remember. > > Indeed. This means that if we release Emacs 29 as-is, the resulting Emacs will be broken. There is NO REASON asking Emacs to describe something should result in changes to auto-mode-alist.