From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rene Subject: Re: org-capture vs. org-agenda-capture Date: Wed, 12 Dec 2012 21:24:36 +0000 (UTC) Message-ID: References: <87d2yfnxjs.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TitnQ-0003gF-T5 for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:24:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TitnP-0005Sk-J1 for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:24:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:51133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TitnP-0005Sc-CA for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 16:24:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TitnZ-0000zb-6a for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 22:25:01 +0100 Received: from vaf26-3-88-162-208-155.fbx.proxad.net ([88.162.208.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Dec 2012 22:25:01 +0100 Received: from jlr_0 by vaf26-3-88-162-208-155.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Dec 2012 22:25:01 +0100 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: emacs-orgmode@gnu.org As a matter of fact, when called from the agenda `%U' doesn't expand as the current timestamp but rather provides the date of the line your point is on. Wouldn't it be more convenient to get the current timestamp anyway? Suppose you would like to create a new appointment then 1. you view your agenda to see whether you're free on a particular date 2. you place the cursor on that date line 3. you invoke org-agenda-capture (hit `k' key) from there then a template such as this one ("a" "Appointment" entry (file+headline "~/gtd.org" "Inbox") "* APPT %?\n %^T\n Added: %U") would expand as * APPT Dentist <2012-12-25 Tue 18:00-19:00> Added: [2012-12-12 Wed 22:13] which makes sense; instead of * APPT Dentist <2012-12-25 Tue 18:00-19:00> Added: [2012-12-25 Wed 00:00] as it is today. -- Rene