[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: move org item
From: |
Richard G Riley |
Subject: |
Re: [Orgmode] Re: move org item |
Date: |
Mon, 28 Jul 2008 15:48:01 +0200 |
User-agent: |
Emacs 22.2.1/No Gnus v0.11 |
Bernt Hansen <address@hidden> writes:
> Manish <address@hidden> writes:
>
>> On Mon, Jul 28, 2008 at 9:22 AM, Bernt Hansen wrote:
>> > Richard G Riley writes:
>> >
>> >> Sorry, but I cant see it in the manual (rubs eyes) but is it
>> >> possible to move an item(s) from one org type/file to another file?
>> >>
>> >> e.g I have something in my generals "tasks" file and then want to
>> >> refile it in my "emacs" org file.
>> >>
>> >> I realise I can refile to another category in the same file using
>> >> C-c C-w (org-refile).
>> >>
>> > I tend to just fold the task, cut it, and paste it in the other file
>> > ... followed by refiling it if necessary to the 'right' place in the
>> > new file. Maybe there's an easier way I'm unaware of.
>>
>> This troubled me a lot as well but I have found following setting to
>> be of good use:
>>
>> (setq org-refile-targets (quote ((org-agenda-files :regexp . "*"))))
>
> Cool! Thanks for letting me know about this. I have way too many
> targets to use your setting but this works great for me:
>
> (setq org-refile-targets (quote ((org-agenda-files :level . 1))))
>
> -Bernt
Great stuff guys. I dont think I'll ever be a lisp programmer - I looked
at the doc string and it flew over my head on how to reduce the number
of targets. Mind you, it was at 5am or so :-( This is exactly what I
wanted!