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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48823 in the body.
You can then email your comments to 48823 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48823; Package emacs. (Fri, 04 Jun 2021 00:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to feodor-sverdlov <feodor-sverdlov <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Jun 2021 00:31:02 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48823; Package emacs. (Fri, 04 Jun 2021 09:59:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: feodor-sverdlov <feodor-sverdlov <at> protonmail.com>
Cc: 48823 <at> debbugs.gnu.org
Subject: Re: bug#48823: outline-minor-mode and comment outline headings
Date: Fri, 04 Jun 2021 11:58:24 +0200
feodor-sverdlov <feodor-sverdlov <at> protonmail.com> writes:

> I have noticed that comment type sub-headings get highlighted with a
> different colour only when "outline-minor-mode-highlight" is set to
> "override".

You've also asked this on the help mailing list.  Please don't spam the
various Emacs facilities with the same questions.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 48823 <at> debbugs.gnu.org and feodor-sverdlov <feodor-sverdlov <at> protonmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 04 Jun 2021 09:59:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48823; Package emacs. (Fri, 04 Jun 2021 16:41:03 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: feodor-sverdlov <feodor-sverdlov <at> protonmail.com>
Cc: 48823 <at> debbugs.gnu.org
Subject: Re: bug#48823: outline-minor-mode and comment outline headings
Date: Fri, 04 Jun 2021 19:31:52 +0300
> 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.

I already suggested the solution for you in bug#48724, please try it.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Jul 2021 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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