GNU bug report logs - #57082
29.0.50; emacs-news-view-mode breakage

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 9 Aug 2022 16:19:03 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 57082 <at> debbugs.gnu.org
Subject: bug#57082: 29.0.50; emacs-news-view-mode breakage
Date: Wed, 10 Aug 2022 10:36:22 +0300
>> Also don't understand why is this change:
>>
>>          (when outline-minor-mode-highlight
>> -          (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))
>>
>> `outline-minor-mode-highlight-buffer' is intended only for buffers
>> that don't support font-lock highlighting.
>
> Yes, but with that change, arrows are displayed on first visiting the
> NEWS buffer; without it, they only appear when typing TAB on an outline
> heading.

This change broke fontification e.g. in diff buffers that now
add outline faces on diff hunks.  So we need another solution.
Maybe on first visiting the NEWS buffer better to call
refontification with font-lock-ensure?




This bug report was last modified 3 years and 11 days ago.

Previous Next


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