From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: Re: Re: move org item Date: Mon, 28 Jul 2008 15:48:01 +0200 Message-ID: <6cej5eazn2.fsf@richardriley.net> References: <877ib63btc.fsf@gollum.intra.norang.ca> <87d4kyp2aq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNT56-0007Zl-Aq for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 09:48:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNT54-0007Ys-ME for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 09:48:07 -0400 Received: from [199.232.76.173] (port=48504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNT54-0007Yg-EV for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 09:48:06 -0400 Received: from hu-out-0506.google.com ([72.14.214.230]:43560) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNT53-0005eI-Ua for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 09:48:06 -0400 Received: by hu-out-0506.google.com with SMTP id 34so1013207hud.1 for ; Mon, 28 Jul 2008 06:48:03 -0700 (PDT) In-Reply-To: <87d4kyp2aq.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Mon, 28 Jul 2008 09:26:53 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: org-mode , Richard G Riley Bernt Hansen writes: > Manish 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!