From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Average-user-facing interface for tree-sitter Date: Thu, 13 Oct 2022 19:27:15 +0200 Message-ID: <87pmev7hxo.fsf@gnus.org> References: <3A7E7CD1-74A7-4352-9DFE-FC982EAA398E@gmail.com> <87ilko9r9e.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Yuan Fu , emacs-devel To: Jostein =?utf-8?Q?Kj=C3=B8nigsen?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 19:28:19 2022 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 1oj20J-0008Zz-4c for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 19:28:19 +0200 Original-Received: from localhost ([::1]:50832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj20I-0007BP-4j for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 13:28:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj1zO-0006Us-UU for emacs-devel@gnu.org; Thu, 13 Oct 2022 13:27:22 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:55008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj1zN-0007F9-HB for emacs-devel@gnu.org; Thu, 13 Oct 2022 13:27:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3a3Mmnjk0pVsU9qZ3FRbT7OXLv9OYGR7cOGbDRr/s0o=; b=Huy75z2MpI7T/cI1LPYdK3u8ya FPv+7XZPvucDqaavJRZOApRvZ2b/uQi/GwqGP1T50XKWverSh/yiCGpDrrdP6NbUrp+D0s7T+gCFS /XN8A1dl6GXEjHIZFPbAUlCWQFko4db7wmOEqnLfioNTPu92vo3j0USgU4VWK+0tbDiA=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj1zI-000532-3X; Thu, 13 Oct 2022 19:27:18 +0200 In-Reply-To: ("Jostein =?utf-8?Q?Kj=C3=B8nigsen=22's?= message of "Thu, 13 Oct 2022 16:32:37 +0200") X-Now-Playing: Derek Baron's _Curtain_: "Chancel" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=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" Xref: news.gmane.io gmane.emacs.devel:297686 Archived-At: Jostein Kj=C3=B8nigsen writes: > Existing users of typescript-mode can be guided to the new > implementation through a variety of ways, but to me the flow of > activating typescript-mode major-mode, then treesit-minor-mode, and > then magically switching to ts-mode makes absolutely no sense. And the > performance of that is probably terrible too. That is not how `major-mode-remap-alist' works.