From: Drew Adams <drew.adams@oracle.com>
To: uzibalqa <uzibalqa@proton.me>, Bruno Barbier <brubar.cs@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode
Date: Fri, 16 Jun 2023 21:57:58 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488521561D3F0C91417336AF358A@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <kdFzYjHKAS8goPpKA8yb7ozk9cJLjO0kgYqOgHJdmrevxZ8vFPX1-tRIBEaAVhe-ok0T78HOxxvSMXqjNDF8liLXkPNzmm1zYYDRYMlnp3Y=@proton.me>
> 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'.
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.
Have you tried to customize them? To do that is
simple: `M-x customize-face'. Or get to them all
together, with `M-x customize-group outlines'.
Customize _persists_ your settings. It sounds
like exactly what you're asking for.
next prev parent reply other threads:[~2023-06-16 21:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 16:13 Changing highlight colours of headings when using outline-minor-mode Heime
2023-06-14 17:06 ` Eli Zaretskii
2023-06-14 23:20 ` Heime
2023-06-14 23:38 ` Heime
2023-06-16 16:09 ` uzibalqa
2023-06-16 17:03 ` uzibalqa
2023-06-16 18:01 ` Eli Zaretskii
2023-06-16 18:37 ` uzibalqa
2023-06-16 19:12 ` Bruno Barbier
2023-06-16 19:34 ` uzibalqa
2023-06-16 19:55 ` Bruno Barbier
2023-06-16 20:05 ` uzibalqa
2023-06-16 20:15 ` uzibalqa
2023-06-16 21:57 ` Drew Adams [this message]
2023-06-16 22:18 ` [External] : " uzibalqa
2023-06-16 22:39 ` uzibalqa
2023-06-17 5:41 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR10MB5488521561D3F0C91417336AF358A@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=brubar.cs@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=uzibalqa@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).