From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: Time stamped TODOs with current-time from everywhere. Date: Fri, 4 Aug 2017 19:26:44 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddgNn-0003FG-Vf for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 13:27:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddgNk-0006As-U8 for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 13:27:31 -0400 Received: from cadilhac.name ([163.172.56.42]:56974) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ddgNk-00069U-KI for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 13:27:28 -0400 Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by cadilhac.name (OpenSMTPD) with ESMTPSA id 9b879356 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Fri, 4 Aug 2017 17:28:44 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id a77so12737450qkb.0 for ; Fri, 04 Aug 2017 10:27:25 -0700 (PDT) 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" To: emacs-orgmode@gnu.org Hi there people; I have a few TODO templates of the form: ("td" "Todo deadline (with reminders)" entry (file "~/org/todos.org") "* TODO %^{Todo}\n DEADLINE: %^t\n %U\n%i%?") The goal is to have two time stamps: an inactivated one (%U), recording the time the TODO was created, and a queried time (%^t), for the deadline. If I'm just out of the blue thinking of a TODO, I can easily add it this way. However, suppose I'm in Calfw; I jump to some date, hit SPACE and I'm now in Org-Agenda mode, ready to hit k to capture (because Calfw-Org does not offer this directly). Now I expect %U to still be the current time stamp, and %^t to be prefilled with the date of the Agenda. It so happens that *both* time stamps are the one of the Agenda. Is this tweakable so that %U is always (current-time)? Thanks! Cheers; Micha=C3=ABl