emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Conditional capture template headline based on tag?
Date: Mon, 1 Oct 2012 23:24:37 -0500	[thread overview]
Message-ID: <CA+M2ft_TJQN2i32inKGWF+wtzfemaT+o8Sb0e_5eORSaiPY-pA@mail.gmail.com> (raw)
In-Reply-To: <87txv15ein.fsf@altern.org>

On Fri, Sep 14, 2012 at 1:01 AM, Bastien <bzg@altern.org> wrote:
> Hi John,
>
> John Hendy <jw.hendy@gmail.com> 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

  reply	other threads:[~2012-10-02  4:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 15:25 Conditional capture template headline based on tag? John Hendy
2012-09-14  6:01 ` Bastien
2012-10-02  4:24   ` John Hendy [this message]
2012-10-02 14:16     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft_TJQN2i32inKGWF+wtzfemaT+o8Sb0e_5eORSaiPY-pA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).