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#51974: 29.0.50; [PATCH] Fix deactivation of outline-minor-mode-cycle-map bindings Date: Sun, 21 Nov 2021 19:58:17 +0200 Organization: LINKOV.NET Message-ID: <86o86do0g6.fsf@mail.linkov.net> References: <87lf1ke5iy.fsf@miha-pc> <87h7c7qhxv.fsf@gnus.org> <87ilwnds17.fsf@miha-pc> <874k86orjx.fsf@gnus.org> <86v90lo0kg.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="12306"; 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: 51974@debbugs.gnu.org, miha@kamnitnik.top To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 21 18:59:12 2021 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 1mor7Q-000355-Ab for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 18:59:12 +0100 Original-Received: from localhost ([::1]:51032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mor7P-0005wM-CK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 12:59:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mor7G-0005w8-Pi for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 12:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mor7G-0006IJ-HQ for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 12:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mor7G-0002Ix-HI for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 12:59: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: Sun, 21 Nov 2021 17:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51974 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51974-submit@debbugs.gnu.org id=B51974.16375175308836 (code B ref 51974); Sun, 21 Nov 2021 17:59:02 +0000 Original-Received: (at 51974) by debbugs.gnu.org; 21 Nov 2021 17:58:50 +0000 Original-Received: from localhost ([127.0.0.1]:45967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mor73-0002IR-PD for submit@debbugs.gnu.org; Sun, 21 Nov 2021 12:58:49 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:33859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mor71-0002ID-Uw for 51974@debbugs.gnu.org; Sun, 21 Nov 2021 12:58:48 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 57B2240005; Sun, 21 Nov 2021 17:58:38 +0000 (UTC) In-Reply-To: <86v90lo0kg.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 21 Nov 2021 19:55:43 +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" Xref: news.gmane.io gmane.emacs.bugs:220579 Archived-At: > Also outline-minor-mode-highlight-buffer that is a non-font-lock-based > counterpart of outline-font-lock-keywords needs an opposite function > to unhighlight the non-font-lock buffer by removing only faces and keymaps > that outline-minor-mode-highlight-buffer added to the buffer. > But this should be easier to do since it uses overlays. Sorry, I forgot it already does (remove-overlays nil nil 'outline-overlay t).