emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Cave <charles.cave@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How do I insert just a time stamp in a capture template?
Date: Wed, 8 Dec 2010 22:08:32 +0000 (UTC)	[thread overview]
Message-ID: <loom.20101208T230244-676@post.gmane.org> (raw)

I use capture to log how I am spending my time. Every time I start a new task, 
drink a cup of coffee, have a break, arrive at work, go home, I want to quickly 
capture a note.

I use the following template

("l" "Log Time" 
    entry (file+datetree "c:/charles/My Dropbox/GTD/timelog.org") 
    "** %U - %^{Activity}  :TIME:")
)

A typical entry from this template looks like:

* 2010
** 2010-12-December
*** 2010-12-09 Thursday
**** [2010-12-09 Thu 08:10] - Arrived at the office           :TIME:

I would like to just have the time in the headline not the complete date time
stamp.

I couldn't find a % extension in the documenation
(9.1.3.2 Template expansion)

How can I just include a time only in the heading?

Charles

P.S.  My capture-mode tutorial project should be released this weeekend

             reply	other threads:[~2010-12-08 22:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 22:08 Charles Cave [this message]
2010-12-09 20:32 ` How do I insert just a time stamp in a capture template? Juan Pechiar
2010-12-09 22:14 ` Charles Cave

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=loom.20101208T230244-676@post.gmane.org \
    --to=charles.cave@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).