On Sun, 21 Jan 2018, Yubin Ruan wrote: > On Fri, Jan 19, 2018 at 11:03:18AM +0100, Till Smejkal wrote: > > Hi, > > > > I am using notmuch to index my mails for years now and I am very happy with > > its > > performance and functionality. > > > > On Fri, 19 Jan 2018, Bastian wrote: > > > I really love and depend on mu's feature to track mail adresses of all > > > indexed mails. I use > > > > > > set query_command="mu cfind --format mutt-ab %s" > > > > > > as an address book replacement for mutt. > > > > Recent versions of notmuch have 'notmuch address'. This can be used to > > query for > > addresses in all indexed mails. Another possibility is to directly use the > > notmuch > > library to run queries on the indexed mails and write your own script. > > That's what I > > do, since I don't really like the output of 'notmuch address'. If you want, > > I can > > share the code with you. > > Can you make your code public? I would love to give it a try.
Sure, you can find the code here [1]. Have fun :) Cheers Till [1] https://github.com/l3nkz/mutt-tools/blob/master/mutt_addresses