all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: uzibalqa <uzibalqa@proton.me>
To: uzibalqa via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Changing foreground colours for outline-minor-mode
Date: Mon, 19 Jun 2023 12:20:33 +0000	[thread overview]
Message-ID: <aYd_IdDbTPpJNcb2kxgTcUs3RsnAdaTjCHU1qdR15ZNC902LvvSldV4iL7ZJrXYJCzvY72CIObovjU8j_h76nZWINw_pk8ZrICPfj9jIzO0=@proton.me> (raw)


Having changed outline-regexp to accept ";;; H1" ";;; H2", ... as outline headers,
I also want to change the foreground colours at the different heading levels.

(defvar hglevels
  '( (";;; H1" . 1) (";;; H2" . 2) (";;; H3" . 3) (";;; H4" . 4)
     (";;; H5" . 5) (";;; H6" . 6) (";;; H7" . 7) (";;; H8" . 8) ))

(setq outline-heading-alist hglevels)

But I do not see the foreground colours taking effect.

Is the definition for hglevels wrong for setting outline-heading-alist ?

Would I need to enable outline-minor-mode before or after setting outline-heading-alist ?





             reply	other threads:[~2023-06-19 12:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19 12:20 uzibalqa [this message]
2023-06-19 15:53 ` Changing foreground colours for outline-minor-mode Yuri Khan
2023-06-19 16:06   ` uzibalqa
2023-06-19 16:25     ` Yuri Khan
2023-06-19 16:55       ` uzibalqa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='aYd_IdDbTPpJNcb2kxgTcUs3RsnAdaTjCHU1qdR15ZNC902LvvSldV4iL7ZJrXYJCzvY72CIObovjU8j_h76nZWINw_pk8ZrICPfj9jIzO0=@proton.me' \
    --to=uzibalqa@proton.me \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.