[PATCH v5 0/7] notmuch search --output=sender/recipients

Michal Sojka sojkam1 at fel.cvut.cz
Fri Oct 31 08:43:35 PDT 2014


On Fri, Oct 31 2014, Jesse Rosenthal wrote:
> Dear Michal,
>
> Thanks for all this. The feature looks great! One issue: I'm getting
> corrupt output when using `--output=count` with "fold" filters:
>
> ~~~
> jkr at ladybug [11:01AM] ~ $ notmuch search --output=recipients --output=count "tag:notmuch and date:today.." 
> 2	Jani Nikula <jani at nikula.org>
> 2	Michal Sojka <sojkam1 at fel.cvut.cz>
> 1	David Edmondson <dme at dme.org>
> 9	notmuch at notmuchmail.org
>
> jkr at ladybug [11:01AM] ~ $ notmuch search --output=recipients --output=count --filter-by=addrfold "tag:notmuch and date:today.."
> 2	Michal Sojka <0Fam1 at fel.cvutH>
> 9	
> 1	David Edmondson <8dme.org>
> 2	Jani Nikula <jani at nikula.org>
>
> jkr at ladybug [11:01AM] ~ $ notmuch search --output=recipients --output=count --filter-by=nameaddr "tag:notmuch and date:today.."
> 2	Jani Nikula <jani at nikula.org>
> 2	Michal Sojka <sojkam1 at fel.cvut.cz>
> 1	David Edmondson <dme at dme.org>
> 9	notmuch at notmuchmail.org
>
> jkr at ladybug [11:01AM] ~ $ notmuch search --output=recipients --output=count --filter-by=nameaddrfold "tag:notmuch and date:today.."
> 2	Jani Nikula <jani at nikula.org>
> 2	Michal Sojka <0V�	am1 at fel.cvutH>
> 1	David Edmondson <8��	dme.org>
> 9
> ~~~
>
> Not sure if this is expected behavior with the filtering mechanism in
> its current state, but I wanted to call it to your attention if not.

Definitely not. I'll look into that. Thanks.

-Michal


More information about the notmuch mailing list