On 2019-01-23, at 14:16, Stig Brautaset <s...@brautaset.org> wrote:
> Hi! I have some work tasks that I need to get into the habit of doing > every day. (Reviewing PRs / Jira, ...) > > Currently I do this with a calendar-style repeater, like so: > > ,---- > | * Recurring Tasks > | ** Review PRs > | :LOGBOOK: > | :END: > | <%%(sb/weekday-p date)> > | > | - https://github.com/pulls > `---- > > Where init.el contains: > > ,---- > | (defun sb/weekday-p (date) > | "Is `date' a weekday?" > | (let ((dayname (calendar-day-of-week date))) > | (memq dayname '(1 2 3 4 5)))) > `---- > > While this allows me to clock in, and add comments, it doesn't give me that > nice buzz from closing a task. And it doesn't get it out of my agenda once > I've completed it that day. > > Is there a way to make this into a repeating TODO that shows only on weekdays? This thread: http://lists.gnu.org/archive/html/emacs-orgmode/2019-01/msg00002.html might be of help. Hth, -- Marcin Borkowski http://mbork.pl