alphapapa / alphapapa/org-ql

[FR] Limit or filter number of results from org-ql-search

Aperta
#326 3 commenti 0 reazioni 1 assegnatario Rivendicata da @alphapapa Vedi su GitHub
enhancement good first issue help wanted
Lingua principale
Emacs Lisp
Stelle
1.6k
Fork
120
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Is there a way to limit or "take" a number of results in org-ql-search? I see you can do this with an org-ql-block but I don't see this in the standard org-ql-search. I'm imagining a key like ":take".

I'm trying to implement the notion of "search for headings edited around the same time". All of my headings have a MODIFIED property which contains a timestamp. I want to be able to return a list (or org-sidebar buffer etc) with the 10 or 15 headings that were edited the closest in time before, and then also those closest and were edited after.

I can implement "all headings within some time delta" of a heading, which is useful, but not the same.

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.