unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: feodor-sverdlov via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 48823@debbugs.gnu.org
Subject: bug#48823: outline-minor-mode and comment outline headings
Date: Fri, 04 Jun 2021 00:09:55 +0000	[thread overview]
Message-ID: <Mf18npZNV-XSIvDvfF7NBtWuLqmOBH5hGVS6Mh01hb1jeDsKFnCdLUY9UrRyS7cOJJ1vkGOscfQlv_sn4ZvmASEbxtnvbqzOc0C_bWQS_Ys=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 959 bytes --]

             reply	other threads:[~2021-06-04  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-04  0:09 feodor-sverdlov via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-06-04  9:58 ` bug#48823: outline-minor-mode and comment outline headings Lars Ingebrigtsen
2021-06-04 16:31 ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Mf18npZNV-XSIvDvfF7NBtWuLqmOBH5hGVS6Mh01hb1jeDsKFnCdLUY9UrRyS7cOJJ1vkGOscfQlv_sn4ZvmASEbxtnvbqzOc0C_bWQS_Ys=@protonmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=48823@debbugs.gnu.org \
    --cc=feodor-sverdlov@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).