On Tue, May 14, 2013 at 02:38:30PM +0200, Vladimir Marek wrote:
> 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.)
D'oh! I missed '%g' completely! Well, at least I learned something about
mutt sources :)
On the other hand, %g in index_format is hard to align with other
messages on screen as every message has different number of tags. How do
you do that?
set index_format = "%4C %Z %[%d/%b] %-16.15F %s %> %?g?(%g)?"
set pager_format = "-%Z- %C/%m: %-20.20n %s%* -- %?g?(%g)? - (%P)"
I have added this example to README.notmuch.
Also I found discrepency between %g and the browser I botched up.
%g says: archive rpe-prg
my browser says: archive flagged rpe-prg
$ notmuch search --output=tags id:20120328130320.GG8295@pub.czech.sun.com
archive
flagged
rpe-prg
Read the README.notmuch file :-)
nm_hidden_tags = <comma delimited list>
This variable specifies private notmuch tags which should not be printed
on screen (index, pager).
Default is "unread,draft,flagged,passed,replied,attachment".
There would have to be a way to describe how to construct such
virtual
folders from just a tag name.
But creating the virtual folders definitions on the fly would be clear
advantage over typing every single one into .muttrc ...
Well, it's possible to use vfolder-from-query (<Esc>X) to create
virtual folder from query on-the-fly.
I thought about some overview about all the tags, but it's nothing
important.
Karel
--
Karel Zak <kzak(a)redhat.com>
http://karelzak.blogspot.com