From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Time stamped TODOs with current-time from everywhere. Date: Fri, 04 Aug 2017 21:27:35 -0500 Message-ID: <87r2wqrboo.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddooi-00034e-Sd for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddooe-0008SM-0l for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:27:52 -0400 Received: from [195.159.176.226] (port=54605 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddood-0008RY-QP for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:27:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddooS-0004oZ-Bq for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 04:27:36 +0200 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 Michaƫl Cadilhac writes: > 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)? I'm not sure if that's a bug, since it seems like %^t should always prompt, or if it's intended that the agenda date fulfill the prompt. But either way, you should be able to use a %(sexp) form in the capture template to insert the current date.