org-ql icon indicating copy to clipboard operation
org-ql copied to clipboard

Add blocked predicate

Open akirak opened this issue 4 years ago • 7 comments

I have been using this predicate in my config to filter out blocked tasks. I think this can be useful to others, so I am sending a PR.

In most cases, I combine this predicate with negation as follows:

(and (todo)
  (not (blocked))
  ...)

akirak avatar Feb 11 '21 12:02 akirak

This can be an alternative to sibling predicates (#105).

akirak avatar Feb 11 '21 13:02 akirak

Thanks, this looks like an obviously good idea. :) Sorry for overlooking the PR; feel free to tag me or bump things if I forget.

alphapapa avatar Jul 27 '21 23:07 alphapapa

Resolved the conflict.

akirak avatar Jul 28 '21 08:07 akirak

Is there any particular reason this never got merged? Just found this PR looking precisely for a blocked predicate!

telenieko avatar May 16 '22 13:05 telenieko

I work on these projects in my spare time.

On Mon, May 16, 2022, 08:13 Marc Fargas @.***> wrote:

Is there any particular reason this never got merged? Just found this PR looking precisely for a blocked predicate!

— Reply to this email directly, view it on GitHub https://github.com/alphapapa/org-ql/pull/190#issuecomment-1127657463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAES2FIPEBEJTUG3JEOX6J3VKJCYNANCNFSM4XOWXZ7A . You are receiving this because you were assigned.Message ID: @.***>

alphapapa avatar May 18 '22 10:05 alphapapa

I work on these projects in my spare time.

I understand. I was mostly asking about feedback on the last comment in this PR to see if I could take the mantle from @akirak and finish the work.

Though my Elisp may not yet be good enough!

telenieko avatar May 18 '22 10:05 telenieko

I am fine without this feature getting merged. Anyone can define blocked locally.

akirak avatar May 18 '22 10:05 akirak

@akirak Thanks for your patience. This will be in v0.7. :)

alphapapa avatar Mar 10 '23 09:03 alphapapa