Variable: rmail-summary-sender-function

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

Value

mail-strip-quoted-names

Documentation

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

The function is called with the raw contents of the From: field as a string, and should return a string.

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-sender-function #'mail-strip-quoted-names
  "Function used to format the sender field in Rmail summary lines.
The function is called with the raw contents of the From: field as a
string, and should return a string."
  :type '(choice (function-item :tag "Address"
				mail-strip-quoted-names)
		 (function-item :tag "Name (fallback to address)"
				rmail-summary-name-or-address)
		 function)
  :version "31.1"
  :group 'rmail-summary)