bower icon indicating copy to clipboard operation
bower copied to clipboard

[feature request] tag display options

Open dtzWill opened this issue 7 years ago • 1 comments

Meta-issue tracking display ideas/requests for how tags are displayed:

  • [ ] option for tag alignment: (see "Right-align the tags (#14)")
  • [ ] Customizable list of tags to display/not display? (I've been patching the nondisplay_tag predicate to deal with this myself)
  • [ ] Tag "Transforms", abbreviations?
  • [ ] Colors -- either manually specified or automatically created using some scheme that's readable and perhaps consistent across runs.

Transforms / Abbreviations

Motivation (Personally)

I have somewhat verbose tags that take up too much space, also hierarchical tags that are sometimes redundant-- this is done to avoid the need for regexp or other complications in my various notmuch search queries/rules, but can make displaying tags a bit overwhelming.

Related

alot has tag "translation" rules, which do the trick but always felt a bit ad-hoc. Not sure.

Notes

Any implementation for this likely can handle specifying tags to be hidden as well. Keeping separate for now.

Colors

Related

  • astroid's tag coloring extension
  • hub's label color generation (I think it's hub, anyway..) ensures the colors can still be readable on a terminal, which is great but not necessary.

dtzWill avatar Apr 13 '19 19:04 dtzWill

I could see adding a tag translation section to the config file like:

[tag_display]
attachment = att
hidden =

It may be useful to draw translated tags in a different colour to untranslated tags. I don't know if I'd make each tag individually configurable.

wangp avatar May 27 '20 11:05 wangp