[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-refile-use-outline-path question
From: |
Bernt Hansen |
Subject: |
Re: [O] org-refile-use-outline-path question |
Date: |
Wed, 12 Oct 2011 05:33:37 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
"Sebastien Vauban"
<address@hidden> writes:
> Hi Arun,
>
> Arun Persaud wrote:
>> I use the following settings to refile tasks
>>
>> (setq org-refile-use-outline-path 'file)
>> (setq org-refile-targets '((org-agenda-files . (:maxlevel . 5))))
>>
>> this has the nice effect that I can refile across different files, which
>> I do use every now and then.
>> For this I use:
>>
>> <file>/level1/level2/...
>>
>> However mostly I refile to the same file and therefore I wish I could
>> just use something like:
>>
>> level1/level2/...
>>
>> and it would refile using the current file, which at the moment doesn't
>> work for me (at least the level1s of the current file are not part of
>> the autocomplete, only files are).
>>
>> Is there a way that this can be done or can this be added?
>
> Not that I know of.
>
> I had the same wish, with eventually `.' or something like that to denote the
> local file. But it's still on the TODO lists...
Add an extra entry to org-refile-targets indicating the current file
should be valid for refiling.
I use
--8<---------------cut here---------------start------------->8---
(setq org-refile-targets (quote ((nil :maxlevel . 9)
(org-agenda-files :maxlevel . 9))))
--8<---------------cut here---------------end--------------->8---
You'll still have to specify the current file in the path though with
your setup.
Regards,
Bernt