emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Refile to top or bottom of list on demand
@ 2010-01-26 23:22 David A. Gershman
  2010-01-28 18:21 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: David A. Gershman @ 2010-01-26 23:22 UTC (permalink / raw)
  To: Org-Mode List


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?

Thanks!

----------------------------------------
David A. Gershman
gershman@dagertech.net
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Refile to top or bottom of list on demand
  2010-01-26 23:22 Refile to top or bottom of list on demand David A. Gershman
@ 2010-01-28 18:21 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-01-28 18:21 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-28 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26 23:22 Refile to top or bottom of list on demand David A. Gershman
2010-01-28 18:21 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).