From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D1A086DE0962 for ; Sat, 22 Oct 2016 04:00:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.533 X-Spam-Level: X-Spam-Status: No, score=0.533 tagged_above=-999 required=5 tests=[AWL=-0.119, SPF_NEUTRAL=0.652] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bOGqnmssBT_s for ; Sat, 22 Oct 2016 04:00:10 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 201656DE02AC for ; Sat, 22 Oct 2016 04:00:10 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id DCBE410008D; Sat, 22 Oct 2016 14:00:57 +0300 (EEST) From: Tomi Ollila To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH] nmbug: allow excluded messages In-Reply-To: <1477123180-19381-1-git-send-email-markwalters1009@gmail.com> References: <1477123180-19381-1-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.23+19~gfcc7292 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2016 11:00:11 -0000 On Sat, Oct 22 2016, Mark Walters wrote: > This makes nmbug work even if the notmuch mailing list messages are > excluded (i.e., have a tag in the excluded tags list). > --- > > I keep all my mailing list emails under an excluded tag (initially > this was to test the exclude code thoroughly, but I find it convenient > to keep day to day email and mailing list email separate). However, > this confuses nmbug -- would the following patch be acceptable? +1 Tomi > > (I think this is the only place it is needed, but I don't use nmbug > much so I haven't tested thoroughly.) > > Best wishes > > Mark > > devel/nmbug/nmbug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug > index 6febf16..dc565c4 100755 > --- a/devel/nmbug/nmbug > +++ b/devel/nmbug/nmbug > @@ -580,7 +580,7 @@ def get_status(): > maybe_deleted = _diff_index(index=index, filter='D') > for id, tags in maybe_deleted.items(): > (_, stdout, stderr) = _spawn( > - args=['notmuch', 'search', '--output=files', 'id:{0}'.format(id)], > + args=['notmuch', 'search', '--output=files', '--exclude=false', 'id:{0}'.format(id)], > stdout=_subprocess.PIPE, > wait=True) > if stdout: > -- > 2.1.4 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch