alphapapa / alphapapa/org-ql

FEATURE REQUEST: Tags column (formatter) for dynamic block

Aperta
#359 0 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

This would be very simple and is an obviously missing feature.

It should be possible to filter the tags with regexp.

I fixed it for me with the following el-patch for (org-dblock-write:org-ql):
```
(el-patch-add
(cons 'tags (lambda (element &optional pattern)
(s-join " "
(--filter
(or (not pattern)
(s-matches? pattern it))
(org-element-property :tags element))))))
```

As stated in my other feature request, tags and property columns should be able to access inherited tags/properties. This information is currently not accessible via the element parameter of (org-dblock-write:org-ql).

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.