[afew] announcing afew, an universal tagging solution with some fancy features
Justus Winter
4winter at informatik.uni-hamburg.de
Fri Jan 20 16:13:10 PST 2012
Quoting Kazuo Teramoto (2012-01-20 22:55:08)
>On Fri, Jan 20, 2012 at 12:26:05PM +0100, Justus Winter wrote:
>> Quoting Patrick Totzke (2012-01-20 11:40:41)
>> >I suspect you don't split the config value and thus afew ended up
>> >with a false tag "new;". its just cosmetics but nevertheless..
>>
>> Hm, actually it does exactly that:
>>
>> def get_notmuch_new_tags():
>> return notmuch_settings.get('new', 'tags').split(';')
>
>The problem, I think, is caused by how python split the string
>~~~~~~~~~~
>>>> 'new;'.split(';')
>['new', '']
>~~~~~~~~~~
>
>So afew pass a query with 'tag:""' and it don't match any message.
You are totally right, fix pushed.
Thanks,
Justus
More information about the notmuch
mailing list