From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: outline-regexp and font locking Date: Tue, 1 Jul 2008 16:34:48 -0700 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDpN8-0001Hw-KI for emacs-orgmode@gnu.org; Tue, 01 Jul 2008 19:34:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDpN6-0001GG-5x for emacs-orgmode@gnu.org; Tue, 01 Jul 2008 19:34:53 -0400 Received: from [199.232.76.173] (port=36999 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDpN6-0001GA-21 for emacs-orgmode@gnu.org; Tue, 01 Jul 2008 19:34:52 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:38122) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDpN5-0003nK-Om for emacs-orgmode@gnu.org; Tue, 01 Jul 2008 19:34:51 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aarre Laakso Cc: emacs-orgmode@gnu.org Hi Aare In Org-mode, the outline starter is hard-coded to be "*", so you cannot without problems change the outline regexp. What you can to is use outline-mode to edit your file, change the outline regexp for that, and then use tricks like listed here http://orgmode.org/worg/org-faq.php#1.3 to get some of Org's functionality into that mode. - Carsten On Jun 28, 2008, at 8:29 PM, Aarre Laakso wrote: > Hello, > > In order to edit AsciiDoc files using Org, I have the following line > in my .emacs (XEmacs 21.4.21): > > (add-hook 'org-mode-hook '(lambda () (setq outline-regexp "=+"))) > > This does let me use Org outlining commands (e.g., tab to > collapse/show headings). However, it turns off the pretty font-locking > of the headings that I get with the default outline-regexp in > org-mode. > > Could someone tell me how to change outline-regexp for org-mode AND > still get full org-mode font-locking? > > Thank you, > Aarre Laakso > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode