]> git.notmuchmail.org Git - notmuch/commitdiff
config: only exclude messages if 'search.exclude_tags' is explicitly set
authorPieter Praet <pieter@praet.org>
Mon, 23 Jan 2012 04:22:34 +0000 (05:22 +0100)
committerDavid Bremner <bremner@debian.org>
Mon, 23 Jan 2012 23:21:18 +0000 (19:21 -0400)
Currently, the 'search.exclude_tags' option is automatically
set to "deleted;spam;" if it's missing from the config file.

This violates the Principle of Least Surprise, so *only* set
'search.exclude_tags' to "deleted;spam;" if we didn't find a
configuration file at all.

This patch is actually Austin Clements' work:
  id:"20120117203211.GQ16740@mit.edu"


No differences found