GNU bug report logs - #48823
outline-minor-mode and comment outline headings

Previous Next

Package: emacs;

Reported by: feodor-sverdlov <feodor-sverdlov <at> protonmail.com>

Date: Fri, 4 Jun 2021 00:31:02 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


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

From: feodor-sverdlov <feodor-sverdlov <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: outline-minor-mode and comment outline headings
Date: Fri, 04 Jun 2021 00:09:55 +0000
[Message part 1 (text/plain, inline)]
I have noticed that comment type sub-headings get highlighted with a different colour only when
"outline-minor-mode-highlight" is set to "override". But then the code headings do not keep the
code highlighting. Then if you put "outline-minor-mode-highlight" to "append", so that that code
retains the code highlighting, the sub-headings levels will use a single highlighting colour.

This outline highlighting implementation in "outline.el" has not been very well thought through.
Code highlighting should be retained, whilst comment type highlighting should use a different colour
according to the heading level.
[Message part 2 (text/html, inline)]

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

Previous Next


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