From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Conditional capture template headline based on tag? Date: Tue, 02 Oct 2012 16:16:49 +0200 Message-ID: <87obkl6jse.fsf@bzg.ath.cx> References: <87txv15ein.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ3HK-0005FI-02 for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 10:16:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ3H9-00023S-Eb for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 10:16:53 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:34652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ3H9-00023E-8F for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 10:16:43 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so754360wib.12 for ; Tue, 02 Oct 2012 07:16:42 -0700 (PDT) In-Reply-To: (John Hendy's message of "Mon, 1 Oct 2012 23:24:37 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode Hi John, John Hendy writes: > As in the expansion elements or defining a custom function for the > =target= element? I'm thinking of this part of org-capture-templates's docstring: (function function-finding-location) Most general way, write your own function to find both file and location HTH, -- Bastien