From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#68824: treesitter support for outline-minor-mode Date: Sun, 11 Feb 2024 19:34:51 +0200 Organization: LINKOV.NET Message-ID: <86le7qykec.fsf@mail.linkov.net> 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> <86sf21v3rj.fsf@gnu.org> <864jeg8dch.fsf@mail.linkov.net> <86jznctd6p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9404"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: casouri@gmail.com, 68824@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 18:56:11 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 1rZE3n-0002JJ-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 18:56:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZE3P-0007Y4-45; Sun, 11 Feb 2024 12:55:47 -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 1rZE3N-0007Xj-JW for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:55:45 -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 1rZE3N-00023J-BE for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:55:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZE3d-0001w7-Kr for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2024 17:56: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.17076741197324 (code B ref 68824); Sun, 11 Feb 2024 17:56:01 +0000 Original-Received: (at 68824) by debbugs.gnu.org; 11 Feb 2024 17:55:19 +0000 Original-Received: from localhost ([127.0.0.1]:35529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZE2x-0001tz-D0 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 12:55:19 -0500 Original-Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:37491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDzD-0001iR-1F for 68824@debbugs.gnu.org; Sun, 11 Feb 2024 12:51:27 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 2369340002; Sun, 11 Feb 2024 17:51:03 +0000 (UTC) In-Reply-To: <86jznctd6p.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Feb 2024 19:57:18 +0200") X-GND-Sasl: juri@linkov.net 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:279860 Archived-At: >> >> 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"? >> >> 'outline-search-function' is an internal detail of implementation >> for 'treesit-outline-predicate'. Here is the relevant part from the >> previous patch that shows there is no place for 'outline-search-function: > > Then maybe just move the text about outline-search-function to the > place where you describe treesit-outline-predicate? 'outline-search-function' is unsuitable for "Tree-sitter Major Modes".