From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Refile to top or bottom of list on demand Date: Thu, 28 Jan 2010 19:21:56 +0100 Message-ID: <706763E0-D99F-4976-88D7-F7443838978D@gmail.com> References: <20100126232207.093F0320056@mail.dagertech.net> Mime-Version: 1.0 (Apple Message framework v936) 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 1NadX5-0006If-Tt for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 18:12:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NadX1-0006Gr-Om for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 18:12:15 -0500 Received: from [199.232.76.173] (port=41598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NadX1-0006Gn-L2 for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 18:12:11 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:48641) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NadX0-00062E-WF for emacs-orgmode@gnu.org; Thu, 28 Jan 2010 18:12:11 -0500 Received: by ewy24 with SMTP id 24so1354905ewy.26 for ; Thu, 28 Jan 2010 15:12:10 -0800 (PST) In-Reply-To: <20100126232207.093F0320056@mail.dagertech.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: "David A. Gershman" Cc: Org-Mode List On Jan 27, 2010, at 12:22 AM, David A. Gershman wrote: > > When I refile a heading, there is a variable that can be set to send > the > refiled headings to the front or back of the destination list. > > Is there a way to do that "on demand", i.e. without setting a > variable? No. But you could make you own command which uses `let' to bind the variable and then call org-refile (defun my-refile-reversed () "Call `org-refile', temporary changing the value of `org-reverse- note-order'." (interactive) (let ((org-reverse-note-order (not org-reverse-note-order))) (call-interactively 'org-refile))) - Carsten > > Thanks! > > ---------------------------------------- > David A. Gershman > gershman@dagertech.net > http://dagertech.net/gershman/ > "It's all about the path!" --d. gershman > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten