From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: Only receive the topics I participated in or initiated on this mailing list.
Date: Wed, 3 Feb 2021 08:59:51 +0800 [thread overview]
Message-ID: <CAGP6POKj+f3J76h7qDYRJ7CowUE9WM2L_QTamHYQ3_YvSM13MA@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POJ4GPDL3uTzzBDSZ1ykypA4SyVEC5sc0W=FCLOsHmOntA@mail.gmail.com>
On Wed, Feb 3, 2021 at 8:55 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Wed, Feb 3, 2021 at 1:09 AM Junio C Hamano <gitster@pobox.com> wrote:
> >
> > Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >
> > > On Tue, Feb 2, 2021 at 1:41 PM Junio C Hamano <gitster@pobox.com> wrote:
> > >>
> > >> You can, on _your_ end, filter incoming messages that are sent via
> > >> vger.kernel.org and do not have your address on To or Cc.
> > >
> > > Thank you very much for your comment. It seems that the following
> > > Gmail filter will do the trick:
> > >
> > > From: *@vger.kernel.org
> > > To or Cc: -hongyi.zhao@gmail.com
> > >
> > > But I can't find the Cc field on the filter panel.
> >
> > Here is what I use to process messages that are sent to me without
> > being sent to the mailing list:
> >
> > (to:gitster@pobox.com -(to:git@vger.kernel.org))
> >
> > The rule is set to skip the inbox and throw it in dustbin ;-).
> >
> > I'd imagine something like
> >
> > (-(to:hongyi.zhao@gmail.com) (to:git@vger.kernel.org))
> >
> > would hit what you want to filter out. Let me swap To/Cc of this
> > message so that you would appear on Cc so that you can experiment; I
> > think to: would work for such a message just fine as well.
>
> Thanks a lot for your wonderful notes. Based on my trial and error
> with Gmail's filter/search toolbar, It seems that the correct filter
> should be written as follows to meet my requirements:
>
> to:(git@vger.kernel.org) -{hongyi.zhao@gmail.com}
> to:(git@vger.kernel.org) -hongyi.zhao@gmail.com
NB, you can also change the "@" to ".", they are equivalent in the
filtering result, as shown below:
to:(git.vger.kernel.org) -{hongyi.zhao.gmail.com}
to:(git.vger.kernel.org) -hongyi.zhao.gmail.com
Best
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
prev parent reply other threads:[~2021-02-03 1:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-02 5:35 Only receive the topics I participated in or initiated on this mailing list Hongyi Zhao
2021-02-02 5:41 ` Junio C Hamano
2021-02-02 8:31 ` Hongyi Zhao
2021-02-02 8:58 ` Jeff King
2021-02-02 9:02 ` Hongyi Zhao
2021-02-02 9:20 ` Jeff King
2021-02-02 9:30 ` Hongyi Zhao
2021-02-02 22:23 ` Eric Wong
2021-02-03 0:24 ` Hongyi Zhao
2021-02-03 0:34 ` Kyle Meyer
2021-02-03 0:36 ` Eric Wong
2021-02-02 17:01 ` Junio C Hamano
2021-02-02 8:59 ` Hongyi Zhao
2021-02-02 14:28 ` Matheus Tavares Bernardino
2021-02-02 14:53 ` Hongyi Zhao
2021-02-02 17:09 ` Junio C Hamano
2021-02-03 0:55 ` Hongyi Zhao
2021-02-03 0:59 ` Hongyi Zhao [this message]
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: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGP6POKj+f3J76h7qDYRJ7CowUE9WM2L_QTamHYQ3_YvSM13MA@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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://80x24.org/mirrors/git.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).