From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mead Subject: Re: Make archived headers unavailable as refile targets? Date: Tue, 26 Jan 2010 15:18:47 +0000 Message-ID: <6f9073781001260718o4504e914ma74f32eb3ed3b07e@mail.gmail.com> References: <878wbmpj9o.fsf@gmail.com> Reply-To: paul.d.mead@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZnBq-0006TV-N1 for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 10:18:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZnBq-0006SP-0G for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 10:18:50 -0500 Received: from [199.232.76.173] (port=35997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZnBp-0006SB-Re for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 10:18:49 -0500 Received: from fg-out-1718.google.com ([72.14.220.153]:16460) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZnBp-0007nD-FT for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 10:18:49 -0500 Received: by fg-out-1718.google.com with SMTP id e21so250680fga.12 for ; Tue, 26 Jan 2010 07:18:48 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org 2010/1/26 Carsten Dominik : > > 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? I'm assuming that I write a function which tests whether a headline has an ARCHIVE tag and return nil if that's the case - is that right? Paul