Variable: gnus-article-address-banner-alist

gnus-article-address-banner-alist is a customizable variable defined in gnus-art.el.gz.

Value

nil

Documentation

Alist of mail addresses and banners.

Each element has the form (ADDRESS . BANNER), where ADDRESS is a regexp to match a mail address in the From: header, BANNER is one of a symbol signature, an item in gnus-article-banner-alist, a regexp and nil. If ADDRESS matches author's mail address, it will remove things like advertisements. For example:

(("@yoo-hoo\\\\.co\\\\.jp\\\\\\='" . "\\n_+\\nDo You Yoo-hoo!\\\\?\\n.*\\n.*\\n"))

This variable was added, or its default value changed, in Emacs 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defcustom gnus-article-address-banner-alist nil
  "Alist of mail addresses and banners.
Each element has the form (ADDRESS . BANNER), where ADDRESS is a regexp
to match a mail address in the From: header, BANNER is one of a symbol
`signature', an item in `gnus-article-banner-alist', a regexp and nil.
If ADDRESS matches author's mail address, it will remove things like
advertisements.  For example:

\((\"@yoo-hoo\\\\.co\\\\.jp\\\\\\='\" . \"\\n_+\\nDo You Yoo-hoo!\\\\?\\n.*\\n.*\\n\"))
"
  :type '(repeat
	  (cons
	   (regexp :tag "Address")
	   (choice :tag "Banner" :value nil
		   (const :tag "Remove signature" signature)
		   (symbol :tag "Item in `gnus-article-banner-alist'" none)
		   regexp
		   (const :tag "None" nil))))
  :version "22.1"
  :group 'gnus-article-washing)