From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dmitry Gutov" Newsgroups: gmane.emacs.devel Subject: Re: An anonymous IRC user's opinion Date: Sun, 13 Oct 2024 17:31:33 +0200 Message-ID: References: <87plodsjsd.fsf@web.de> <865xq14dwp.fsf@gnu.org> <343c4d04-af53-4da2-9d1c-c616c74821e1@gutov.dev> <86plo8369c.fsf@gnu.org> <63edeeea-1f24-4d3b-abc8-b96b164942e4@gutov.dev> <8634l1zsej.fsf@gnu.org> <9a8b97f8-def3-43ce-b71b-1f09bb05afd4@gutov.dev> <86cyk4vcld.fsf@gnu.org> <86ttdgthg2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=1dbee2849f52426d9b31726be30f4af3 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39360"; mail-complaints-to="usenet@ciao.gmane.io" Cc: johan.myreen@gmail.com, emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 13 17:32:57 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 1t00aU-000A0U-N7 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Oct 2024 17:32:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t00Zk-00058y-WF; Sun, 13 Oct 2024 11:32:09 -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 1t00Zj-00058X-UV for emacs-devel@gnu.org; Sun, 13 Oct 2024 11:32:08 -0400 Original-Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t00Zh-0000dL-Ko; Sun, 13 Oct 2024 11:32:07 -0400 Original-Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id CFD33138014F; Sun, 13 Oct 2024 11:32:03 -0400 (EDT) Original-Received: from phl-imap-04 ([10.202.2.82]) by phl-compute-06.internal (MEProxy); Sun, 13 Oct 2024 11:32:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1728833523; x=1728919923; bh=ewe2kPUDim Dz4SRdRNXnJNu3i5XcgIJEwMCM9apayik=; b=DqOWp9TMD7KUMsNwXuaxVKm71t SWkCOHlGtJSZ7KPgtobZTD9ul/s9DDK/JVb4EH0kRhHyAk+e00rrgqZgDGXr89cZ YTci1LoUxtjETZdMDJPY3XEI8FF3Lyen3oBV9KV8mW4sY8vWKOqILFcMDnEmp7xA kYK4CBXb3dBqEb/ZAEWBB+omdmcWHmf8tjtsSC27r3dzewfepyH4HBrv0OsBq3z7 j4f3RDf6LnY+ZDV9i2DAOQzkD/QZFiZDmbGjpUPTLtDQvj589XhjBBaX+4cubHam RhR9BP8+lFM8XFgTBrBTySBBaqjfobCfRSyAPWO5kUIELRkVIwN0Ix625AGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728833523; x=1728919923; bh=ewe2kPUDimDz4SRdRNXnJNu3i5Xc gIJEwMCM9apayik=; b=HV2nsisE1g63KobML1HKr2Z6DtjUtelZ6KIQ2Ely2sFo 5bLfQb1lmgD5Gi1LvOHPS62D0Owq6tR7ZdSbgNRuqs5mOqXWiwvqFP+i4Yb3g6y5 DppfbyaySzvl2LEJ1u13yx8/zYB3crcsrzHI7eaqfs3a9g820gA0tfUr997f2qTo 8gUW14yIGU0ucyNiv/hHaUfSnxn8AKDhtBhKpSm3x2pmzRnSGErB66cEdUBg8ZYQ /axRMIALSH9p5p2xHD+A2GlO7N4Y99+szi0cuc4oF98NQl/33xjOKA1AjgyW6grH u7ZHJhvMKDQDfmVa6uOHurdKXpJIHqvDOkE5qX3l+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegfedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgesrgdtreerredttden ucfhrhhomhepfdffmhhithhrhicuifhuthhovhdfuceoughmihhtrhihsehguhhtohhvrd guvghvqeenucggtffrrghtthgvrhhnpedtgfffkeehfeeuhedvtddvvefgteevhefhiedt ieehkeeitdfhkeejtdehieduteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhohhgrnhdrmhihrhgvvg hnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghp thhtohepvghmrggtshdquggvvhgvlhesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mailuser.phl.internal (Postfix, from userid 501) id 926132E60084; Sun, 13 Oct 2024 11:32:03 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <86ttdgthg2.fsf@gnu.org> Received-SPF: pass client-ip=103.168.172.149; envelope-from=dmitry@gutov.dev; helo=fout-a6-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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:324547 Archived-At: --1dbee2849f52426d9b31726be30f4af3 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, Oct 13, 2024, at 12:39 PM, Eli Zaretskii wrote: > > Date: Sun, 13 Oct 2024 12:37:38 +0300 > > Cc: johan.myreen@gmail.com, emacs-devel@gnu.org > > From: Dmitry Gutov > > > > > It is not clear which modes you suggest that should behave like that. > > > Surely, not all of them, i.e. including those for which non-TS modes > > > are part of Emacs? > > > > I don't have a strong opinion on which set should be enabled - maybe > > just all TS modes which we don't have built-in counterparts. Maybe not > > even toml-ts-mode, since there is conf-toml-mode. > > > > Maybe make some exceptions for TS modes that provide significantly > > better functionality than the classic ones. > > I tend to agree. > > > What I think is important, though, is avoiding major mode functions > > modiying auto-mode-alist at runtime. > > But CC Mode already does, and always did? I don't think so: those alterations happen in 'autoload' blocks, which means that it happens either during Emacs' startup, or during package initialization, if cc-mode is installed as an ELPA package. --1dbee2849f52426d9b31726be30f4af3 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Sun, Oct 13,= 2024, at 12:39 PM, Eli Zaretskii wrote:
> Date: Sun, 13 Oct 2024 12:37:38 +0300=
> From: Dmitry Gutov <dmitry@gutov.dev>
>=  
> > It is not clear which modes you suggest t= hat should behave like that.
> > Surely, not all of = them, i.e. including those for which non-TS modes
> >= ; are part of Emacs?

> I don't= have a strong opinion on which set should be enabled - maybe 
<= /div>
> just all TS modes which we don't have built-in counterpar= ts. Maybe not 
> even toml-ts-mode, since there is= conf-toml-mode.

> Maybe make = some exceptions for TS modes that provide significantly 
<= div>> better functionality than the classic ones.

<= /div>
I tend to agree.

> What I thin= k is important, though, is avoiding major mode functions 
=
> modiying auto-mode-alist at runtime.

<= div>But CC Mode already does, and always did?
I don't think so: those alterations happen in 'autoload' blocks, which = means that it happens either during Emacs' startup, or during package in= itialization, if cc-mode is installed as an ELPA package. --1dbee2849f52426d9b31726be30f4af3--