From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: can't schedule/deadline items with no existing schedule/deadline?
Date: Mon, 04 Mar 2013 16:06:17 +0800 [thread overview]
Message-ID: <87txord1xi.fsf@ericabrahamsen.net> (raw)
The fact that no one else has reported this makes me think it's user
error, but I can reproduce with emacs -Q, so here goes:
Scheduling or deadlining an item with no existing SCHEDULE/DEADLINE
errors out, because both call code like this:
(let* ((old-date (org-entry-get nil "SCHEDULED"))
(old-date-time (org-time-string-to-time old-date))
If there's no old-date, then "nil" gets fed to
`org-time-string-to-time', which doesn't accept "nil".
I adventured into git looking to see if something had changed recently
regarding org-time-string-to-time, and it doesn't seem to have, which
makes me all the more suspicious that I'm doing something wrong. But it
still won't work with emacs -Q, so...
What am I doing wrong?
Thanks,
Eric
next reply other threads:[~2013-03-04 8:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 8:06 Eric Abrahamsen [this message]
2013-03-04 17:54 ` can't schedule/deadline items with no existing schedule/deadline? Bastien
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=87txord1xi.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).