emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Simon Brown <lists@700c.org>
To: emacs-orgmode@gnu.org
Subject: Capturing to a list in a dynamic 2nd level heading
Date: Mon, 13 Aug 2012 17:26:43 +0100	[thread overview]
Message-ID: <1344875203.2482.140661114279681.51ABA6DA@webmail.messagingengine.com> (raw)

Hi all,

Is it possible with org-capture to create a template that would create
the following:

* Log
** 2012 - Week 33
 - One liner of interest
 - Another one liner of interest

So that is a capture template that generates the 2nd level heading when
required and the text entered is converted to a list entry which is
added to the end of the list.

(format-time-string "%G - Week %W") is the correct date string, but
file+headline creates a top level heading and file+olp expects it to
already exist. 

It seems that the text entered must also become a sub heading. Is that
correct?

I'm trying to achieve something very similar to this
http://metajack.im/2009/01/01/journaling-with-emacs-orgmode/

Any suggestions greatly appreciated. I haven't managed to strike gold in
the list archive.

Simon
-- 
Simon Brown

             reply	other threads:[~2012-08-13 16:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 16:26 Simon Brown [this message]
2012-08-13 17:50 ` Capturing to a list in a dynamic 2nd level heading Christopher J. White
2012-08-14 18:12   ` Simon Brown

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=1344875203.2482.140661114279681.51ABA6DA@webmail.messagingengine.com \
    --to=lists@700c.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).