GNU bug report logs - #64177
outline-minor-mode-highlight fails to activate for custom headings

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Mon, 19 Jun 2023 20:14:02 UTC

Severity: normal

Merged with 64227

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juri Linkov <juri <at> linkov.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64177: closed (outline-minor-mode-highlight fails to activate
 for custom headings)
Date: Sun, 25 Jun 2023 17:28:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 25 Jun 2023 20:13:31 +0300
with message-id <86y1k7pqn0.fsf <at> mail.linkov.net>
and subject line Re: bug#64177: outline-minor-mode-highlight fails to activate for custom headings
has caused the debbugs.gnu.org bug report #64177,
regarding outline-minor-mode-highlight fails to activate for custom headings
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64177: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64177
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: uzibalqa <uzibalqa <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: outline-minor-mode-highlight fails to activate for custom headings
Date: Mon, 19 Jun 2023 20:13:32 +0000
I have made custom headings for outline-minor-mode 

But

(setq outline-minor-mode-highlight 'override)

does not succeed in displaying the foreground colours at the
defined levels when using

(set-face-foreground "outline-1" "#ff62d4")
(set-face-foreground "outline-2" "#9f80ff")
(set-face-foreground "outline-3" "#fe6060")

Yet, the colours get properly displayed for the default headings
for the specific major mode



[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: 64177-done <at> debbugs.gnu.org
Subject: Re: bug#64177: outline-minor-mode-highlight fails to activate for
 custom headings
Date: Sun, 25 Jun 2023 20:13:31 +0300
> How does emacs-lisp-mode handle outline headings ?  Always setting the
> defaults first, then the user can reset the variables outline-regexp,
> outline-heading-alist, and outline-level before enabling outline-minor-mode ?

Yes, you need to set the variables outline-regexp, outline-heading-alist,
and outline-level before enabling outline-minor-mode.

Since you have a working solution now, I'm closing this request.


This bug report was last modified 1 year and 334 days ago.

Previous Next


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