From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: can't schedule/deadline items with no existing schedule/deadline? Date: Mon, 04 Mar 2013 16:06:17 +0800 Message-ID: <87txord1xi.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCQKU-0000BX-KX for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 03:01:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCQKT-0005Ie-IK for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 03:01:02 -0500 Received: from plane.gmane.org ([80.91.229.3]:41424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCQKT-0005IQ-6n for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 03:01:01 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UCQKj-000436-NR for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 09:01:17 +0100 Received: from 114.250.106.13 ([114.250.106.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Mar 2013 09:01:17 +0100 Received: from eric by 114.250.106.13 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Mar 2013 09:01:17 +0100 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 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