Re: [O] org-refile-use-outline-path question

2011-10-12 Thread Bernt Hansen


"Sebastien Vauban"
 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:
>>
>> /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




Re: [O] org-refile-use-outline-path question

2011-10-12 Thread Sebastien Vauban
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:
>
> /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...

Best regards,
  Seb

-- 
Sebastien Vauban




[O] org-refile-use-outline-path question

2011-10-11 Thread Arun Persaud
Hi

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:

/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?

Thanks

Arun