Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FolderNameFilter broken? #112

mturquette opened this issue Sep 4, 2015 · 1 comment

FolderNameFilter broken? #112

mturquette opened this issue Sep 4, 2015 · 1 comment


Copy link

I have mail in the following directories (pulled from Gmail with a nametrans transformation applied via offlineimap):

archive  drafts  flagged  important  inbox  linux-arm-kernel  linux-kernel  sent  spam  trash

When I enable FolderNameFilter I would expect to get mail tagged with linux-kernel and linux-arm-kernel but I only ever get the latter. Only a small percentage of mail exists in both folders; most mail in each folder is unique. Note also that every piece of mail has a copy in archive, because that is how Gmail rolls.

Here is my afew config:

folders = inbox spam

inbox = 'tag:spam':spam
        'NOT tag:inbox and NOT tag:spam':archive
spam = 'NOT tag:spam AND tag:inbox':inbox 'NOT tag:spam':archive

#folder_explicit_list = linux-arm-kernel linux-kernel
folder_blacklist = archive
#maildir_separator = /

# This is the default filter chain

# all mail marked as 'new' gets marked as 'inbox'

Here is my test which fails:

$ notmuch search --output=tags "*"

I have tried variations on adding linux-kernel and linux-arm-kernel to folder_explicit_list, with the same results.

Any thoughts on what I'm doing wrong? Is FolderNameFilter broken? When I enable verbose debug output I see it match linux-arm-kernel and simply no matches at all for linux-kernel.

I am based on the latest commit, 162d9fa.

Copy link

I suspect this is the issue fixed by #74.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants