emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "David A. Gershman" <dagershman_dgt@dagertech.net>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Refile to top or bottom of list on demand
Date: Thu, 28 Jan 2010 19:21:56 +0100	[thread overview]
Message-ID: <706763E0-D99F-4976-88D7-F7443838978D@gmail.com> (raw)
In-Reply-To: <20100126232207.093F0320056@mail.dagertech.net>


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

      reply	other threads:[~2010-01-28 23:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 23:22 Refile to top or bottom of list on demand David A. Gershman
2010-01-28 18:21 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=706763E0-D99F-4976-88D7-F7443838978D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dagershman_dgt@dagertech.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).