From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-outline-regexp changes break use of org-overview in non-org buffers Date: Mon, 15 Aug 2011 09:52:35 +0200 Message-ID: <87fwl35cxo.fsf@gnu.org> References: <87fwl6waid.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qsrxl-0007U1-D1 for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 03:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qsrxk-0006vu-9x for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 03:51:57 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:59237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qsrxj-0006vk-TJ for emacs-orgmode@gnu.org; Mon, 15 Aug 2011 03:51:56 -0400 Received: by wwf10 with SMTP id 10so3644895wwf.30 for ; Mon, 15 Aug 2011 00:51:55 -0700 (PDT) In-Reply-To: <87fwl6waid.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 12 Aug 2011 17:06:02 -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: Org Mode Hi Matt, Matt Lundin writes: > The old line in org overview, by contrast, looked for the beginning of > an outline line: > > (if (re-search-forward (concat "^" outline-regexp) nil t) > > Would it be possible to revert to the older, more generous construction > of the regexp (so that it can vary by mode/buffer)? Done. Thanks for this fix, org-global-cycle now works fine in buffers using orgstruct-mode. -- Bastien