Thanks David, I'm going to have to check out the elisp reference and try to understand what you did there!
Paul 2010/1/26 David Maus <maus.da...@gmail.com>: > Hi Paul, > > At Tue, 26 Jan 2010 15:18:47 +0000, > Paul Mead wrote: >> >> 2010/1/26 Carsten Dominik <carsten.domi...@gmail.com>: >> >> > >> > Take a look at the variable `org-refile-target-verify-function'. >> > >> > HTH >> > >> > - Carsten >> > >> > >> Thanks Carsten, I've had a look at the variable and the customize >> option for it and I'm afraid I don't understand how to use it for my >> task. I'm afraid my elisp skills aren't up to much. Do I enter the >> name of a function and defun it somewhere else? > > Yes, or you use the anonymous lambda declaration. Something like this: > > (setq org-refile-target-verify-function > '(lambda () > (if (member org-archive-tag (split-string (or (org-entry-get (point) > "ALLTAGS") "") ":")) > nil t))) > HTH > > -- David > > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmj...@jabber.org > Email..... maus.da...@gmail.com > _______________________________________________ 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