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: Thu, 21 Nov 2024 22:11:48 +0200 Message-ID: <178dfc7f-bc2d-4e3b-8417-a616ccc0eef3@gutov.dev> References: <86y11xsbil.fsf@gnu.org> <17465b85-430a-4e91-8b12-769b60181ada@gutov.dev> <86ses4sglw.fsf@gnu.org> <86fro4sddd.fsf@gnu.org> <6ac73c67-cb2d-48ef-8f1d-683c5335aba5@gutov.dev> <8634k4s2r2.fsf@gnu.org> <082b0388-b3a1-4523-9f9b-5ead4b110e11@gutov.dev> <86plmrtemx.fsf@gnu.org> <7aa4a684-3374-4d0f-8efc-c4df29337c5e@gutov.dev> <86cyirtahu.fsf@gnu.org> <556779b3-9308-4fd3-9050-bf9c49658cd1@gutov.dev> <864j43t8t9.fsf@gnu.org> <4cc676e8-cac5-4348-99b0-243baf74687e@gutov.dev> <8634jnt5e3.fsf@gnu.org> <4864104c-cb23-4356-ad89-2fea111db66c@gutov.dev> <86ttc2rrh8.fsf@gnu.org> <86cyipsp94.fsf@gnu.org> <9cd17f8b-f88c-49f6-9024-0b6d297e18ac@gutov.dev> <867c8xsmri.fsf@gnu.org> <566ac897-ea5e-4141-bcb3-306d43c9118a@gutov.dev> <865xohrvfa.fsf@gnu.org> <86wmgwnyle.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14825"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird 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 Thu Nov 21 21:12:25 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 1tEDXL-0003h9-S3 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Nov 2024 21:12:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEDWw-000399-E0; Thu, 21 Nov 2024 15:11:58 -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 1tEDWt-00038u-IT for emacs-devel@gnu.org; Thu, 21 Nov 2024 15:11:56 -0500 Original-Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEDWr-0002ax-7I; Thu, 21 Nov 2024 15:11:55 -0500 Original-Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id B135E1380240; Thu, 21 Nov 2024 15:11:51 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Thu, 21 Nov 2024 15:11:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding: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=fm2; t=1732219911; x=1732306311; bh=nt/yTE10bMxDrh2Hh6FzQlhQ/ssA1kJZeDuCFuklor0=; b= rLX3pcKhOsPTxUqJEdKNawcGF4POL/t5Pu3sthPu+0GeL9UPnum6ABEO6m7Ly4Mf rssTxf4JqvPMHD9rJxYkTKfyeU8QYPiSBP/RW3OE62q7CFjLiwQT3RofUe2sgXl1 YBoTDsNZGGayyNgP+4tMtw24NGOXHHo4whVovH+g10umd1cpI6d8Pfz3EevLRm4t GhdDBFv3jf20Gk/nLf2/DC0lsM7q/KAbiG55mMLQdv86GeH6QS0g+dMLyIR0ZWTo dW0ZHs9tJZvoUSLt7AqBTKBJIWld+v4ZxIIUdj5qPbAIEWEkX84r9M1la7F/S2UR X/u+Gun9Oh3gdrwowXcVxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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-sender:x-me-sender:x-sasl-enc; s=fm1; t=1732219911; x= 1732306311; bh=nt/yTE10bMxDrh2Hh6FzQlhQ/ssA1kJZeDuCFuklor0=; b=z E2T/woSPVGh/utYlNc+onqkQ3AmXx67fFrNlm+2oSuMYGlDfZxa71mmz/ium1GU4 ThfiHi5zfmJB5awKrjFcFesHztafgzVFv5EGBr53a47xBqJRlA7+I9oJonXzJH6O g+/OnDOvQP/w1tkpgVWN8IrFTUY53MU4V9OdNpw8XT7W8gRwmse9llab5vXwhC4r dKUiZPfR0tAN4iC9KV414RbxC9Zywsa6RflLgGILnFhIZd8xtOsahUEywFw9LMWu hdLgyaJwkaccIPM0NVPgEdHxwLcxQ28NO/uJk8j5Poh812zj4Zx9yc/W3ZrRqTZF aa6yTKHtZWLecIrhKGz3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfeeigddufedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh dprhgtphhtthhopehjohhhrghnrdhmhihrvggvnhesghhmrghilhdrtghomhdprhgtphht thhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Nov 2024 15:11:50 -0500 (EST) Content-Language: en-US In-Reply-To: <86wmgwnyle.fsf@gnu.org> Received-SPF: pass client-ip=103.168.172.145; envelope-from=dmitry@gutov.dev; helo=fout-a2-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 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:325560 Archived-At: On 21/11/2024 22:03, Eli Zaretskii wrote: >> It would be nice to understand the minimum requirements to replace the >> current approach. > > If you think that I have all of them figured out, you are wrong. > Coming up with such requirements is not easy, and should probably be a > team job. I will try, when I have time, to post a list of what I > think should be part of those requirements, but feel free to beat me > to it. Well, the thing is that I figured the patch already covers roughly the same area as the current capabilities (while removing certain downsides). >>> Then you should understand that I think it _is_ a replacement for the >>> current setup, which AFAIK we all consider as sub-optimal. >> >> Here's a quote one of your previous emails: >> >> > This is okay as an opt-in feature, but it cannot be the only way for >> > users to tell Emacs they prefer one or more TS-based modes. For >> > starters, some people might be annoyed by these suggestions, and might >> > prefer more proactive ways of enabling those modes. >> >> I have proposed an implementation of a "more proactive way". If it seems >> insufficient to you, perhaps you could describe missing scenarios that >> are supported with the the current approach. They might be easy enough >> to add (or explain how they are supported already through other means). > > I already did: IMO we should have user commands to tell Emacs that the > user wants to use these modes, not only suggestions by Emacs to use > them, triggered by visiting files. "Suggestions by Emacs to use them" is a different feature (implemented by Philip K. in his branch), it's not what my patch does. >>> IOW, we do want to avoid the situation where loading a mode changes >>> auto-mode-alist or major-mode-remap-defaults or any other global data, >>> right? >> >> Sure. >> >>> If so, why wouldn't those alternatives be the replacement for >>> that? >> >> Sorry, I don't understand your proposed alternative. >> >> If you want to see just a different set of capabilities instead, could >> you enumerate them? > > See above. And if there are others, I'd be glad to hear and consider > them. Thanks.