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#49731: 28.0.50; Filter xref results by filename Date: Thu, 15 Feb 2024 09:23:38 +0200 Organization: LINKOV.NET Message-ID: <86o7ci1dhx.fsf@mail.linkov.net> References: <87lf5urv4c.fsf@mail.linkov.net> <86fspn1pjl.fsf@mail.linkov.net> <86ilj83fik.fsf@mail.linkov.net> <86ilj6rrnq.fsf@mail.linkov.net> <16f2a5d7-fb89-5e8c-71b7-c9f9ddc5d4e3@yandex.ru> <86v86s4dsi.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35753"; 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: 49731@debbugs.gnu.org, Dmitry Gutov To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 15 08:44: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 1raWPb-00099l-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Feb 2024 08:44:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raWPL-0002rV-Qo; Thu, 15 Feb 2024 02:43: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 1raWPH-0002ql-Q2 for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 02:43:43 -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 1raWPH-0002h6-Gr for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 02:43:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raWPZ-0007gb-WE for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 02:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Feb 2024 07:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49731 X-GNU-PR-Package: emacs Original-Received: via spool by 49731-submit@debbugs.gnu.org id=B49731.170798300129466 (code B ref 49731); Thu, 15 Feb 2024 07:44:01 +0000 Original-Received: (at 49731) by debbugs.gnu.org; 15 Feb 2024 07:43:21 +0000 Original-Received: from localhost ([127.0.0.1]:53900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raWOv-0007fA-4D for submit@debbugs.gnu.org; Thu, 15 Feb 2024 02:43:21 -0500 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raWOs-0007es-KD for 49731@debbugs.gnu.org; Thu, 15 Feb 2024 02:43:19 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id CBD94FF804; Thu, 15 Feb 2024 07:42:32 +0000 (UTC) In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Wed, 14 Feb 2024 10:25:35 +0100") 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:280042 Archived-At: >> / s outline-show-by-heading-regexp >> / h outline-hide-by-heading-regexp > > Thanks. Does it make sense for these commands to follow similar > semantics as Org Mode's sparse trees? With C-c / / in an Org file, the > entire buffer is folded as much as possible, but the matching items are > made visible. We don't have a goal to copy all Org Mode's features to Outline mode. Only when someone really needs some Org Mode's feature, then patches are welcome. For example, very often I have the need to hide a large group of bodies whose headings contain the same substring. I guess you have the same need since you created this feature request. So this is implemented now. > The main difference is that outline-show-by-heading-regexp would match > only headings, but that is clear given the name of the command. Indeed, the word 'heading' is added to the command names above to distinguish them from possible future additions of more commands that will hide by body regexps, or by both body and headings regexps. Also the key prefix '/' will allow adding more related commands later under the same key prefix like '/ /' for 'outline-occur', etc.