From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Org refile within current buffer? Date: Thu, 11 Mar 2010 19:36:22 -0500 Message-ID: <87ljdyxto9.fsf@gollum.intra.norang.ca> References: <2a4ba2fd1003111428i37cbb4ccqef74602d4e214ecb@mail.gmail.com> 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 1Npsrf-0006hh-Ck for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 19:36:31 -0500 Received: from [140.186.70.92] (port=57897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Npsre-0006h5-E7 for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 19:36:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Npsrd-00035Y-8S for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 19:36:30 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:56765) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Npsrd-00035S-4J for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 19:36:29 -0500 In-Reply-To: <2a4ba2fd1003111428i37cbb4ccqef74602d4e214ecb@mail.gmail.com> (Ryan Thompson's message of "Thu\, 11 Mar 2010 14\:28\:18 -0800") 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: Ryan Thompson Cc: Org-Mode List Ryan Thompson writes: > Is there an org-mode command to refile only within the current buffer? Not natively unless you want to make that a global change. You could easily create a function that does that though I think. Just bind that to your favourite key sequence or use M-x my-refile (defun my-refile () (interactive) (let ((org-refile-targets '((nil :maxlevel . 5)))) (org-refile))) HTH, Bernt