emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] [PATCH] Introduce org-specific functions for (next/previou


From: Nicolas Goaziou
Subject: Re: [O] [RFC] [PATCH] Introduce org-specific functions for (next/previous)-visible-heading
Date: Mon, 19 Jan 2015 18:58:11 +0100

Hello,

Aaron Ecay <address@hidden> 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’t 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,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]