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#53981: 28.0.91; shortdoc: Add support for outline-minor-mode Date: Mon, 21 Nov 2022 09:57:02 +0200 Organization: LINKOV.NET Message-ID: <86k03o3fld.fsf@mail.linkov.net> References: <86k045b70e.fsf@mail.linkov.net> <83a651xmx8.fsf@gnu.org> <86sfisujx0.fsf@mail.linkov.net> <86cz9m1zky.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="6294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: mail@daniel-mendler.de, Eli Zaretskii To: 53981@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 21 08:59:24 2022 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 1ox1i7-0001Og-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Nov 2022 08:59:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox1ht-0002Ap-RN; Mon, 21 Nov 2022 02:59:09 -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 1ox1hn-0002A3-57 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 02:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ox1hl-0007Kh-QS for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 02:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ox1hl-00061g-Jq for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2022 02:59: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: Mon, 21 Nov 2022 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53981 X-GNU-PR-Package: emacs Original-Received: via spool by 53981-submit@debbugs.gnu.org id=B53981.166901750623110 (code B ref 53981); Mon, 21 Nov 2022 07:59:01 +0000 Original-Received: (at 53981) by debbugs.gnu.org; 21 Nov 2022 07:58:26 +0000 Original-Received: from localhost ([127.0.0.1]:45247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox1hB-00060f-OE for submit@debbugs.gnu.org; Mon, 21 Nov 2022 02:58:25 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:38453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox1h6-00060A-Nk; Mon, 21 Nov 2022 02:58:21 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 2CC39240008; Mon, 21 Nov 2022 07:58:12 +0000 (UTC) In-Reply-To: <86cz9m1zky.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 16 Nov 2022 21:14:37 +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:248501 Archived-At: close 53981 29.0.50 thanks > Here is a more tested patch that works in apropos and shortdoc. > > Also tested for group outlines in the Completions buffer with: > > ``` > (add-hook 'completion-list-mode-hook > (lambda () > (setq-local > outline-search-function > (lambda (&optional bound move backward looking-at) > (outline-search-text-property > 'face 'completions-group-separator > bound move backward looking-at)) > outline-level (lambda () 1)) > ``` Now pushed to master and closed.