From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: how to change the headline starter * Date: Tue, 16 Aug 2011 18:40:51 +0200 Message-ID: <87hb5hl370.fsf@gnu.org> 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> <878vqx77at.fsf@fastmail.fm> <87pqk9pfb5.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtMgX-00018X-TL for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 12:40:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtMgW-0008Af-ET for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 12:40:13 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtMgW-0008AY-8K for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 12:40:12 -0400 Received: by wyi11 with SMTP id 11so63120wyi.0 for ; Tue, 16 Aug 2011 09:40:11 -0700 (PDT) In-Reply-To: <87pqk9pfb5.fsf@fastmail.fm> (Matt Lundin's message of "Sat, 13 Aug 2011 09:16:30 -0500") 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: Matt Lundin Cc: Marcus Klemm , emacs-orgmode@gnu.org Hi Matt, Matt Lundin writes: > On further investigation, I can see very easily how much this cleans up > the code. Sorry for the noise! No problem! >> 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 > > I think the best approach here is to hard-code org-outline-regexp and > org-outline-regexp-bol (as you have done) but to make it more flexible > in the *few* instances where one would like to use visibility functions > in outline-mode. I've attached a simple patch that restores global > cycling in outline-mode buffers. IIUC we don't need such patch anymore -- can you confirm this? Thanks, -- Bastien