unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49567: outline level colours variability across major modes
@ 2021-07-15  5:31 lisa-asket
  2021-07-15  7:33 ` Kévin Le Gouguec
  0 siblings, 1 reply; 6+ messages in thread
From: lisa-asket @ 2021-07-15  5:31 UTC (permalink / raw)
  To: 49567

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


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.



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

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

* bug#49567: outline level colours variability across major modes
  2021-07-15  5:31 bug#49567: outline level colours variability across major modes lisa-asket
@ 2021-07-15  7:33 ` Kévin Le Gouguec
  2021-07-15  8:00   ` lisa-asket
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kévin Le Gouguec @ 2021-07-15  7:33 UTC (permalink / raw)
  To: lisa-asket; +Cc: 49567

lisa-asket@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?





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

* bug#49567: outline level colours variability across major modes
  2021-07-15  7:33 ` Kévin Le Gouguec
@ 2021-07-15  8:00   ` lisa-asket
  2021-07-16  4:44   ` lisa-asket
  2021-07-16 10:09   ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: lisa-asket @ 2021-07-15  8:00 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 49567

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

From: Kévin Le Gouguec <kevin.legouguec@gmail.com>
To: lisa-asket@perso.be
Subject: Re: bug#49567: outline level colours variability across major modes
Date: 15/07/2021 09:33:13 Europe/Paris
Cc: 49567@debbugs.gnu.org

lisa-asket@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.  







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

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

* bug#49567: outline level colours variability across major modes
  2021-07-15  7:33 ` Kévin Le Gouguec
  2021-07-15  8:00   ` lisa-asket
@ 2021-07-16  4:44   ` lisa-asket
  2021-07-16  9:09     ` Kévin Le Gouguec
  2021-07-16 10:09   ` Lars Ingebrigtsen
  2 siblings, 1 reply; 6+ messages in thread
From: lisa-asket @ 2021-07-16  4:44 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 49567

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

From: Kévin Le Gouguec <kevin.legouguec@gmail.com>
To: lisa-asket@perso.be
Subject: bug#49567: outline level colours variability across major modes
Date: 15/07/2021 09:33:13 Europe/Paris
Cc: 49567@debbugs.gnu.org

lisa-asket@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? 



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

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

* bug#49567: outline level colours variability across major modes
  2021-07-16  4:44   ` lisa-asket
@ 2021-07-16  9:09     ` Kévin Le Gouguec
  0 siblings, 0 replies; 6+ messages in thread
From: Kévin Le Gouguec @ 2021-07-16  9:09 UTC (permalink / raw)
  To: lisa-asket; +Cc: 49567

lisa-asket@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.





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

* bug#49567: outline level colours variability across major modes
  2021-07-15  7:33 ` Kévin Le Gouguec
  2021-07-15  8:00   ` lisa-asket
  2021-07-16  4:44   ` lisa-asket
@ 2021-07-16 10:09   ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-16 10:09 UTC (permalink / raw)
  To: lisa-asket; +Cc: 49567, Kévin Le Gouguec

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> lisa-asket@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





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

end of thread, other threads:[~2021-07-16 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15  5:31 bug#49567: outline level colours variability across major modes lisa-asket
2021-07-15  7:33 ` Kévin Le Gouguec
2021-07-15  8:00   ` lisa-asket
2021-07-16  4:44   ` lisa-asket
2021-07-16  9:09     ` Kévin Le Gouguec
2021-07-16 10:09   ` Lars Ingebrigtsen

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