Advanced date handling for scheduled tasks in org-mode
This is not my code - upstream is here: https://github.com/chenfengyuan/elisp/blob/master/next-spec-day.el
I simply created this repo to make it easy to use in emacs for myself.
(load "/path/to/next-spec-day")
to your dot emacs file.NEXT-SPEC-DEADLINE
and/or NEXT-SPEC-SCHEDULED
property of a TODO task,like this:
* TODO test SCHEDULED: <2013-06-16 Sun> DEADLINE: <2012-12-31 Mon -3d> :PROPERTIES: :NEXT-SPEC-DEADLINE: (= (calendar-extract-day date) (calendar-last-day-of-month (calendar-extract-month date) (calendar-extract-year date))) :NEXT-SPEC-SCHEDULED: (org-float 6 0 3) :END:
The value of NEXT-SPEC-DEADLINE
will return non-nil
if date
is last day of month,and the value of NEXT-SPEC-SCHEDULED
will return non-nil
if date
is the fathers’ day (the third Sunday of June).
Notes
(setq next-spec-day-runningp nil)
after your sexp signal some errors,* TODO test SCHEDULED: <2013-03-29 Fri> :PROPERTIES: :NEXT-SPEC-SCHEDULED: last-workday-of-month :END:
Advanced date handling for scheduled tasks in org-mode
Resources License Stars Watchers Forks LanguagesYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4