[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Changing highlight colours of headings when using o
From: |
uzibalqa |
Subject: |
RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode |
Date: |
Fri, 16 Jun 2023 22:39:24 +0000 |
------- Original Message -------
> On Saturday, June 17th, 2023 at 9:57 AM, Drew Adams drew.adams@oracle.com
> wrote:
>
> > > Ideally I would like that the colours are set permanently whenever I use
> > > "outline-minor-mode". Hewovor the function I wrote has to be run on every
> > > buffer.
> >
> > I'm no expert on `outline-minor-mode'. But I sense that maybe you haven't
> > been listening. Several times people have suggested that you just
> > _customize_ the relevant faces. I do` M-x customize-group outline TAB RET'.
> > I
> > see 8 faces named `outline-1' through` outline-8'.
>
>
> Although that is right, my intention is different. "M-x customize-group
> outline TAB RE" is not enough
> for me.
>
> > I do `C-h f outline-minor-mode', to see if it mentions something special
> > wrt the minor mode and faces, as opposed to the major mode,` outline-mode'.
> > It doesn't.
> >
> > You can also take a look at the source code, in
> > `outline.el'. It seems, from a superficial look, that the faces used by`
> > outline-minor-mode' are those 8 faces.
I have done as follows, which gets the correct level colours as you described.
(defun outline-tyface ()
(interactive)
(set-face-foreground 'outline-1 "red")
(set-face-foreground 'outline-2 "blue")
(set-face-foreground 'outline-3 "green"))
- Re: Changing highlight colours of headings when using outline-minor-mode, (continued)
- Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, Eli Zaretskii, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, Bruno Barbier, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, Bruno Barbier, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode, Drew Adams, 2023/06/16
- RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode, uzibalqa, 2023/06/16
- RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode,
uzibalqa <=
- Re: Changing highlight colours of headings when using outline-minor-mode, Eli Zaretskii, 2023/06/17