Bernt Hansen <[EMAIL PROTECTED]> writes:

> Manish <[EMAIL PROTECTED]> 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!



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to