From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: move org item Date: Mon, 28 Jul 2008 17:18:52 -0700 Message-ID: References: <877ib63btc.fsf@gollum.intra.norang.ca> <87d4kyp2aq.fsf@gollum.intra.norang.ca> <6cej5eazn2.fsf@richardriley.net> Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNcvZ-0002p5-VP for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 20:18:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNcvY-0002om-4P for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 20:18:57 -0400 Received: from [199.232.76.173] (port=51255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNcvX-0002oi-Rq for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 20:18:55 -0400 Received: from py-out-1112.google.com ([64.233.166.181]:58514) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNcvX-0003rp-L6 for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 20:18:55 -0400 Received: by py-out-1112.google.com with SMTP id p76so2634137pyb.1 for ; Mon, 28 Jul 2008 17:18:55 -0700 (PDT) In-Reply-To: <6cej5eazn2.fsf@richardriley.net> 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: Richard G Riley Cc: Bernt Hansen , org-mode On Jul 28, 2008, at 6:48 AM, Richard G Riley wrote: > 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! Customize is your friend. M-x customize-variable RET org-refile-targets RET If you hae trouble to understand from the docstring how a variable should be customized, the customize interface ofives you a different angle. Once you have se the variable with customize, look at the value with `C-h v' - maybe then you understand the lisp structure better so that next time, you may used it!? HTH - Carsten > > > > > _______________________________________________ > 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