From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: bug with respect to org-read-date-prefer-future Date: Fri, 08 Oct 2010 15:50:10 -0400 Message-ID: <87y6a8wjkd.fsf@gollum.intra.norang.ca> References: <87eic0zuzj.wl%ucecesf@ucl.ac.uk> <8739sgy0de.fsf@gollum.intra.norang.ca> <87vd5cpiz1.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4JOS-0005N8-FC for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 16:18:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4IxL-0001Zk-EM for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 15:50:17 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:52075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4IxL-0001ZT-CB for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 15:50:15 -0400 In-Reply-To: <87vd5cpiz1.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 08 Oct 2010 20:44:50 +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: Eric S Fraga Cc: Carsten Dominik , org-mode mailing list Eric S Fraga writes: > On Fri, 08 Oct 2010 15:01:49 -0400, Bernt Hansen wrote: >> >> Eric S Fraga writes: >> >> > 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. > > [...] > >> >> Hi Eric, >> >> This was recently changed in commit >> 03b178d (Do not prefer future when jumping to a date in the agenda, 2010-09-21) >> by Carsten after an offline discussion with me. >> >> The behaviour changed for the 'j' command in the agenda only but not for >> other date prompts. > > Ah, okay, so I am not totally losing it... ;-) > >> The justification for this was at the start of a new month you need to >> enter the year to go back to a date a week or two ago in the agenda >> which seemed inconvenient. >> >> Carsten noticed that I had set org-read-date-prefer-future to nil in >> http://doc.norang.ca/org-mode.html and questioned why that was >> necessary. After a short discussion he decided to change the default >> behaviour for the agenda j command only. >> >> Please comment on whether this change is good or bad. The docstring >> should be more clear about this change if we decide to keep it. >> >> Regards, >> Bernt > > Well, I must say that I prefer the old way as it is more likely (on a > simple probabilistic view considering the full twelve months of the > year) that I am going to want a future date if I refer to a month > before the current one. I can understand your justification for > earlier in a month but I typically simply use, say, -7 or -10 then (as > I use +7 or +10 say for days in the future). So, I guess my view is > that the change is more bad than good... At the very least, I would > like this to be configurable, if that is at all possible? If not, I > am sure I can adjust! > > By the way, I guess I could see an argument for a date alone being for > the current month, whether future or past, much as time can be > considered already to be for the current day, whether future or past, > if the variable is configured as I have it (time), but even then we > should have a configurable variable? > > Regardless, the docs definitely have to change! Personally I'm okay with reverting this commit if it is problematic. I'll leave the final decision on that up to Carsten. -Bernt