[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remove current heading from refile targets?
From: |
Bastien |
Subject: |
Re: [O] Remove current heading from refile targets? |
Date: |
Thu, 21 Jul 2011 15:06:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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.
There are two limitations:
1. It works only if `org-refile-use-cache' is nil.
2. Targets are not excluded when refiling is done from the agenda
(see Bernt's bug report about this)
I think those limitations are okay -- but let me know what you
think.
0001-org-refile-exclude-current-heading-and-subheadings-f.patch
Description: Text Data
--
Bastien
- [O] Remove current heading from refile targets?, Jason Dunsmore, 2011/07/17
- Re: [O] Remove current heading from refile targets?, Bastien, 2011/07/18
- Re: [O] Remove current heading from refile targets?, Jason Dunsmore, 2011/07/18
- Re: [O] Remove current heading from refile targets?, Bastien, 2011/07/18
- Re: [O] Remove current heading from refile targets?, Jason Dunsmore, 2011/07/19
- Re: [O] Remove current heading from refile targets?,
Bastien <=
- Re: [O] Remove current heading from refile targets?, Jason Dunsmore, 2011/07/21
- Re: [O] Remove current heading from refile targets?, Bastien, 2011/07/21
- Re: [O] Remove current heading from refile targets?, Jason Dunsmore, 2011/07/21
- Re: [O] Remove current heading from refile targets?, Bastien, 2011/07/22