alphapapa / alphapapa/org-ql

org-file-tags: not updated with org-ql searches

Aperta
#133 1 commento 0 reazioni 1 assegnatario Rivendicata da @alphapapa Vedi su GitHub
bug
Lingua principale
Emacs Lisp
Stelle
1.6k
Fork
120
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Contrary to the how org-agenda works, org-ql do not update org-file-tags variable. It looks like that org-agenda updating org-file-tags variable in `org-agenda-prepare-buffers` function (or more specifically `(org-set-regexps-and-options 'tags-only)`).

They are called in org-agenda-redo, but when tried to do agenda redo with org-ql it didn't update me file tags variable.

I'm not sure if it became broken or always been broken. Last time we were dealing with file tags, I thought that this is just effect of caching and dismissed these problems.

Possibly instead of relying on org-file-tags variable and fragile org-agenda-mode API, org-ql should read these variables on its own.

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.