Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: Tags column (formatter) for dynamic block #359

Open
ujikol opened this issue Jul 29, 2023 · 0 comments
Open

FEATURE REQUEST: Tags column (formatter) for dynamic block #359

ujikol opened this issue Jul 29, 2023 · 0 comments

Comments

@ujikol
Copy link

ujikol commented Jul 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants