unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48823: outline-minor-mode and comment outline headings
@ 2021-06-04  0:09 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
  0 siblings, 2 replies; 3+ messages in thread
From: feodor-sverdlov via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-06-04  0:09 UTC (permalink / raw)
  To: 48823

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48823: outline-minor-mode and comment outline headings
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-06-04  9:58 UTC (permalink / raw)
  To: feodor-sverdlov; +Cc: 48823

feodor-sverdlov <feodor-sverdlov@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48823: outline-minor-mode and comment outline headings
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2021-06-04 16:31 UTC (permalink / raw)
  To: feodor-sverdlov; +Cc: 48823

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-04 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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