git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
HZHongyi Zhao <hongyi.zhao@gmail.com>
Date
Feb 3, 2021, 00:55 UTC
Message-ID
<CAGP6POJ4GPDL3uTzzBDSZ1ykypA4SyVEC5sc0W=FCLOsHmOntA@mail.gmail.com>
In-Reply-To
<xmqqv9bagzwb.fsf@gitster.c.googlers.com>
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
Previous: Junio C HamanoNext: Hongyi Zhao
Message 17 of 18 in “Only receive the topics I participated in or initiated on this mailing list.”
  1. Hongyi ZhaoFeb 2, 2021
  2. Junio C HamanoFeb 2, 2021
  3. Hongyi ZhaoFeb 2, 2021
  4. Jeff KingFeb 2, 2021
  5. Hongyi ZhaoFeb 2, 2021
  6. Jeff KingFeb 2, 2021
  7. Hongyi ZhaoFeb 2, 2021
  8. Eric WongFeb 2, 2021
  9. Hongyi ZhaoFeb 3, 2021
  10. Kyle MeyerFeb 3, 2021
  11. Eric WongFeb 3, 2021
  12. Junio C HamanoFeb 2, 2021
  13. Hongyi ZhaoFeb 2, 2021
  14. Matheus Tavares BernardinoFeb 2, 2021
  15. Hongyi ZhaoFeb 2, 2021
  16. Junio C HamanoFeb 2, 2021
  17. Hongyi ZhaoFeb 3, 2021
  18. Hongyi ZhaoFeb 3, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.