From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68824: treesitter support for outline-minor-mode Date: Fri, 09 Feb 2024 21:25:36 +0200 Message-ID: <86sf21v3rj.fsf@gnu.org> References: <86le8667u7.fsf@mail.linkov.net> <865xza39vp.fsf@gnu.org> <86y1c6q7oh.fsf@mail.linkov.net> <86mssbbdz5.fsf@mail.linkov.net> <86zfwbwe7a.fsf@gnu.org> <86v86z9e4u.fsf@mail.linkov.net> <86eddmwzs0.fsf@gnu.org> <865xyykvp3.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32735"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 68824@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 09 20:28:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rYWXb-00089v-KS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Feb 2024 20:28:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYWWO-0002U5-7v; Fri, 09 Feb 2024 14:26:48 -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 1rYWWN-0002Tk-5S for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 14:26:47 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rYWWM-0000dn-Ti for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 14:26:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rYWWb-0001ax-Mc for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2024 14:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Feb 2024 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68824-submit@debbugs.gnu.org id=B68824.17075067755925 (code B ref 68824); Fri, 09 Feb 2024 19:27:01 +0000 Original-Received: (at 68824) by debbugs.gnu.org; 9 Feb 2024 19:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:60197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYWVq-0001XS-Gy for submit@debbugs.gnu.org; Fri, 09 Feb 2024 14:26:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYWVf-0001Wa-5P for 68824@debbugs.gnu.org; Fri, 09 Feb 2024 14:26:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYWVJ-0000Vm-I8; Fri, 09 Feb 2024 14:25:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=p0L5r8b7lkSwd6jb9/eyyTFvXoLOVqo9JVUNQTJMw5c=; b=DMu69hUCx9Zn xdIlKNHVx5iZB+leUiajWL3mJsjunO4dxxAX8mX2X983CivdAy7twpY1l/45CkriMOpHYD1Cfp2As BO6KbEJv0Bom8dglalq0qPRY470fIIlySYdZZDj2dR4R0M+JpwkDNsYZt8wgXVdW1W0KtPADfxmxF Lw+Gs6V/NnB4HDCHdZCcPmD1BFSr0MD2NOenQykFSF1Xr7rEc6NFC2JFAE3ruPJdPpHqsYqRH+AfP 91FLY51DJE88pLx4aVcwznD+KBWADzmMUxPM4eFYVTKBDRmOFonkyXffWJTLbXIlH1BtB1+DAwcuO P/twOZAEn0RbwScF3rjiMA==; In-Reply-To: <865xyykvp3.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 09 Feb 2024 09:07:44 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279706 Archived-At: > From: Juri Linkov > Cc: casouri@gmail.com, 68824@debbugs.gnu.org > Date: Fri, 09 Feb 2024 09:07:44 +0200 > > >> >> +@vindex outline-search-function > >> >> + Instead of setting the variable @code{outline-regexp}, you can set > >> >> +the variable @code{outline-search-function} to a function that > >> >> +matches the current heading and searches for the next one. > >> > > >> > This should tell which arguments will be passed to the function, and > >> > what it is expected to do and return. > >> > >> This is the Emacs User Manual, not the Emacs Lisp Reference Manual. > >> Are you sure that arguments should be described here? > > > > Sorry, I wasn't aware that was for the user manual. But why are such > > variables documented in the user manual to begin with? why not in the > > ELisp manual? > > The problem is that the Info node in the ELisp manual would be too small. > I have no idea what to write in that node more than 10 lines from the > docstring of 'outline-search-function'. Why does it have to be a separate node? Why cannot we have a paragraph or two about this in "Tree-sitter Major Modes", for example, or in "Minor Modes"?