emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: emacs-orgmode@gnu.org
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)	[thread overview]
Message-ID: <loom.20120712T115643-734@post.gmane.org> (raw)

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.

             reply	other threads:[~2012-07-12 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12 10:02 Tom [this message]
2012-08-15  9:20 ` org-read-date-prefer-future should prefer next week if the given time is before now Bastien
2012-08-15  9:50   ` Tom
2012-08-15 11:00     ` Bastien
2012-08-16  7:43       ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120712T115643-734@post.gmane.org \
    --to=adatgyujto@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).