emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Capture template for datetree under existing headline
@ 2016-09-23 19:41 Peter Sterner
  2016-09-25 14:32 ` Myles English
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Sterner @ 2016-09-23 19:41 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi.

I want to have a capture template that generates a datetree under an
existing headline in an org file with existing headlines. I tried this:

("j" "Journal" entry (file+datetree "~/workspace/org/notes.org" "Journal")
"* %?\n Added %U\n %i\n%a")

I tried creating the Journal headline before capturing. But org-mode
generates a 2016 headline not placed under Journal.

I really appreciate any help you can provide.

Peter

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-25 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-23 19:41 Capture template for datetree under existing headline Peter Sterner
2016-09-25 14:32 ` Myles English

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