From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: Make all tree-sitter modes optional Date: Thu, 16 Feb 2023 09:49:15 +0000 Message-ID: <87edqq3ppg.fsf@tcd.ie> 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> <83cz6aaeys.fsf@gnu.org> <837cwiae2c.fsf@gnu.org> <83r0uq839h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15951"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , 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: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 16 10:50:21 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 1pSauD-0003sf-0J for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Feb 2023 10:50:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSatS-0008Pf-Nr; Thu, 16 Feb 2023 04:49:34 -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 1pSatQ-0008Ks-8F for emacs-devel@gnu.org; Thu, 16 Feb 2023 04:49:32 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSatL-0000vJ-Rj for emacs-devel@gnu.org; Thu, 16 Feb 2023 04:49:31 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id j29-20020a05600c1c1d00b003dc52fed235so1160720wms.1 for ; Thu, 16 Feb 2023 01:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aAu+ybwYsadYynPlZjZ8QnGh8mFejdAFOZlH46Iu4Kc=; b=DsL/6DKQXfHGhpCbw2MGHklcIhym45CwivlUcTUpcUDLN1Fwl8Xss/tL1cN/sRlxqY XH2zrjk+iE5w8w2RU5SxYhAlkIiSmpC9OjmjN+6YYrAi1P3PFQ7+rfjhbwx7g9dA/im6 aXiDVgI8yEOqU2u7zWGD0Zzyih5CZZ7YhLM4aS37CFeGhOzv3TOt38OhdPjOWZecNEZR ujDvy2MdERYUbO6U1aWqK46a6FPMVj7rVljnKOffwMzBL9IvInNMJB44j0qW02rLtv2H jPynx9gy+0RAn2HBa5Cqz8p6oXhOdSxfUPIX0AUtJIv0V2A3tcLp/neNz8kKDFA2lF1x GAZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aAu+ybwYsadYynPlZjZ8QnGh8mFejdAFOZlH46Iu4Kc=; b=K4ghZP2bnKVr5thSwHiVHR5z6PY+q8TikZiRkS7ALIlxZmhcmC6CsFusbMCv2cA0Lk iU1YEz2+ihkzhXLpMqtPRRTOuLo4R1L0jRKM7J46OxdowkxBYUGENqLlk1vB1EOY2mkf BmqvU+NBEJIhWETIhXGYP4C6AEksqKyqK1VaPwC8Vc195A6umJvI6Lw1r3PmqGS67O6b 1EheQ+xpM1BYMnSlQu1COs7ofdQebgYOtH6zmmoeHxZMTu48Wkg9OwxG4wSJhYUqwBg6 d0cBETfFjoxmO7wHIsGU7uXf7nKsNKTdJkbo9OnjY8Ilo7mHuyrouaWR2l0F4j/7Mjxx TrVg== X-Gm-Message-State: AO0yUKWyXu/NPDdh+6zVRzMOOp9utJHk/SQVcdwXwR9Z/tFZohsjz+71 BtWOtDCU/34Qsi+MYfi36tj4SQ== X-Google-Smtp-Source: AK7set//jXPt/CkLT2QkxlGORnQ4VY+24SYr0ttcoPjKkBHq/FnYjUE85uqSAm3ZNwSXog4KLIjxaw== X-Received: by 2002:a05:600c:4452:b0:3da:2a78:d7a4 with SMTP id v18-20020a05600c445200b003da2a78d7a4mr4246200wmn.21.1676540956952; Thu, 16 Feb 2023 01:49:16 -0800 (PST) Original-Received: from localhost ([109.78.105.65]) by smtp.gmail.com with ESMTPSA id 7-20020a05600c028700b003e214803343sm1052774wmk.46.2023.02.16.01.49.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 01:49:16 -0800 (PST) In-Reply-To: <83r0uq839h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 Feb 2023 09:42:50 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=contovob@tcd.ie; helo=mail-wm1-x32e.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , 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:303390 Archived-At: Eli Zaretskii [2023-02-16 09:42 +0200] wrote: >> From: Stefan Monnier >> 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 >> Date: Wed, 15 Feb 2023 16:04:23 -0500 >> >> E.g. just `C-h o c-ts-mode RET` or `C-h o c-ts TAB` is enough to load that file. > > That's an existing problem that should somehow be fixed, if we > consider "C-h o" a popular command used by many users (I don't > consider it that, and fail to see why someone would even think about > doing that). C-h o is just a convenient union of C-h v, C-h f, etc. The same problem exists with C-h f: 0. emacs -Q 1. C-h f c-ts-mode RET [ or C-h f c-ts TAB C-g ] 2. M-: (car auto-mode-alist) RET => ("\\.h\\'" . c-or-c++-ts-mode) I understand that this situation compromises between various drawbacks that I do not fully grasp, and I know how I'd work around this issue if it bothered me, but I still find it unfortunate that an opt-in feature is only sometimes opt-in for the average user. Thanks, -- Basil