From: Lars Magne Ingebrigtsen Date: Fri, 1 Oct 2010 19:32:07 +0000 (+0200) Subject: (Article Hiding): Add google banner example. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=ef13d049b6cbb161a1598294975b04ab637962fa (Article Hiding): Add google banner example. Suggested by Benjamin Xu. --- diff --git a/texi/ChangeLog b/texi/ChangeLog index 9772e4f4c..c26b205ca 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -2,6 +2,8 @@ * gnus.texi (Splitting Mail): Mention the new fancy splitting function. + (Article Hiding): Add google banner example. Suggested by Benjamin + Xu. 2010-09-30 Teodor Zlatanov diff --git a/texi/gnus.texi b/texi/gnus.texi index 564996cc9..28589909c 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -9477,6 +9477,14 @@ signature should be removed, or other symbol, meaning that the corresponding regular expression in @code{gnus-article-banner-alist} is used. +For instance: + +@lisp +(setq gnus-article-banner-alist + ((googleGroups . + "^\n*--~--~---------\\(.+\n\\)+"))) +@end lisp + Regardless of a group, you can hide things like advertisements only when the sender of an article has a certain mail address specified in @code{gnus-article-address-banner-alist}.