Samuel Wales <samolog...@gmail.com> writes: > i have been watching these developments with interest. i want a > faster 2-day agenda, and really like the idea of a lisp syntax for > querying, perhaps one that can combine text search with structured. > > so just so it's known that there is otherwise silent interest. > limited in computer use so cannot switch but following.
I appreciate the feedback nonetheless. A two-day agenda could be done something like this: (org-ql-agenda (org-agenda-files) (and (or (deadline :from today :to +1) (scheduled :from today :to +1) (ts-active :from today :to +1)) (not (done))) :sort (date priority todo) :super-groups ((:auto-planning t))) To show deadlined entries taking org-deadline-warning-days into account, more like the traditional Org Agenda, use (deadline auto), like: (org-ql-agenda (org-agenda-files) (and (or (deadline auto) (scheduled :from today :to +1) (ts-active :from today :to +1)) (not (done))) :sort (date priority todo) :super-groups ((:auto-planning t))) Grouping by date in this example is done with the org-super-agenda :auto-planning selector, which uses the earliest planning timestamp in an entry. So it's not exactly like Org Agenda, but it approximates what you're asking for, and org-ql's built-in caching may provide a speedup for subsequent calls. Here's an example that's similar to the Org Agenda's Log Mode: (org-ql-agenda (or (and (not (done)) (or (habit) (deadline auto) (scheduled :to today) (ts-active :on today))) (closed :on today)) :sort (date priority todo))