emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: steen <mediapathic@gmail.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Help for inserting tagged entries into capture template
Date: Wed, 4 Jul 2018 18:41:11 -0700	[thread overview]
Message-ID: <CAKYYHNXZAA6ncPsgLFd3kqJwYKapL3v0jWKssXyw1io1redE0w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

I think this is best explained withe the actual use case.

I have a template file for a custom capture, that looks like this:

**** Daily Plan %T
    + [ ] The 3 most important tasks [/]
      - [ ] %^{1st Priority}
      - [ ] %^{2nd Priority}
      - [ ] %^{3rd Priority}

I would like it to look like this (but functional)

**** Daily Plan %T
    + [ ] The 3 most important tasks [/]
      - [ ] %^{1st Priority}
      - [ ] %^{2nd Priority}
      - [ ] %^{3rd Priority}
    + [ ] Ongoing Things
      - ( code to find any headlines tagged with :ongoing: )

I see from the template expansion page that I can put %(sexp) into a
template, but I have no idea what that code should look like. I'm assuming
an agenda search would be the most efficient?

Any suggestions on how this could be done?

Cheers,
-- Steen

[-- Attachment #2: Type: text/html, Size: 1216 bytes --]

                 reply	other threads:[~2018-07-05  1:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAKYYHNXZAA6ncPsgLFd3kqJwYKapL3v0jWKssXyw1io1redE0w@mail.gmail.com \
    --to=mediapathic@gmail.com \
    --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).