From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: bug with respect to org-read-date-prefer-future Date: Fri, 08 Oct 2010 14:15:12 +0100 Message-ID: <87eic0zuzj.wl%ucecesf@ucl.ac.uk> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Oct__8_14:15:12_2010-1" Return-path: Received: from [140.186.70.92] (port=35418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4Cty-0006yA-Dd for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 09:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4Cn7-0004lz-L3 for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 09:15:27 -0400 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:59415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4Cn7-0004lZ-EY for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 09:15:17 -0400 Received: from pinto.chemeng.ucl.ac.uk ([128.40.74.171] helo=pinto.chemeng.ucl.ac.uk.ucl.ac.uk) by vscani-e.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1P4Cn3-0002J5-B9 for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 14:15:13 +0100 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: org-mode mailing list --Multipart_Fri_Oct__8_14:15:12_2010-1 Content-Type: text/plain; charset=US-ASCII Hi, Recently, but I cannot say for how long, I have found that dates entered, for instance using "j" in the standard agenda view, no longer choose a time/day in the future but seem to default to the current year. For instance, today, typing "j 2 feb RET" (with a real space between 2 and feb) jumps me to 2010 February 2, not 2011. #+begin_src emacs-lisp :results (describe-variable 'org-read-date-prefer-future) #+end_src #+results: #+begin_example org-read-date-prefer-future is a variable defined in `org.el'. Its value is time Documentation: Non-nil means assume future for incomplete date input from user. This affects the following situations: 1. The user gives a month but not a year. For example, if it is April and you enter "feb 2", this will be read as Feb 2, *next* year. "May 5", however, will be this year. 2. The user gives a day, but no month. For example, if today is the 15th, and you enter "3", Org-mode will read this as the third of *next* month. However, if you enter "17", it will be considered as *this* month. If you set this variable to the symbol `time', then also the following will work: 3. If the user gives a time, but no day. If the time is before now, to will be interpreted as tomorrow. Currently none of this works for ISO week specifications. When this option is nil, the current day, month and year will always be used as defaults. You can customize this variable. #+end_example so according to the documentation should work as I expect but doesn't... Have I misunderstood something? Thanks, eric #+begin_src emacs-lisp :results (format "%s\n%s\n" (org-version) (emacs-version)) #+end_src #+results: : Org-mode version 7.01trans (release_7.01h.645.g09015) : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) : of 2010-08-14 on raven, modified by Debian --Multipart_Fri_Oct__8_14:15:12_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Fri_Oct__8_14:15:12_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Fri_Oct__8_14:15:12_2010-1--