From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] [PATCH] Introduce org-specific functions for (next/previous)-visible-heading Date: Mon, 19 Jan 2015 18:58:11 +0100 Message-ID: <87k30iac0c.fsf@nicolasgoaziou.fr> References: <871tmric73.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGZb-0002ku-8t for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDGZY-000741-2t for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:57:11 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDGZX-00073m-SP for emacs-orgmode@gnu.org; Mon, 19 Jan 2015 12:57:07 -0500 Received: from mfilter33-d.gandi.net (mfilter33-d.gandi.net [217.70.178.164]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 155221720B4 for ; Mon, 19 Jan 2015 18:57:07 +0100 (CET) Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter33-d.gandi.net (mfilter33-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 8678XTlNkkhs for ; Mon, 19 Jan 2015 18:57:05 +0100 (CET) Received: from selenimh (unknown [91.224.148.150]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 94DF4172091 for ; Mon, 19 Jan 2015 18:57:05 +0100 (CET) In-Reply-To: <871tmric73.fsf@gmail.com> (Aaron Ecay's message of "Mon, 19 Jan 2015 00:14:40 -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: Org-mode Hello, Aaron Ecay writes: > By default, org uses outline-next-visible-heading and the -previous- > variant for the C-c C-n and C-c C-p keys, which means these commands > stop on inline tasks (since they don=E2=80=99t know to skip them). This = seems > incorrect. Are you sure? This is a way to move to the next inline task (which is some kind of headline). How do you move to it otherwise? > The attached patch adds inlinetask-aware org functions for these keys. > Comments are welcome. You don't need to implement anything new, actually. If you need to ignore inlinetasks for something, just wrap it within `org-with-limited-levels' macro: (org-with-limited-levels (outline-next-visible-heading)) Regards, --=20 Nicolas Goaziou