GNU bug report logs - #57176
29.0.50; Commit 744ed0ce applies outline-minor-mode-highlight-buffer repeatedly

Previous Next

Package: emacs;

Reported by: daanturo <daanturo <at> gmail.com>

Date: Sat, 13 Aug 2022 14:13:02 UTC

Severity: normal

Merged with 57175

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 57176 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: daanturo <daanturo <at> gmail.com>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 57176 <at> debbugs.gnu.org
Subject: Re: bug#57176: 29.0.50; Commit 744ed0ce applies
 outline-minor-mode-highlight-buffer repeatedly
Date: Mon, 15 Aug 2022 09:42:33 +0200
daanturo <daanturo <at> gmail.com> writes:

> I think we should clear old outline overlays before applying new ones,
> or adjust the conditions like the old one.

I guess this might be the result of this change?

-          (if (and global-font-lock-mode (font-lock-specified-p major-mode))
-              (progn
-                (font-lock-add-keywords nil outline-font-lock-keywords t)
-                (font-lock-flush))
-            (outline-minor-mode-highlight-buffer)))
+          (when (and global-font-lock-mode (font-lock-specified-p major-mode))
+            (font-lock-add-keywords nil outline-font-lock-keywords t)
+            (font-lock-flush))
+          (outline-minor-mode-highlight-buffer))

I've added Stephen to the CCs; perhaps he has some comments.




This bug report was last modified 2 years and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.