unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: uzibalqa <uzibalqa@proton.me>
To: Drew Adams <drew.adams@oracle.com>
Cc: Bruno Barbier <brubar.cs@gmail.com>, 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 22:18:16 +0000	[thread overview]
Message-ID: <rsCHKw6l8jLZ6CpZGG-tHMeAqGPSN9TKSn5NVD_Zd48l_iqyYKBEfn_9-iXIn9qKNYn1MkBGek9STFadGU0Txy6EQ8pRe0ooFITnZ_D8Mi8=@proton.me> (raw)
In-Reply-To: <SJ0PR10MB5488521561D3F0C91417336AF358A@SJ0PR10MB5488.namprd10.prod.outlook.com>


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

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

As I am constructing a library, I need to have a function for doing the settings.




  reply	other threads:[~2023-06-16 22:18 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                 ` [External] : " Drew Adams
2023-06-16 22:18                   ` uzibalqa [this message]
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='rsCHKw6l8jLZ6CpZGG-tHMeAqGPSN9TKSn5NVD_Zd48l_iqyYKBEfn_9-iXIn9qKNYn1MkBGek9STFadGU0Txy6EQ8pRe0ooFITnZ_D8Mi8=@proton.me' \
    --to=uzibalqa@proton.me \
    --cc=brubar.cs@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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).