Function: rmail-sort-by-correspondent
rmail-sort-by-correspondent is an autoloaded, interactive and
byte-compiled function defined in rmailsort.el.gz.
Signature
(rmail-sort-by-correspondent REVERSE)
Documentation
Sort messages of current Rmail buffer by other correspondent.
This uses either the "From", "Sender", "To", or
"Apparently-To" header, downcased. Uses the first header not
excluded by mail-dont-reply-to-names. If prefix argument
REVERSE is non-nil, sorts in reverse order.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmailsort.el.gz
;;;###autoload
(defun rmail-sort-by-correspondent (reverse)
"Sort messages of current Rmail buffer by other correspondent.
This uses either the \"From\", \"Sender\", \"To\", or
\"Apparently-To\" header, downcased. Uses the first header not
excluded by `mail-dont-reply-to-names'. If prefix argument
REVERSE is non-nil, sorts in reverse order."
(interactive "P")
(rmail-sort-messages reverse
(lambda (msg)
(downcase
(rmail-select-correspondent
msg
'("From" "Sender" "To" "Apparently-To"))))))