emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Task repeat every weekday?


From: Marcin Borkowski
Subject: Re: [O] Task repeat every weekday?
Date: Wed, 23 Jan 2019 18:55:32 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2019-01-23, at 14:16, Stig Brautaset <address@hidden> 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



reply via email to

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