From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: org-read-date-prefer-future should prefer next week if the given time is before now Date: Thu, 12 Jul 2012 10:02:55 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpGEz-0007qz-9D for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 06:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpGEp-0005Eu-Re for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 06:03:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:48274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpGEp-0005Ed-Kq for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 06:03:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SpGEi-0003j7-OR for emacs-orgmode@gnu.org; Thu, 12 Jul 2012 12:03:04 +0200 Received: from 94-21-239-161.pool.digikabel.hu ([94.21.239.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 12:03:04 +0200 Received: from adatgyujto by 94-21-239-161.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 12:03:04 +0200 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 I have (setq org-read-date-prefer-future 'time) in my .emacs, so if I give a time like 8am and it is before now then it is interpreted as tomorrow. This is good, because I never want to set times in the past. However if I give "thu 8am" (it is Thursday 11:50am here, so Thu 8am is before now) then org interpretes it as 8am today. When org-read-date-prefer-future is set then org should also interpret times given as day+time as future times if the day of week is the same, but the given time is before now. That is, in this case Thu 8am should be interpreted as 8am next Thursday.