GNU bug report logs - #49567
outline level colours variability across major modes

Previous Next

Package: emacs;

Reported by: lisa-asket <at> perso.be

Date: Thu, 15 Jul 2021 05:32:02 UTC

Severity: normal

Tags: notabug

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 49567 in the body.
You can then email your comments to 49567 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#49567; Package emacs. (Thu, 15 Jul 2021 05:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lisa-asket <at> perso.be:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 15 Jul 2021 05:32:02 GMT) Full text and rfc822 format available.

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

From: lisa-asket <at> perso.be
To: bug-gnu-emacs <at> gnu.org
Subject: outline level colours variability across major modes
Date: Thu, 15 Jul 2021 07:31:48 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Have seen that outline level colours change according to the major made.  I do not like this, because

I would like that outline colour levels be consistent across major modes. 



Currently there is no facility for someone to define their own outline level colour schemes

that in fixed across major modes.


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49567; Package emacs. (Thu, 15 Jul 2021 07:34:03 GMT) Full text and rfc822 format available.

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

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: lisa-asket <at> perso.be
Cc: 49567 <at> debbugs.gnu.org
Subject: Re: bug#49567: outline level colours variability across major modes
Date: Thu, 15 Jul 2021 09:33:13 +0200
lisa-asket <at> perso.be writes:

> Have seen that outline level colours change according to the major made.  I do not like this, because
> I would like that outline colour levels be consistent across major modes. 

Have you tried tweaking outline-minor-mode-highlight (introduced in
Emacs 28, i.e. on the master branch)?  Setting it to 'override (and
reloading outline-minor-mode) does exactly what you would like, AFAICT
from reading the docstring, and trying it out.

> Currently there is no facility for someone to define their own outline level colour schemes
> that in fixed across major modes.

Wouldn't customizing outline-[1-8] faces (plus setting
outline-minor-mode-highlight to 'override) allow exactly that?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49567; Package emacs. (Thu, 15 Jul 2021 08:01:02 GMT) Full text and rfc822 format available.

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

From: lisa-asket <at> perso.be
To: "Kévin Le Gouguec" <kevin.legouguec <at> gmail.com>
Cc: 49567 <at> debbugs.gnu.org
Subject: bug#49567: outline level colours variability across major modes
Date: Thu, 15 Jul 2021 10:00:26 +0200 (CEST)
[Message part 1 (text/plain, inline)]
From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: lisa-asket <at> perso.be
Subject: Re: bug#49567: outline level colours variability across major modes
Date: 15/07/2021 09:33:13 Europe/Paris
Cc: 49567 <at> debbugs.gnu.org

lisa-asket <at> perso.be writes:

> Have seen that outline level colours change according to the major made. I do not like this, because
> I would like that outline colour levels be consistent across major modes. 

Have you tried tweaking outline-minor-mode-highlight (introduced in
Emacs 28, i.e. on the master branch)? Setting it to 'override (and
reloading outline-minor-mode) does exactly what you would like, AFAICT
from reading the docstring, and trying it out.



Yes, I am forced to use 'override.  It is weird because if I set my own outline highlight pattern

for a particular major-mode, I really want to override, otherwise I would use something else.



> Currently there is no facility for someone to define their own outline level colour schemes
> that in fixed across major modes.

Wouldn't customizing outline-[1-8] faces (plus setting

outline-minor-mode-highlight to 'override) allow exactly that?



How does that work? The code uses only colours from inherited faces. There is no way to set the

colour directly in hex.  






[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49567; Package emacs. (Fri, 16 Jul 2021 04:45:02 GMT) Full text and rfc822 format available.

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

From: lisa-asket <at> perso.be
To: "Kévin Le Gouguec" <kevin.legouguec <at> gmail.com>
Cc: 49567 <at> debbugs.gnu.org
Subject: bug#49567: outline level colours variability across major modes
Date: Fri, 16 Jul 2021 06:44:20 +0200 (CEST)
[Message part 1 (text/plain, inline)]
From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: lisa-asket <at> perso.be
Subject: bug#49567: outline level colours variability across major modes
Date: 15/07/2021 09:33:13 Europe/Paris
Cc: 49567 <at> debbugs.gnu.org

lisa-asket <at> perso.be writes:

> Have seen that outline level colours change according to the major made. I do not like this, because
> I would like that outline colour levels be consistent across major modes. 

Have you tried tweaking outline-minor-mode-highlight (introduced in
Emacs 28, i.e. on the master branch)? Setting it to 'override (and
reloading outline-minor-mode) does exactly what you would like, AFAICT
from reading the docstring, and trying it out.

> Currently there is no facility for someone to define their own outline level colour schemes
> that in fixed across major modes.

Wouldn't customizing outline-[1-8] faces (plus setting

outline-minor-mode-highlight to 'override) allow exactly that?



Would you know how I con set specific colours without requiring changes to the major mode faces? 


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49567; Package emacs. (Fri, 16 Jul 2021 09:10:01 GMT) Full text and rfc822 format available.

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

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: lisa-asket <at> perso.be
Cc: 49567 <at> debbugs.gnu.org
Subject: Re: bug#49567: outline level colours variability across major modes
Date: Fri, 16 Jul 2021 11:09:11 +0200
lisa-asket <at> perso.be writes:

> Would you know how I con set specific colours without requiring changes to the major mode faces? 

M-x customize-apropos-faces RET outline

Then expand the faces you are interested in, "Show All Attributes", set
a foreground color, and either C-c C-c (set for session) or C-x C-s
(save in your init file, or custom-file if that's set).

With outline-minor-mode-highlight set to 'override, that should ensure
all outline headings have the same foregrounds, regardless of the major
mode.

If you do not wish to go through Customize, you can probably use
set-face-foreground in your init file.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49567; Package emacs. (Fri, 16 Jul 2021 10:11:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: lisa-asket <at> perso.be
Cc: 49567 <at> debbugs.gnu.org,
 Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Subject: Re: bug#49567: outline level colours variability across major modes
Date: Fri, 16 Jul 2021 12:09:52 +0200
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:

> lisa-asket <at> perso.be writes:
>
>> Have seen that outline level colours change according to the major
>> made.  I do not like this, because
>> I would like that outline colour levels be consistent across major modes. 
>
> Have you tried tweaking outline-minor-mode-highlight (introduced in
> Emacs 28, i.e. on the master branch)?  Setting it to 'override (and
> reloading outline-minor-mode) does exactly what you would like, AFAICT
> from reading the docstring, and trying it out.
>
>> Currently there is no facility for someone to define their own
>> outline level colour schemes
>> that in fixed across major modes.
>
> Wouldn't customizing outline-[1-8] faces (plus setting
> outline-minor-mode-highlight to 'override) allow exactly that?

So there doesn't seem to be anything to fix here, and I'm closing this
bug report.

And you've once again asked pretty much the same question both in the
bug tracker and on the Emacs help mailing list (and Eli answered your
question there).  Please stop doing this -- this isn't what the Emacs
bug tracker is for.

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Jul 2021 10:11:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 49567 <at> debbugs.gnu.org and lisa-asket <at> perso.be Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Jul 2021 10:11:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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