Re: Only receive the topics I participated in or initiated on this mailing list.

3 messages, 2 authors, 2021-02-03 · open the first message on its own page

Re: Only receive the topics I participated in or initiated on this mailing list.

From: Junio C Hamano <hidden>
Date: 2021-02-02 17:12:39

Hongyi Zhao [off-list ref] writes:
On Tue, Feb 2, 2021 at 1:41 PM Junio C Hamano [off-list ref] wrote:
quoted
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.

Re: Only receive the topics I participated in or initiated on this mailing list.

From: Hongyi Zhao <hidden>
Date: 2021-02-03 00:56:25

On Wed, Feb 3, 2021 at 1:09 AM Junio C Hamano [off-list ref] wrote:
Hongyi Zhao [off-list ref] writes:
quoted
On Tue, Feb 2, 2021 at 1:41 PM Junio C Hamano [off-list ref] wrote:
quoted
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

Regards
-- 
Assoc. Prof. Hongyi Zhao [off-list ref]
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China

Re: Only receive the topics I participated in or initiated on this mailing list.

From: Hongyi Zhao <hidden>
Date: 2021-02-03 01:00:56

On Wed, Feb 3, 2021 at 8:55 AM Hongyi Zhao [off-list ref] wrote:
On Wed, Feb 3, 2021 at 1:09 AM Junio C Hamano [off-list ref] wrote:
quoted
Hongyi Zhao [off-list ref] writes:
quoted
On Tue, Feb 2, 2021 at 1:41 PM Junio C Hamano [off-list ref] wrote:
quoted
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 [off-list ref]
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help