From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Inactive time stamps along with CLOCK: entries? Date: Wed, 09 Nov 2011 12:09:35 -0500 Message-ID: <87lirpdxyo.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROBeq-0003g4-GK for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 12:09:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROBem-0001Vw-60 for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 12:09:52 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:16923 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROBem-0001Ta-43 for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 12:09:48 -0500 In-Reply-To: (Tommy Kelly's message of "Wed, 9 Nov 2011 13:23:22 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tommy Kelly Cc: emacs-orgmode@gnu.org Tommy Kelly writes: > Question for Bernt, but maybe more widely useful. > > Bernt, in some of your org-capture-templates, you often include a %U > timestamp as well as clocking in the item in question. for example: > > ("j" "Journal" entry (file+datetree "~/git/org/diary.org") > "* %?\n%U\n %i" :clock-in t :clock-resume t) > > Why do you do that extra \n%U? Since the timestamp is going to be > identical to the first entry in the CLOCK: line, and since you can > have/not-have clocking items show up in the agenda, why have both the > :CLOCK line and the timestamp? What else do you get from having a > timestamp that you don't get from the CLOCK: line alone? Hi Tommy, The reason I have both is I create capture tasks and notes _fast_ and remove empty clock lines - so there is no clock line or clock drawer when I'm done in that that. The %U is to record when I created the task/note. -Bernt