Variable: message-from-style

message-from-style is a customizable variable defined in message.el.gz.

This variable is obsolete since 27.1; Only the angles value is valid according to RFC2822

Value

angles

Documentation

Specifies how "From" headers look.

If nil, they contain just the return address like:
king@grassland.com
If parens, they look like:
king@grassland.com (Elvis Parsley)
If angles, they look like:
Elvis Parsley <king@grassland.com>

Otherwise, most addresses look like angles, but they look like parens if angles would need quoting and parens would not.

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

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defcustom message-from-style 'angles
  "Specifies how \"From\" headers look.

If nil, they contain just the return address like:
	king@grassland.com
If `parens', they look like:
	king@grassland.com (Elvis Parsley)
If `angles', they look like:
	Elvis Parsley <king@grassland.com>

Otherwise, most addresses look like `angles', but they look like
`parens' if `angles' would need quoting and `parens' would not."
  :version "27.1"
  :type '(choice (const :tag "simple" nil)
		 (const parens)
		 (const angles)
		 (const default))
  :group 'message-headers)