From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Capture w/ timestamp does not include current timestamp Date: Wed, 23 Aug 2017 08:16:27 +0200 Message-ID: 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]:44907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkOxy-0003UF-BK for emacs-orgmode@gnu.org; Wed, 23 Aug 2017 02:16:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkOxv-00013h-71 for emacs-orgmode@gnu.org; Wed, 23 Aug 2017 02:16:38 -0400 Received: from mail-yw0-x22a.google.com ([2607:f8b0:4002:c05::22a]:33942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkOxv-000139-1i for emacs-orgmode@gnu.org; Wed, 23 Aug 2017 02:16:35 -0400 Received: by mail-yw0-x22a.google.com with SMTP id s143so4297579ywg.1 for ; Tue, 22 Aug 2017 23:16:33 -0700 (PDT) Received: from parma.local ([152.115.61.162]) by smtp.gmail.com with ESMTPSA id w3sm296129ywi.82.2017.08.22.23.16.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Aug 2017 23:16:32 -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: Org Mode Hi List, I'm not sure if this is a bug or not - it seems to be, but it has been discussed on the list[1] (and elswhere[2]) and not fixed, and I wonder if that is because nobody explicitly called it out as a bug. At a minimum, I think it is a documentation bug. A capture template with %^T or %^U will prompt for date and time, but if I hit ENTER without manually typing a time, the present time (shown in the prompt) is dropped, and only a date is used in the capture. This is different behavior than, for example =org-time-stamp= or =org-time-stamp-inactive= run with a prefix argument (e.g. "C-u C-c C-."). Without a time prompt (i.e. %^t or %^u), I can still manually enter a time and it works. So the only benefit of %^T or %^U is that the current time is displayed in the prompt, but I still have to manually type it out? This seems inefficient, hence I think this is a bug. If the behavior is correct, the following doc strings should probably be updated: %t Time stamp, date only. The time stamp is the current time, except when called from agendas with ‘M-x org-agenda-capture’ or with ‘org-capture-use-agenda-date’ set. %T Time stamp as above, with date and time. %u, %U Like the above, but inactive time stamps. Regards, Ken Mankoff Org mode version 9.0.9 (9.0.9-88-g251f88-elpaplus @ /Users/mankoff/.emacs.d/elpa/org-plus-contrib-20170821/) [1] https://lists.gnu.org/archive/html/emacs-orgmode/2016-02/msg00323.html [2] https://emacs.stackexchange.com/questions/24368/