From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Conditional capture template headline based on tag? Date: Mon, 1 Oct 2012 23:24:37 -0500 Message-ID: References: <87txv15ein.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIu2D-0002dz-3t for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 00:24:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIu2B-0002PY-5y for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 00:24:41 -0400 Received: from mail-vb0-f41.google.com ([209.85.212.41]:33948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIu2B-0002PO-1Y for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 00:24:39 -0400 Received: by vbkv13 with SMTP id v13so6971445vbk.0 for ; Mon, 01 Oct 2012 21:24:38 -0700 (PDT) In-Reply-To: <87txv15ein.fsf@altern.org> 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: Bastien Cc: emacs-orgmode On Fri, Sep 14, 2012 at 1:01 AM, Bastien wrote: > Hi John, > > John Hendy writes: > >> Just wondering if a capture template could be setup to file into the >> "Tasks" headline (sub-headline) of the matching top level headline >> with that tag or something similar? > > You could use a function in the capture template for this. As in the expansion elements or defining a custom function for the =target= element? Thanks for the suggestion, John > > See the info node "Template elements". > > -- > Bastien