From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [patch] Prevent inlinetasks right after a headline from breaking cycling-behaviour Date: Mon, 13 Feb 2012 11:23:47 +0100 Message-ID: <87ty2v58wc.fsf@gmail.com> References: <4F368E11.7040205@online.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwt6l-00006P-AO for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 05:26:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rwt6d-0000ZK-PP for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 05:26:07 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:38195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwt6d-0000ZC-KO for emacs-orgmode@gnu.org; Mon, 13 Feb 2012 05:25:59 -0500 Received: by wibhj13 with SMTP id hj13so4275439wib.0 for ; Mon, 13 Feb 2012 02:25:59 -0800 (PST) In-Reply-To: <4F368E11.7040205@online.de> (Marc-Oliver Ihm's message of "Sat, 11 Feb 2012 16:49:37 +0100") 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: Marc-Oliver Ihm Cc: emacs-orgmode@gnu.org, public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org Hello, > The patch below corrects the function org-cycle-internal-local by > simply seting the variable outline-regexp to the value of > org-outline-regexp for the call to show-children. org-outline-regexp > is already prepared to not match inline-tasks, so using its value here > avoids the problem. The patch is quite minimal and I did not see any > side-effects. Thank you for your patch. I've applied it with a slight modification. Regards, -- Nicolas Goaziou