all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: happy@vole.com (mr.sparkle)
Subject: Re: outline minor mode font lock
Date: 15 Jun 2003 20:59:55 -0400	[thread overview]
Message-ID: <m08ys2supg.fsf@localhost.localdomain> (raw)
In-Reply-To: 5ladcje7sm.fsf@rum.cs.yale.edu

>> Anyone know how to get the different levels of outline-minor-mode
>> colorized like outline major mode?

>I guess something like

 >  (add-hook 'outline-minor-mode-hook
 >    (lambda () (font-lock-add-keywords nil outline-font-lock-keywords)))

>but it might depend on the major mode with which you use it, with the
>version of Emacs you use, on the way you turn on font-lock-mode, on
>how you want to the major-mode patterns and the outline-mode patterns
>to interact, ...
>Feel free to give more info.


>        Stefan
Thanks for the reply. I use outline-minor-mode mostly in
emacs-wiki(love it!) and todo-mode buffers. It's totally
functional,just not colorized. I tried your suggestion, but I couldn't
get it to work satisfactorily. It seems to work in records-mode but
not in wiki or todo modes. Also it seems to randomly colorize my
.emacs when I view that in outline-minor-mode. It's not a major issue,
but it would be nice to have the outline headers colorized in
outline-minor-mode.

  reply	other threads:[~2003-06-16  0:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-15  4:39 outline minor mode font lock mr.sparkle
2003-06-15 14:26 ` Stefan Monnier
2003-06-16  0:59   ` mr.sparkle [this message]
2003-06-16 14:01     ` Stefan Monnier

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=m08ys2supg.fsf@localhost.localdomain \
    --to=happy@vole.com \
    /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.