emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Malcolm Purvis <malcolm@purvis.id.au>
To: emacs-orgmode@gnu.org
Subject: Logging the new time on a reschedule.
Date: Wed, 19 Aug 2015 12:09:43 +1000	[thread overview]
Message-ID: <m1pp2krpug.fsf@mpurvis.dyn.syd.atlassian.com> (raw)

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 <malcolm@purvis.id.au>

             reply	other threads:[~2015-08-19  2:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  2:09 Malcolm Purvis [this message]
2015-08-19 14:09 ` Logging the new time on a reschedule Nicolas Goaziou
2015-08-20  8:02   ` Malcolm Purvis
2015-08-20  8:03   ` Malcolm Purvis
2015-08-20 12:06     ` Nicolas Goaziou
2015-08-21  1:30       ` Malcolm Purvis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1pp2krpug.fsf@mpurvis.dyn.syd.atlassian.com \
    --to=malcolm@purvis.id.au \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).