alphapapa / alphapapa/org-ql

FEATURE REQUEST: Tags column (formatter) for dynamic block

未關閉
#359 0 則留言 0 個 reaction 已指派 1 人 已被 @alphapapa 認領 在 GitHub 檢視
enhancement good first issue help wanted
主要語言
Emacs Lisp
星號
1.6k
分支
120
PR 合併指標
30 天內沒有已合併 PR

描述

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).

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。