emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-refile-targets multiple conditions
Date: Fri, 17 Apr 2009 11:56:39 -0700	[thread overview]
Message-ID: <20524da70904171156u5ef9a408q5296a0c8d5c8d0d8@mail.gmail.com> (raw)
In-Reply-To: <6530CF9F-60C4-46A3-9253-D22DA15B8A9C@gmail.com>

Hi Carsten,

On Fri, Apr 17, 2009 at 08:58, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
> But you can now write a verification function and put it into the new
> variable org-refile-target-verify-function.

Thank you!  I presume one uses org-entry get here?

Also, how to verify that the entire subtree of a doneish task is not
included?  Is there a way to skip the subtree?

Perhaps if the function returns 'skip-entire-subtree, then it can
indicate that there is no need to look at the descendants?

(Or, depending on one's taste, nil could skip nothing, t could skip
the headline, and subtree could skip the subtree.)

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Greed is corrupting science into foul nonsense.  Anybody can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

      reply	other threads:[~2009-04-17 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 22:12 org-refile-targets multiple conditions Samuel Wales
2009-04-16 22:27 ` Samuel Wales
2009-04-17 15:58 ` Carsten Dominik
2009-04-17 18:56   ` Samuel Wales [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=20524da70904171156u5ef9a408q5296a0c8d5c8d0d8@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --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).