Variable: rmail-summary-recipient-function

rmail-summary-recipient-function is a customizable variable defined in rmailsum.el.gz.

Value

rmail-summary-recipient-strip-quoted-names

Documentation

Function used to format the recipient field in Rmail summary lines.

The function is called with the raw contents of the To: field as a string, and should return a string. When extracting names, fall back to email addresses if no name can be extracted.

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

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
(defcustom rmail-summary-recipient-function #'rmail-summary-recipient-strip-quoted-names
  "Function used to format the recipient field in Rmail summary lines.
The function is called with the raw contents of the To: field as a
string, and should return a string.  When extracting names, fall back to
email addresses if no name can be extracted."
  :type '(choice (function-item :tag "Addresses (first line)"
				rmail-summary-recipient-strip-quoted-names)
		 (function-item :tag "First recipient name (fallback to address)"
				rmail-summary-name-or-address)
		 (function-item :tag "All recipient names (fallback to addresses)"
				rmail-summary-recipient-names)
		 function)
  :version "31.1"
  :group 'rmail-summary)