From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Cave Subject: How do I insert just a time stamp in a capture template? Date: Wed, 8 Dec 2010 22:08:32 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55636 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQSC5-0005QV-4R for emacs-orgmode@gnu.org; Wed, 08 Dec 2010 17:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQSBt-0000CP-8T for emacs-orgmode@gnu.org; Wed, 08 Dec 2010 17:08:50 -0500 Received: from lo.gmane.org ([80.91.229.12]:48603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQSBt-0000CF-22 for emacs-orgmode@gnu.org; Wed, 08 Dec 2010 17:08:49 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQSBr-0006XR-AF for emacs-orgmode@gnu.org; Wed, 08 Dec 2010 23:08:47 +0100 Received: from 203.166.111.206 ([203.166.111.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Dec 2010 23:08:47 +0100 Received: from charles.cave by 203.166.111.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Dec 2010 23:08:47 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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