Function: rmail-summary-by-senders
rmail-summary-by-senders is an autoloaded, interactive and
byte-compiled function defined in rmailsum.el.gz.
Signature
(rmail-summary-by-senders SENDERS)
Documentation
Display a summary of all messages whose "From" field matches SENDERS.
SENDERS is a regular expression. The default for SENDERS matches the sender of the current message.
Probably introduced at or before Emacs version 27.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
;;;###autoload
(defun rmail-summary-by-senders (senders)
"Display a summary of all messages whose \"From\" field matches SENDERS.
SENDERS is a regular expression. The default for SENDERS matches the
sender of the current message."
(interactive
(let* ((def (rmail-get-header "From"))
;; We quote the default argument, because if it contains regexp
;; special characters (eg "?"), it can fail to match itself.
(sender (regexp-quote def))
(prompt (concat "Senders to summarize by (regexp"
(if sender ", default this message's sender" "")
"): ")))
(list (read-string prompt nil nil sender))))
(if (and rmail-summary-progressively-narrow
(rmail-summary--exists-1))
(rmail-summary-populate-displayed-messages))
(rmail-new-summary
(concat "senders " senders)
(list 'rmail-summary-by-senders senders)
(if (and rmail-summary-progressively-narrow
(rmail-summary--exists-1))
(lambda (msg s)
(and (aref rmail-summary-currently-displayed-msgs msg)
(rmail-message-senders-p msg s)))
'rmail-message-senders-p)
senders))