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: Turning on/off tree-sitter modes Date: Wed, 27 Nov 2024 14:36:18 +0200 Message-ID: <277bed39-bad3-4464-8ca8-506428a5ba2e@gutov.dev> References: <865xohrvfa.fsf@gnu.org> <86wmgwnyle.fsf@gnu.org> <178dfc7f-bc2d-4e3b-8417-a616ccc0eef3@gutov.dev> <86v7wgnxlz.fsf@gnu.org> <01d83ec8-c02b-4806-8764-38dc89a89125@gutov.dev> <86ttbzojho.fsf@gnu.org> <930f5c8e-1481-43a5-8f1d-2c13a98df74f@gutov.dev> <86r072krq5.fsf@gnu.org> <8b907a41-aa08-4b61-bced-7d4d3fcef4b2@gutov.dev> <87frnhsvp3.fsf@mail.linkov.net> <0d1e2770-0889-4862-8105-8a5f4631b11c@gutov.dev> <87ed31gku5.fsf@mail.linkov.net> <86plmljbsm.fsf@gnu.org> <8734jgftif.fsf@mail.linkov.net> <86ttbwihp6.fsf@gnu.org> <4f8f8b97-6650-4a6f-b121-82964fec49cf@gutov.dev> <86o723ikga.fsf@gnu.org> <41e2710f-d612-40e2-9037-d8d388c5edc7@gutov.dev> <86ldx6gjai.fsf@gnu.org> <878qt588qb.fsf@mail.linkov.net> 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="5736"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: johan.myreen@gmail.com, emacs-devel@gnu.org To: Juri Linkov , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 27 13:37:18 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 1tGHID-0001L6-5G for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Nov 2024 13:37:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGHHS-0007s6-8i; Wed, 27 Nov 2024 07:36:30 -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 1tGHHO-0007rk-A5 for emacs-devel@gnu.org; Wed, 27 Nov 2024 07:36:26 -0500 Original-Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGHHL-0008L1-3M; Wed, 27 Nov 2024 07:36:25 -0500 Original-Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id 88A981140191; Wed, 27 Nov 2024 07:36:21 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Wed, 27 Nov 2024 07:36:21 -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=1732710981; x=1732797381; bh=CMGyF+am+NIQHH5oflxzlfVzq+mIAxjt0X+O6BSqkFA=; b= boFxhXkg2rcZGq48mAhI1TDKB6lca9eiMKXh2nOgryyWLdOn1nb6wVSLXFuwQTBC ke+qBPWYgxj8DaUgwIQ8FoaPuPdQBMYPkOA3FJOhH3BcZfbqKFr6HkVaw+3P8zK/ CC/QHwBpy90Jcd5RN2x/o4inOYsorJqYbVsn/JMRLIdCwefkww3RivpdZYg1+hu6 pUwWM8qOiIK5DWPtRuATZt5Xmz6YF2oZKioVWDF9seqpB1MbwsBdDqNxy+kIxN9s 20qn6jEFCH1jSWFY46oISdnQ2ZSbBg/FuLDimcEEDF+vKw0RolzF1MXzSNtSEY7q utANHvBgltCiU6tuYa0cXA== 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=1732710981; x= 1732797381; bh=CMGyF+am+NIQHH5oflxzlfVzq+mIAxjt0X+O6BSqkFA=; b=U T7fpYhfI+nDR6utZQ1KBVxe44yIflXnMotvBT85C8NoJqi9tLK35lbHyJLofaanT JAGjwrpMT+gj7/+4Ntd/+0ppydo0l2tyODOVkVK6FFUM44iI/Uq9wpXzcNVad4tZ AlqEKY1tl6wEEOxjTXs01SLQI0lkshtWg+kGi+Wu0RrgmaN0oKaU5N25A+XdGTHa 4sL3x7HXoF2mymooyjQx30Sh9l7335K4RnFNiRc76RV9r5G5CIdPNah4+UHdLCWg WSp7c6lcFw9RyTJ4ltNKqkAFnumgWPzOYxKIXOM19zjA+FZRsFFUFhDU0incc10D tvKNs03ucxpKnr/9S1hNw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeelgdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeen ucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvg hvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedt vddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohep gedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhurhhisehlihhnkhhovhdrnh gvthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehjohhhrghn rdhmhihrvggvnhesghhmrghilhdrtghomhdprhgtphhtthhopegvmhgrtghsqdguvghvvg hlsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Nov 2024 07:36:19 -0500 (EST) Content-Language: en-US In-Reply-To: <878qt588qb.fsf@mail.linkov.net> Received-SPF: pass client-ip=202.12.124.145; envelope-from=dmitry@gutov.dev; helo=fout-b2-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:325759 Archived-At: On 27/11/2024 09:27, Juri Linkov wrote: >> I'd prefer >> >> Major Mode Remap Alist: >> List of remappings: >> INS DEL >> Remap from major mode: js-mode >> To mode (or function): js-ts-mode > Here mode names are nicely aligned, > so it's easier to read for users. I think the forms for alist's values are extra indented intentionally. But it's not the best for aesthetics, I suppose.