From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: how to change the headline starter * Date: Sat, 13 Aug 2011 08:46:50 -0500 Message-ID: <878vqx77at.fsf@fastmail.fm> References: <1240511841.2591431310664738370.JavaMail.root@zimbra29-e5.priv.proxad.net> <874o2optjt.fsf@praet.org> <87hb6netf6.fsf@nzebook.haselwarter.org> <87hb6ml6ta.fsf@praet.org> <87zkkcu34g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsEYD-0005O9-Nu for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 09:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QsEYB-0005r0-WC for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 09:46:57 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:50597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsEYB-0005qq-Ty for emacs-orgmode@gnu.org; Sat, 13 Aug 2011 09:46:55 -0400 In-Reply-To: <87zkkcu34g.fsf@gnu.org> (Bastien's message of "Sun, 17 Jul 2011 21:19:11 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Marcus Klemm , emacs-orgmode@gnu.org Hi Bastien, Bastien writes: > Attached is a patch that replaces instances of outline-regexp > by org-outline-regexp. It also introduces more harmonization. > > I'd be interesed in hearing about feedback. What is the primary reason to use a hard-coded org-outline-regexp and org-outline-regexp-bol instead of the buffer local outline-regexp? Is it to clear up any confusion about whether the header regexp can be customized? One of the negative effects is (as reported in another post) that one can no longer use org-global-cycle in other modes (e.g., Auctex). Perhaps for the relevant functions (e.g., org-overview) we could construct org-outline-regexp-bol from the a bound version of org-outline-regexp (i.e., one that uses the buffer local value of outline-regexp). At the moment, this FAQ is obsolete: http://orgmode.org/worg/org-faq.html#use-visibility-cycling-in-outline-mode Best, Matt