From mboxrd@z Thu Jan 1 00:00:00 1970 From: Malcolm Purvis Subject: Logging the new time on a reschedule. Date: Wed, 19 Aug 2015 12:09:43 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRspB-0001kf-Vq for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 22:09:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRsp7-00072L-Tb for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 22:09:57 -0400 Received: from mail106.syd.optusnet.com.au ([211.29.132.42]:51184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRsp7-00071q-Ie for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 22:09:53 -0400 Received: from purvis.id.au (unknown [1.40.18.0]) by mail106.syd.optusnet.com.au (Postfix) with ESMTP id C6A863C4ACE for ; Wed, 19 Aug 2015 12:09:50 +1000 (AEST) Received: from mpurvis.dyn.syd.atlassian.com (eth59-167-133-100.static.internode.on.net [59.167.133.100]) by purvis.id.au (Postfix) with ESMTPSA id 330813D888C2 for ; Wed, 19 Aug 2015 12:09:50 +1000 (AEST) 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 I would like to log the new time as well as the old when changing the scheduling or deadline of a task. I changed the value of org-log-note-headings to include the new time (%s) in the reschedule log: (reschedule . "Rescheduled from %S to %s on %t") and set org-log-reschedule to 'time. However the new time is missing from the log entry: - Rescheduled from "[2015-08-21 Fri]" to on [2015-08-19 Wed 11:03] I expected this instead: - Rescheduled from "[2015-08-29 Sat]" to "[2015-09-19 Sat]" on [2015-08-19 Wed 11:38] The cause is neither org-schedule nor org-deadline pass the the new time to org-add-log-setup. Is there a reason for this? Malcolm -- Malcolm Purvis