From: Kévin Le Gouguec 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.