From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: happy@vole.com (mr.sparkle) Newsgroups: gmane.emacs.help Subject: Re: outline minor mode font lock Date: 15 Jun 2003 20:59:55 -0400 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <5ladcje7sm.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055725117 7386 80.91.224.249 (16 Jun 2003 00:58:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 00:58:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 02:58:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19RiKP-0001ue-00 for ; Mon, 16 Jun 2003 02:58:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19RiMN-00015M-50 for gnu-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2003 21:00:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.uncensored-news.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 24 Original-Xref: shelby.stanford.edu gnu.emacs.help:114466 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10958 >> 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.