emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Malcolm Purvis <malcolm@purvis.id.au>
To: emacs-orgmode@gnu.org
Subject: Re: Logging the new time on a reschedule.
Date: Thu, 20 Aug 2015 18:03:48 +1000	[thread overview]
Message-ID: <m21teyjsij.fsf@purvis.id.au> (raw)
In-Reply-To: <87egiz8j4k.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 19 Aug 2015 16:09:47 +0200")

>>>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

Nicolas> None that I know. This is fixed. Thank you.

Thanks.  Unfortunately I now get an error when I try to reschedule:

    Error in post-command-hook (org-add-log-note): (wrong-type-argument char-or-string-p time)

The relevant part of my config is:

--8<---------------cut here---------------start------------->8---
(setq
 org-log-reschedule (quote time)
 org-log-redeadline (quote time)
 )

(setq org-log-note-headings
      (cons '(reschedule .  "Rescheduled from %S to %s on %t")
	    org-log-note-headings))
(setq org-log-note-headings
      (cons '(redeadline .  "New deadline from %S to %s on %t")
	    org-log-note-headings))
--8<---------------cut here---------------end--------------->8---

Malcolm

-- 
	       Malcolm Purvis <malcolm@purvis.id.au>

  parent reply	other threads:[~2015-08-20  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  2:09 Logging the new time on a reschedule Malcolm Purvis
2015-08-19 14:09 ` Nicolas Goaziou
2015-08-20  8:02   ` Malcolm Purvis
2015-08-20  8:03   ` Malcolm Purvis [this message]
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=m21teyjsij.fsf@purvis.id.au \
    --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).