[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outline minor mode font lock
From: |
mr.sparkle |
Subject: |
Re: outline minor mode font lock |
Date: |
15 Jun 2003 20:59:55 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>> 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.