Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose/document _do_taglist_update() publicly #2863
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output of
awesome --version:(Arch Linux Community repo version)
How to reproduce the issue:
The
taglistcan display tags with a variety of filters and from various sources. The most common use-case is to display the tags for a current screen, but it is possible to display tags from another screen, or to display them based on arbitrary conditions. When doing this, thetaglistcan sometimes fail to update when the information it's displaying changes.I encountered this while using awesome-sharedtags, but it comes up as soon as you start messing with the
sourceparameter on thetaglist.Actual result:
Currently, you can call
_do_taglist_update()by hand. However, this is undocumented and not part of the public API. Future changes could break any config that relies on it.Expected result:
I would prefer a publicly-available and documented API for updating a taglist manually. This could be as simple as renaming and documenting
_do_taglist_update, or it could involve a wrapper function around it.If this is something that would be accepted, I would be happy to work up a PR for review.