Variable: gnus-visible-headers

gnus-visible-headers is a customizable variable defined in gnus-art.el.gz.

Value

"^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\|^Gnus-Warning:\\|^Resent-From:"

Documentation

All headers that do not match this regexp will be hidden.

This variable can also be a list of regexp of headers to remain visible. If this variable is non-nil, gnus-ignored-headers will be ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defcustom gnus-visible-headers
  "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\|^Gnus-Warning:\\|^Resent-From:"
  "All headers that do not match this regexp will be hidden.
This variable can also be a list of regexp of headers to remain visible.
If this variable is non-nil, `gnus-ignored-headers' will be ignored."
  :type `(choice
	  (repeat :value-to-internal
		  ,(lambda (_widget value)
		     ;; FIXME: Are we sure this can't be used without
		     ;; loading cus-edit?
		     (declare-function custom-split-regexp-maybe
                                       "cus-edit" (regexp))
		     (custom-split-regexp-maybe value))
		  :match ,(lambda (widget value)
			    (or (stringp value)
                                (widget-editable-list-match widget value)))
		  regexp)
	  (const :tag "Use gnus-ignored-headers" nil)
	  regexp)
  :group 'gnus-article-hiding)