Github messages for mblaze
 help / color / mirror / Atom feed
From: Seirdy <Seirdy@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mpick: add 'cc' filter expression
Date: Fri, 06 Nov 2020 19:55:45 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-192@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

There is a new pull request by Seirdy against master on the mblaze repository

https://github.com/Seirdy/mblaze feat/mpick-filter-by-cc
https://github.com/leahneukirchen/mblaze/pull/192

mpick: add 'cc' filter expression
Closes https://github.com/leahneukirchen/mblaze/issues/186

A patch file from https://github.com/leahneukirchen/mblaze/pull/192.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feat/mpick-filter-by-cc-192.patch --]
[-- Type: text/x-diff, Size: 1166 bytes --]

From 998e01348a6264c238677789746a173c0075a74a Mon Sep 17 00:00:00 2001
From: Rohan Kumar <seirdy@seirdy.one>
Date: Fri, 6 Nov 2020 10:49:47 -0800
Subject: [PATCH] mpick: add 'cc' filter expression

Closes https://github.com/leahneukirchen/mblaze/issues/186
---
 man/mpick.1 | 2 +-
 mpick.c     | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/mpick.1 b/man/mpick.1
index 007fca6..fdc1fef 100644
--- a/man/mpick.1
+++ b/man/mpick.1
@@ -92,7 +92,7 @@ tests are given by the following EBNF:
                       | T )?     -- *1024*1024*1024*1024
              | cur               -- index of cur message
 
-<hdrprop>  ::= from | to | subject | <str>
+<hdrprop>  ::= from | to | cc | subject | <str>
 
 <decodeop> ::= . addr          -- match address parts
              | . disp          -- match address display parts
diff --git a/mpick.c b/mpick.c
index 3b11e67..3364249 100644
--- a/mpick.c
+++ b/mpick.c
@@ -601,6 +601,8 @@ parse_strcmp()
 		h = xstrdup("from");
 	else if (token("to"))
 		h = xstrdup("to");
+	else if (token("cc"))
+		h = xstrdup("cc");
 	else if (token("subject"))
 		h = xstrdup("subject");
 	else if (token("path"))

             reply	other threads:[~2020-11-06 18:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06 18:55 Seirdy [this message]
2020-11-09 16:13 ` leahneukirchen
2020-11-09 16:13 ` [PR PATCH] [Closed]: " leahneukirchen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-192@inbox.vuxu.org \
    --to=seirdy@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).