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: Thu, 10 Oct 2024 09:36:07 +0300 Message-ID: <868quw31ns.fsf@gnu.org> References: <87plodsjsd.fsf@web.de> <865xq14dwp.fsf@gnu.org> <343c4d04-af53-4da2-9d1c-c616c74821e1@gutov.dev> <86plo8369c.fsf@gnu.org> <87r08ov8sn.fsf@debian-hx90.lan> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31869"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, johan.myreen@gmail.com, emacs-devel@gnu.org To: Xiyue Deng Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 10 08:37:05 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 1symnJ-00086f-3d for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Oct 2024 08:37:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1symmc-0005ej-5f; Thu, 10 Oct 2024 02:36:22 -0400 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 1symmY-0005eR-Mk for emacs-devel@gnu.org; Thu, 10 Oct 2024 02:36:18 -0400 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 1symmX-0002P3-Ha; Thu, 10 Oct 2024 02:36:18 -0400 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=SwSXux8BPMZDSngpzJRGCUUkmxejnbrFQvs+kWUBXO4=; b=BUDPa4bkHxTz gbu+DR2970dDA2eyxcEnRxWJOS7d1IaSDDXr+D+MNp+DIjM9RRJacKDZ3Qgncn+wReTF0neq5wnN7 7kuWdVGn5yGd6Sse/5znIvFdNjb7qLm5fZFWcxUvkycQtu+5nayYqEyZmgOsKtgEHxW+ERM+bZWnC YKZUooZqZDvHynkalhpcICV+FwfD+hqpD0PL11Kczz+G75pv7M+JBLbXnw/t+kCtR5E0LtYvh+beF xshsmRAOizQSndp2Jtu9iMWcKkPdKmuin9tp9VMuXNe3BpjaxKONwdrPcV6+2WaBmuz+WQblckwED qRApuGBr6elhKjmP3DDs4A==; In-Reply-To: <87r08ov8sn.fsf@debian-hx90.lan> (message from Xiyue Deng on Wed, 09 Oct 2024 22:14:32 -0700) 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:324476 Archived-At: > From: Xiyue Deng > Cc: johan.myreen@gmail.com, emacs-devel@gnu.org > Date: Wed, 09 Oct 2024 22:14:32 -0700 > > Eli Zaretskii writes: > > >> Date: Thu, 10 Oct 2024 00:25:40 +0300 > >> Cc: emacs-devel@gnu.org > >> From: Dmitry Gutov > >> > >> On 09/10/2024 16:13, Eli Zaretskii wrote: > >> > rust-ts-mode is part of > >> > Emacs, and could be turned on automatically when a Rust file is > >> > visited; we didn't do that because we are unsure whether users of an > >> > unbundled Rust mode will protest > >> > >> That seems unlikely: as long as the auto-mode-alist configuration for > >> rust-ts-mode is done early on in Emacs's startup, any installed 3rd > >> party package such as rust-mode would add its config later, and thus > >> have priority. > > > > I don't have objections to making Rust recognized automatically and > > activating rust-ts-mode, if people think this danger is low or > > non-existent, and if *.rs files are not commonly used for something > > completely unrelated (e.g., I see on my Windows system quite a few > > *.rs files that seem to be some kind of Windows data files). > > > > One thing to be cautious is that all *-ts-modes require tree-sitter > syntax libraries to be available to use, which are not shipped with > Emacs. If a required grammar library is not available, the user gets a warning. So what is the problem here?