From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Suggesting that feature/tree-sitter be merged (was Re: Tree-sitter and major mode inheritance) Date: Fri, 18 Nov 2022 18:36:14 -0500 Message-ID: References: <0249C656-21C8-49F2-B979-A1894BF80637@gmail.com> <874juvhoyi.fsf@posteo.net> <72C5E060-76D5-45C7-80E8-C794468DAAB8@gmail.com> 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="308"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , Jostein =?windows-1252?Q?Kj?= =?windows-1252?Q?=F8nigsen?= , emacs-devel , Theodor Thornhill , Eli Zaretskii , jostein@kjonigsen.net To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 19 00:37: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 1owAv8-000APZ-Vi for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Nov 2022 00:37:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owAuP-0004hu-Hl; Fri, 18 Nov 2022 18:36:33 -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 1owAuO-0004hY-IH for emacs-devel@gnu.org; Fri, 18 Nov 2022 18:36:32 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owAuJ-0005aF-4N; Fri, 18 Nov 2022 18:36:32 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 959D044227F; Fri, 18 Nov 2022 18:36:18 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 062D244227A; Fri, 18 Nov 2022 18:36:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1668814577; bh=VLghyeKxE+mbGc9caeCOtCBcQ7MkYEu+uWMeSie39Vs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FDZk6eE3/kgC4LewphiAjLc27A1pmfXkfMeBPGu3Nc2HdzcG/S3i7SHrsOsdDAwYy XXJIlGCj+XdpgwrKYoRVOlAP35nMKNOsXiCLqrkdE1XstnjRnpQzyoPhkOaJkzH+EJ onzmy5NM9IR/zNYdZa3dBDzmdVVc+oLFBVZS77dGfu9vUZcRPOzsNdcw9pNZBRWn/A 90KuVKlqo+LYzK0Ztb9Fz6+p5xWE6asf8cPGtAwHKmJ9rp55F8GO4JyDgrUpbRxnwd BdNkjM/4dEG5hIEoEcebWwsiIjLr2ZssZ8eLaQKdS+0WFMyrilVVf/vUFpNB68d4jP JTQa0Bu9gm+Qw== Original-Received: from pastel (unknown [104.247.241.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A5647120C56; Fri, 18 Nov 2022 18:36:16 -0500 (EST) In-Reply-To: <72C5E060-76D5-45C7-80E8-C794468DAAB8@gmail.com> (Yuan Fu's message of "Fri, 18 Nov 2022 14:58:17 -0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300128 Archived-At: > I=E2=80=99ve though of this too, other things are indent level, and > documentation. I wrote ghelp[1] to get a uniform interface for getting > documentation in different major modes (because I don=E2=80=99t have the = heart to > understand and modify help.el). A builtin, unified documentation system > would be nice, like eldoc. But eldoc is for at-point short and quick > signature/doc more than for full-fledged documentation like help.el. help.el does it specifically for ELisp and doesn't try to present a language-independent interface for other languages. We could/should change that, but I agree that it's not easy. We may want to extract some of that code to make it available for other uses, but I suspect it will be a small part of it. In that vicinity there is also `info-lookup-symbol` (aka `C-h S`) and `xref.el`. Stefan