emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Help for inserting tagged entries into capture template
@ 2018-07-05  1:41 steen
  0 siblings, 0 replies; only message in thread
From: steen @ 2018-07-05  1:41 UTC (permalink / raw)
  To: org-mode-email

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-05  1:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05  1:41 Help for inserting tagged entries into capture template steen

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).