Hi Vladimir,
On Mon, May 13, 2013 at 10:26:43AM +0200, Vladimir Marek wrote:
I'm playing with notumuch and mutt-kz trying to find out my
optimal
setup. For this I often want to see what tags have give message(s)
assigned to them. I found some spare time on weekend I devoted to that,
I use '%g' in the index_format and pager_format to see the tags. Do
you have so many tags per message that you need a special browser? :-)
(It does not mean that I'll reject the patch, just curiosity.)
which resulted in the attached patch. It's alpha version, so
it's in no
way complete, bug free etc. But it can display tags assigned to given
message(s). What I want to achieve in the end is
- display the tags in browser (similarly to how you browse available
mailboxes for example) (done)
- display how many messages from the group has given tag assigned
- ability to add/remove the tags directly from browser. Ideally the
browser would just remember which tags you added/removed and later it
would call 'modify-labels' which would do rest of the work.
OK, probably make sense.
BTW, it would be nice to have all-tags browser (see "notmuch search
--output=tags '*'") where we can generate on-the-fly list of all tags
and use the list as list of virtual folders.
Karel
--
Karel Zak <kzak(a)redhat.com>
http://karelzak.blogspot.com