Function: rmail-sort-by-author

rmail-sort-by-author is an autoloaded, interactive and byte-compiled function defined in rmailsort.el.gz.

Signature

(rmail-sort-by-author REVERSE)

Documentation

Sort messages of current Rmail buffer by author.

This uses either the "From" or "Sender" header, downcased. 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-author (reverse)
  "Sort messages of current Rmail buffer by author.
This uses either the \"From\" or \"Sender\" header, downcased.
If prefix argument REVERSE is non-nil, sorts in reverse order."
  (interactive "P")
  (rmail-sort-messages reverse
		       (lambda (msg)
			 (downcase	; canonical name
			  (mail-strip-quoted-names
			   (or (rmail-get-header "From" msg)
			       (rmail-get-header "Sender" msg) ""))))))