From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Fornius Subject: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty); org-time-stamp problem with fix Date: Tue, 06 Oct 2009 21:55:02 +0200 Message-ID: <873a5w9u21.fsf@eee.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvG6o-0005dx-8W for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 15:54:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvG6j-0005T6-4C for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 15:54:05 -0400 Received: from [199.232.76.173] (port=34858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvG6i-0005Sp-Vy for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 15:54:01 -0400 Received: from violet.abc.se ([62.80.200.155]:43823) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvG6i-0003tk-Ca for emacs-orgmode@gnu.org; Tue, 06 Oct 2009 15:54:00 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Emacs : GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-07-30 on home.sergej.pp.ru Package: Org-mode version 6.31trans (release_6.31.33.ge59e.dirty) I got error when writing numbers in the interactive time-stamp function: "void function prog" and think this is a typo in org-read-date-analyze: ;-) diff --git a/lisp/org.el b/lisp/org.el index 03b067b..f577a06 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12826,7 +12826,7 @@ user." month (or (nth 4 tl) (if (and org-read-date-prefer-future (nth 3 tl) (< (nth 3 tl) (nth 3 defdecode))) - (prog (1+ (nth 4 defdecode)) (setq futurep t)) + (prog1 (1+ (nth 4 defdecode)) (setq futurep t)) (nth 4 defdecode))) year (or (nth 5 tl) (if (and org-read-date-prefer-future -- Mikael Fornius