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

2011-07-22 Thread Bastien
Jason Dunsmore emacs-orgm...@dunsmor.com 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 Bastien
Hi Jason, Jason Dunsmore ja...@dunsmor.com 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

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

2011-07-21 Thread Jason Dunsmore
Bastien b...@altern.org writes: Hi Jason, Jason Dunsmore ja...@dunsmor.com 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

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

2011-07-21 Thread Bastien
Jason Dunsmore ja...@dunsmor.com 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

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

2011-07-21 Thread Jason Dunsmore
Bastien b...@altern.org writes: Jason Dunsmore ja...@dunsmor.com 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

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

2011-07-19 Thread Jason Dunsmore
Bastien b...@altern.org writes: Jason Dunsmore ja...@dunsmor.com 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.

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

2011-07-18 Thread Bastien
Hi Jason, Jason Dunsmore emacs-orgm...@dunsmor.com 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

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

2011-07-18 Thread Jason Dunsmore
Bastien b...@altern.org writes: Hi Jason, Jason Dunsmore emacs-orgm...@dunsmor.com 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:

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

2011-07-18 Thread Bastien
Jason Dunsmore ja...@dunsmor.com 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

[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