From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eladio Ventura Newsgroups: gmane.emacs.help Subject: outline-minor-mode color on by default? Date: Sun, 2 Mar 2003 15:49:42 +0000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030302154942.GA29389@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046616104 5530 80.91.224.249 (2 Mar 2003 14:41:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2003 14:41:44 +0000 (UTC) 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 18pUeq-0001Qa-00 for ; Sun, 02 Mar 2003 15:41:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18pUev-0001ph-04 for gnu-help-gnu-emacs@m.gmane.org; Sun, 02 Mar 2003 09:41:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18pUel-0001pU-00 for help-gnu-emacs@gnu.org; Sun, 02 Mar 2003 09:41:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18pUeF-0001cu-00 for help-gnu-emacs@gnu.org; Sun, 02 Mar 2003 09:41:34 -0500 Original-Received: from 0x503eee7b.arcnxx6.adsl-dhcp.tele.dk ([80.62.238.123] helo=Cagafuego.opasia.dk) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18pUeF-0001bi-00 for help-gnu-emacs@gnu.org; Sun, 02 Mar 2003 09:41:03 -0500 Original-Received: by Cagafuego.opasia.dk (Postfix, from userid 1000) id 3DE9465B; Sun, 2 Mar 2003 15:49:42 +0000 (GMT) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.4i 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:7250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7250 I use outline-mode mainly to spice up my textfiles with some colors, but alas when I use outline-minor-mode as a hook to text-mode, all I get is the folding capability. I would like to be able see my files in funky colors the minute desktop-mode has finished loading all my files when I start up emacs. At present, I have to hit outline(-major)-mode for the Christmas lights to flare up, but I'd like to use text-mode as my major mode. Can anyone help me? I've put the following in my dot-emacs: (add-hook 'text-mode-hook (function (lambda () (outline-minor-mode 1)))) -- "Thinking gives you wrinkles!" Malibu Stacy, the Simpsons