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

2011-07-22 Thread Bastien
Jason Dunsmore writes: >> Please test this second patch over the previous one. > > That seems to work perfectly. Thanks again Bastien. Thanks for confirming. I've now applied the patch. -- Bastien

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

2011-07-21 Thread Jason Dunsmore
Bastien writes: > Jason Dunsmore writes: > >> Looks good except for one quirk. If the heading has a TODO keyword, it >> isn't excluded. Example: >> >> * Heading1 >> ** TODO Subheading1 >> * Heading2 > > Please test this second patch over the previous one. That seems to work perfectly. Thanks

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

2011-07-21 Thread Bastien
Jason Dunsmore writes: > Looks good except for one quirk. If the heading has a TODO keyword, it > isn't excluded. Example: > > * Heading1 > ** TODO Subheading1 > * Heading2 Please test this second patch over the previous one. >From 04a43208d096e792aea68efadc5df95fcbb7d94b Mon Sep 17 00:00:00

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

2011-07-21 Thread Jason Dunsmore
Bastien writes: > Hi Jason, > > Jason Dunsmore 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 li

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

2011-07-21 Thread Bastien
Hi Jason, Jason Dunsmore 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. > > *

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

2011-07-19 Thread Jason Dunsmore
Bastien writes: > Jason Dunsmore writes: > >> Hm, I don't see any change with or without org-completion-use-ido set. >> The current heading still shows up in the refile targets. > > Weird. I double-check and have the current heading filtered out of the > refile targets. Can you check again and

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

2011-07-18 Thread Bastien
Jason Dunsmore writes: > Hm, I don't see any change with or without org-completion-use-ido set. > The current heading still shows up in the refile targets. Weird. I double-check and have the current heading filtered out of the refile targets. Can you check again and/or send a small test file?

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

2011-07-18 Thread Jason Dunsmore
Bastien writes: > Hi Jason, > > Jason Dunsmore writes: > >> I noticed that when I go to refile a heading, the heading that I'm >> refiling is listed in the refile targets. If I choose to refile the >> heading to itself, the following error is displayed: >> >> org-refile: Cannot refile to positi

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

2011-07-18 Thread Bastien
Hi Jason, Jason Dunsmore writes: > I noticed that when I go to refile a heading, the heading that I'm > refiling is listed in the refile targets. If I choose to refile the > heading to itself, the following error is displayed: > > org-refile: Cannot refile to position inside the tree or region

[O] Remove current heading from refile targets?

2011-07-17 Thread Jason Dunsmore
I noticed that when I go to refile a heading, the heading that I'm refiling is listed in the refile targets. If I choose to refile the heading to itself, the following error is displayed: org-refile: Cannot refile to position inside the tree or region When I'm choosing a refile target, the curre