unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: feodor-sverdlov <feodor-sverdlov@protonmail.com>
Cc: 48823@debbugs.gnu.org
Subject: bug#48823: outline-minor-mode and comment outline headings
Date: Fri, 04 Jun 2021 19:31:52 +0300	[thread overview]
Message-ID: <87bl8l7frb.fsf@mail.linkov.net> (raw)
In-Reply-To: <Mf18npZNV-XSIvDvfF7NBtWuLqmOBH5hGVS6Mh01hb1jeDsKFnCdLUY9UrRyS7cOJJ1vkGOscfQlv_sn4ZvmASEbxtnvbqzOc0C_bWQS_Ys=@protonmail.com> (feodor-sverdlov via's message of "Fri, 04 Jun 2021 00:09:55 +0000")

> 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.





      parent reply	other threads:[~2021-06-04 16:31 UTC|newest]

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

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=87bl8l7frb.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --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).