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: Sun, 22 Jan 2023 08:38:31 +0200 Message-ID: <83y1pvjcpk.fsf@gnu.org> References: <83a62dobfi.fsf@gnu.org> <83o7qtm33d.fsf@gnu.org> <83o7qskt0d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 22 07:39:06 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 1pJU0P-0002ja-H0 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Jan 2023 07:39:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJTzp-0007cr-Gy; Sun, 22 Jan 2023 01:38:29 -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 1pJTzn-0007cV-LY for emacs-devel@gnu.org; Sun, 22 Jan 2023 01:38:27 -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 1pJTzn-0006Hk-5S; Sun, 22 Jan 2023 01:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Zdd0WOydGBoKTWtrRWEd+1q7AOceDZjQg2rGvamZ1xA=; b=iyA6WCcmtxVGseX5301m Aj5ce3sPIooSP8XsJwR4+iUxnp7wc8q2V7CVG+1ynUC0NkI2YQypnZaHbGZtQJMBdTg+mGcjWzS3P Sf7Zr4qnZLhHUvbMf7Tbo0VlOELGX/hYjvt+kVIrq7J4qDJfMfLKMv0/oUZA9vjPfJAHDQ6JGv/8s 0ymGjq6Aoa6R6XWfQ8jNUtPDE5IlIHvWr5oFdPEheU6UvBpfTE0iAvlcoQ5lgeSfu4QzAMjJHo/xN LZ4jFJTEw7YYku4xo93I4DHwR2UjKWbgv3bG9BVJpkzCLZ7kCSTRIB2DmuUVh2NuPNMQcZfOjgH0P pLLD+hD0ghStxg==; 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 1pJTzl-0003MX-U0; Sun, 22 Jan 2023 01:38:26 -0500 In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Sun, 22 Jan 2023 07:23:17 +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:302597 Archived-At: > From: Pedro Andres Aranda Gutierrez > Date: Sun, 22 Jan 2023 07:23:17 +0100 > Cc: emacs-devel@gnu.org > > Eli writes: > > What message? I asked to show these messages before, and I didn't see > > your answer to that question. We don't intend to have Emacs show any > > such messages just because you don't have tree-sitter installed. > > Just try M-x c-ts-mode and you'l get this message *four* times (side question, isn't one enough?) > > ⛔ Warning (treesit): Cannot activate tree-sitter, because tree-sitter library is not compiled with Emacs Thanks. This is an issue we know about, it will be fixed soon, probably today or tomorrow. > Another question: If I can't use the command, wouldn't it be better if I had no access to it? The way Emacs implements the "you have no access to the command" is by signaling an error when/if you try invoking it. So we are okay in that department.