emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Change relative weekday specifications (ex: fri or -tue) to


From: Sacha Chua
Subject: [O] [PATCH] Change relative weekday specifications (ex: fri or -tue) to exclude today
Date: Fri, 12 Apr 2013 19:29:55 -0400

I use the weekday specifiers for org-read-date a lot when scheduling tasks. For example, I frequently use things like "+sat" - the + isn't needed for this, but I still do it out of habit ("sat" works just as well). Sometimes I want to postpone tasks to the same day next week. I think of "fri" as "the next upcoming Friday", so I tend to use that to postpone things. 

Then I get thoroughly confused, because it ends up on the same day, and then I grumble and reschedule it to either "2fri" or "+w". You see, if today is Friday, "fri" gets you today, even if org-read-date-prefer-future is true. It's the correct behaviour according to the documentation, but it was driving me a little crazy, so I propose the attached change. It makes "fri" and "-fri" exclude today, so if today is Friday, "fri" means next Friday (procrastinate away!) and "-fri" means last Friday.

What do people think?


Attachment: 0001-Change-relative-weekday-specifications-ex-fri-or-tue.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]