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

Attachment: pgpr1NVwsWmBp.pgp
Description: PGP signature

_______________________________________________
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

Reply via email to