unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] nmbug: allow excluded messages
@ 2016-10-22  7:59 Mark Walters
  2016-10-22  8:23 ` David Bremner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mark Walters @ 2016-10-22  7:59 UTC (permalink / raw)
  To: notmuch

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?

(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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-23  1:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-22  7:59 [PATCH] nmbug: allow excluded messages Mark Walters
2016-10-22  8:23 ` David Bremner
2016-10-22 11:00 ` Tomi Ollila
2016-10-22 21:39 ` W. Trevor King
2016-10-23  0:05   ` David Bremner
2016-10-23  1:43     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).