alphapapa / org-ql

A searching tool for Org-mode, including custom query languages, commands, saved searches and agenda-like views, etc.
GNU General Public License v3.0
1.4k stars 110 forks source link

Support for diary sexp timestamps #262

Open unhammer opened 2 years ago

unhammer commented 2 years ago

I'm guessing this is a long shot, but would it be possible to include events specified with diary sexps in org-ql-select calls, e.g.

** Lunch on last Thursdays of each month 11:00-12:00
     SCHEDULED: <%%(diary-float t 4 (- 1))%>
alphapapa commented 2 years ago

Yes, that should be possible. It would probably be best for it to be optional and disabled by default, because it would preclude some regexp-based optimizations. I probably won't work on this soon, but I'll put it on the list. Thanks.