[Top][All Lists]

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

Re: [O] Remove current heading from refile targets?

From: Jason Dunsmore
Subject: Re: [O] Remove current heading from refile targets?
Date: Thu, 21 Jul 2011 09:15:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Jason,
> Jason Dunsmore <address@hidden> writes:
>> It looks like it removes top-level headings from the refile targets, but
>> nothing below that.  For example, in the org file below, place the
>> cursor on Subheading1 and type "M-x org-refile".  The current
>> heading will be in the list of refile targets.
>> * Heading1
>> ** Subheading1
>> * Heading2
> Okay, I didn't get it first.
> Please test this attached patch against latest git.

Looks good except for one quirk.  If the heading has a TODO keyword, it
isn't excluded.  Example:

--8<---------------cut here---------------start------------->8---
* Heading1
** TODO Subheading1
* Heading2
--8<---------------cut here---------------end--------------->8---


reply via email to

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