Github messages for mblaze
 help / color / mirror / Atom feed
* [PR PATCH] mpick: add 'cc' filter expression
@ 2020-11-06 18:55 Seirdy
  2020-11-09 16:13 ` leahneukirchen
  2020-11-09 16:13 ` [PR PATCH] [Closed]: " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: Seirdy @ 2020-11-06 18:55 UTC (permalink / raw)
  To: ml

[-- 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"))

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

* Re: mpick: add 'cc' filter expression
  2020-11-06 18:55 [PR PATCH] mpick: add 'cc' filter expression Seirdy
@ 2020-11-09 16:13 ` leahneukirchen
  2020-11-09 16:13 ` [PR PATCH] [Closed]: " leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2020-11-09 16:13 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on mblaze repository

https://github.com/leahneukirchen/mblaze/pull/192#issuecomment-724113268

Comment:
As stated in the issue, this is not needed: `"cc"` works already.

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

* Re: [PR PATCH] [Closed]: mpick: add 'cc' filter expression
  2020-11-06 18:55 [PR PATCH] mpick: add 'cc' filter expression Seirdy
  2020-11-09 16:13 ` leahneukirchen
@ 2020-11-09 16:13 ` leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2020-11-09 16:13 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the mblaze repository

mpick: add 'cc' filter expression
https://github.com/leahneukirchen/mblaze/pull/192

Description:
Closes https://github.com/leahneukirchen/mblaze/issues/186

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

end of thread, other threads:[~2020-11-09 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 18:55 [PR PATCH] mpick: add 'cc' filter expression Seirdy
2020-11-09 16:13 ` leahneukirchen
2020-11-09 16:13 ` [PR PATCH] [Closed]: " leahneukirchen

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).