emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Refile to top or bottom of list on demand


From: Carsten Dominik
Subject: Re: [Orgmode] Refile to top or bottom of list on demand
Date: Thu, 28 Jan 2010 19:21:56 +0100


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
address@hidden
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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]