emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Stig Brautaset <stig@brautaset.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Task repeat every weekday?
Date: Wed, 23 Jan 2019 18:55:32 +0100	[thread overview]
Message-ID: <877eev9s2z.fsf@mbork.pl> (raw)
In-Reply-To: <m2a7jrecpl.fsf@brautaset.org>


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

      parent reply	other threads:[~2019-01-23 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 13:16 Task repeat every weekday? Stig Brautaset
2019-01-23 14:10 ` Julius Dittmar
2019-01-23 17:55 ` Marcin Borkowski [this message]

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=877eev9s2z.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=emacs-orgmode@gnu.org \
    --cc=stig@brautaset.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).