threads / discuss / 55089

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

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

## tl;dr

18 messages between Feb 2, 2021 and Feb 3, 2021.

replies: 17people: 6as markdown or json

Hongyi Zhao· Feb 2, 2021, 05:35 UTC · lore

Considering that the mail number per day of this mailing list is quite large, is there a way to only receive the topics I participated in or initiated on this mailing list?

Regards
-- 
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
Junio C Hamano· Feb 2, 2021, 05:41 UTC · re: Hongyi Zhao · lore

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

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.

Hongyi Zhao· Feb 2, 2021, 08:31 UTC · re: Junio C Hamano · lore

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

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.
I'm not sure if this can be done by Gmail.

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

Jeff King· Feb 2, 2021, 08:58 UTC · re: Hongyi Zhao · lore

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

On Tue, Feb 02, 2021 at 04:31:59PM +0800, Hongyi Zhao wrote:
Show 6 quoted lines
> 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.
> 
> I'm not sure if this can be done by Gmail.

If you only care about topics that you have participated in, the easiest thing is to simply unsubscribe from the list. The usual convention on this list is to keep recipients in the to/cc fields intact, so you'll continue to receive those emails directly from their senders.

-Peff
Hongyi Zhao· Feb 2, 2021, 09:02 UTC · re: Jeff King · lore

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

On Tue, Feb 2, 2021 at 4:58 PM Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
>
> On Tue, Feb 02, 2021 at 04:31:59PM +0800, Hongyi Zhao wrote:
>
> > 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.
> >
> > I'm not sure if this can be done by Gmail.
>
> If you only care about topics that you have participated in, the easiest
> thing is to simply unsubscribe from the list.
Do you mean I still can post to this list without subscription to it?
> The usual convention on this list is to keep recipients in the to/cc fields intact, so you'll
> continue to receive those emails directly from their senders.
>
> -Peff
-- 
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
Jeff King· Feb 2, 2021, 09:20 UTC · re: Hongyi Zhao · lore

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

On Tue, Feb 02, 2021 at 05:02:53PM +0800, Hongyi Zhao wrote:
> > If you only care about topics that you have participated in, the easiest
> > thing is to simply unsubscribe from the list.
> 
> Do you mean I still can post to this list without subscription to it?
Yes.

You can also read the archive at https://lore.kernel.org/git if you later feel like checking for threads you might have missed.

-Peff
Hongyi Zhao· Feb 2, 2021, 09:30 UTC · re: Jeff King · lore

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

On Tue, Feb 2, 2021 at 5:20 PM Jeff King <peff@peff.net> wrote:
Show 9 quoted lines
>
> On Tue, Feb 02, 2021 at 05:02:53PM +0800, Hongyi Zhao wrote:
>
> > > If you only care about topics that you have participated in, the easiest
> > > thing is to simply unsubscribe from the list.
> >
> > Do you mean I still can post to this list without subscription to it?
>
> Yes.
Does this rule apply to all the lists residing on <http://vger.kernel.org/>?
Show 5 quoted lines
>
> You can also read the archive at https://lore.kernel.org/git if you
> later feel like checking for threads you might have missed.
>
> -Peff
-- 
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
Eric Wong· Feb 2, 2021, 22:23 UTC · re: Hongyi Zhao · lore

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

Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
Show 12 quoted lines
> On Tue, Feb 2, 2021 at 5:20 PM Jeff King <peff@peff.net> wrote:
> >
> > On Tue, Feb 02, 2021 at 05:02:53PM +0800, Hongyi Zhao wrote:
> >
> > > > If you only care about topics that you have participated in, the easiest
> > > > thing is to simply unsubscribe from the list.
> > >
> > > Do you mean I still can post to this list without subscription to it?
> >
> > Yes.
> 
> Does this rule apply to all the lists residing on <http://vger.kernel.org/>?
Yes, and any exceptions would be documented.
> > You can also read the archive at https://lore.kernel.org/git if you
> > later feel like checking for threads you might have missed.

Btw, you can use the "tc:" prefix to search To/Cc: fields as documented in https://lore.kernel.org/git/_/text/help/

You can get all the messages sent to you in gzipped mboxrd format via:

  curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m' >mboxrd.gz
And public-inbox.org/git still exists for redundancy and dogfooding:
  curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m' >mboxrd.gz

There may be a CLI tool for dealing with that in the near future that lets you keep track of which messages you've read/unread or tagged :>

Hongyi Zhao· Feb 3, 2021, 00:24 UTC · re: Eric Wong · lore

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

On Wed, Feb 3, 2021 at 6:23 AM Eric Wong <e@80x24.org> wrote:
Show 31 quoted lines
>
> Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> > On Tue, Feb 2, 2021 at 5:20 PM Jeff King <peff@peff.net> wrote:
> > >
> > > On Tue, Feb 02, 2021 at 05:02:53PM +0800, Hongyi Zhao wrote:
> > >
> > > > > If you only care about topics that you have participated in, the easiest
> > > > > thing is to simply unsubscribe from the list.
> > > >
> > > > Do you mean I still can post to this list without subscription to it?
> > >
> > > Yes.
> >
> > Does this rule apply to all the lists residing on <http://vger.kernel.org/>?
>
> Yes, and any exceptions would be documented.
>
> > > You can also read the archive at https://lore.kernel.org/git if you
> > > later feel like checking for threads you might have missed.
>
> Btw, you can use the "tc:" prefix to search To/Cc: fields
> as documented in https://lore.kernel.org/git/_/text/help/
>
> You can get all the messages sent to you in gzipped mboxrd
> format via:
>
>   curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m' >mboxrd.gz
>
> And public-inbox.org/git still exists for redundancy and dogfooding:
>
>   curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m' >mboxrd.gz

Thank you for telling me this. But why the content can't be directly print on the stdout as shown below:

werner@X10DAi:~$ curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m' werner@X10DAi:~$ curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m' werner@X10DAi:~$

As you can see, nothing is shown to me.
> There may be a CLI tool for dealing with that in the near future
> that lets you keep track of which messages you've read/unread or tagged :>
-- 
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
Kyle Meyer· Feb 3, 2021, 00:34 UTC · re: Hongyi Zhao · lore

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

Hongyi Zhao writes:
Show 19 quoted lines
> On Wed, Feb 3, 2021 at 6:23 AM Eric Wong <e@80x24.org> wrote:
>>
>> You can get all the messages sent to you in gzipped mboxrd
>> format via:
>>
>>   curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m' >mboxrd.gz
>>
>> And public-inbox.org/git still exists for redundancy and dogfooding:
>>
>>   curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m' >mboxrd.gz
>
> Thank you for telling me this. But why the content can't be directly
> print on the stdout as shown below:
>
> werner@X10DAi:~$ curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m'
> werner@X10DAi:~$ curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m'
> werner@X10DAi:~$
>
> As you can see, nothing is shown to me.
It's gzip compressed.  Try something like this instead:
  $ curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m' | zless
Eric Wong· Feb 3, 2021, 00:36 UTC · re: Hongyi Zhao · lore

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

Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
Show 8 quoted lines
> Thank you for telling me this. But why the content can't be directly
> print on the stdout as shown below:
> 
> werner@X10DAi:~$ curl -sSf -d '' 'https://lore.kernel.org/git/?q=tc:hongyi&x=m'
> werner@X10DAi:~$ curl -sSf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m'
> werner@X10DAi:~$
> 
> As you can see, nothing is shown to me.

Oops, leaving out '-s' for curl would've shown you the error. It's gzipped for bandwidth + I/O savings and truncation checking), so you can pipe it to zcat or "pigz -dc":

curl -Sf -d '' 'https://public-inbox.org/git/?q=tc:hongyi&x=m' | zcat
Junio C Hamano· Feb 2, 2021, 17:01 UTC · re: Jeff King · lore

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

Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> On Tue, Feb 02, 2021 at 04:31:59PM +0800, Hongyi Zhao wrote:
>
>> 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.
>> 
>> I'm not sure if this can be done by Gmail.
>
> If you only care about topics that you have participated in, the easiest
> thing is to simply unsubscribe from the list. The usual convention on
> this list is to keep recipients in the to/cc fields intact, so you'll
> continue to receive those emails directly from their senders.

Ahh, yes, that is indeed the right answer for this list, as we accept and respond to messages from non-subscribers, and the convention is to Cc everybody involved by default.

Thanks.
Hongyi Zhao· Feb 2, 2021, 08:59 UTC · re: Junio C Hamano · lore

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

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.
Regards
-- 
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
Matheus Tavares Bernardino· Feb 2, 2021, 14:28 UTC · re: Hongyi Zhao · lore

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

On Tue, Feb 2, 2021 at 6:02 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
Show 13 quoted lines
>
> 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.

Maybe you can use the "Doesn't have" filter field. (It doesn't have the same meaning, but perhaps it is close enough for your needs.) I have this set on my Gmail account: https://matheustavares.gitlab.io/posts/first-steps-contributing-to-git#filters

Hongyi Zhao· Feb 2, 2021, 14:53 UTC · re: Matheus Tavares Bernardino · lore

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

On Tue, Feb 2, 2021 at 10:28 PM Matheus Tavares Bernardino <matheus.bernardino@usp.br> wrote:

Show 20 quoted lines
>
> On Tue, Feb 2, 2021 at 6:02 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> >
> > 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.
>
> Maybe you can use the "Doesn't have" filter field. (It doesn't have
> the same meaning, but perhaps it is close enough for your needs.) I
> have this set on my Gmail account:
> https://matheustavares.gitlab.io/posts/first-steps-contributing-to-git#filters

Thanks a lot for your notes and I applied the setting rules suggested by you now.

BTW, I'm not sure whether the following two formats are equivalent or not:
list:(<git.vger.kernel.org>) and list:(<git@vger.kernel.org>)
Regards
-- 
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
Junio C Hamano· Feb 2, 2021, 17:09 UTC · re: Hongyi Zhao · lore

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

Hongyi Zhao <hongyi.zhao@gmail.com> writes:
Show 12 quoted lines
> 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.

Hongyi Zhao· Feb 3, 2021, 00:55 UTC · re: Junio C Hamano · lore

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

On Wed, Feb 3, 2021 at 1:09 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 30 quoted lines
>
> 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

Regards
-- 
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
Hongyi Zhao· Feb 3, 2021, 00:59 UTC · re: Hongyi Zhao · lore

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

On Wed, Feb 3, 2021 at 8:55 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
Show 39 quoted lines
>
> 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

← back to recent threads