From: Tomi Ollila <tomi.ollila@iki.fi>
To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] nmbug: allow excluded messages
Date: Sat, 22 Oct 2016 14:00:57 +0300 [thread overview]
Message-ID: <m2oa2codg6.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <1477123180-19381-1-git-send-email-markwalters1009@gmail.com>
On Sat, Oct 22 2016, Mark Walters <markwalters1009@gmail.com> 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
next prev parent reply other threads:[~2016-10-22 11:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-10-22 21:39 ` W. Trevor King
2016-10-23 0:05 ` David Bremner
2016-10-23 1:43 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2oa2codg6.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).