From d2288651c20276f34a39d93c133201bc95bec058 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 27 Sep 1996 00:25:55 +0000 Subject: [PATCH] (rmail-summary-by-senders, rmail-summary): Add autoload. (rmail-summary-by-topic, rmail-summary-by-regexp): Likewise. (rmail-summary-by-recipients, rmail-summary-by-labels): Likewise. --- lisp/mail/rmailsum.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 4342a94dc26..0ce313d0fe7 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -53,11 +53,13 @@ (defun rmail-update-summary (&rest ignore) (apply (car rmail-summary-redo) (cdr rmail-summary-redo))) +;;;###autoload (defun rmail-summary () "Display a summary of all messages, one line per message." (interactive) (rmail-new-summary "All" '(rmail-summary) nil)) +;;;###autoload (defun rmail-summary-by-labels (labels) "Display a summary of all messages with one or more LABELS. LABELS should be a string containing the desired labels, separated by commas." @@ -71,6 +73,7 @@ LABELS should be a string containing the desired labels, separated by commas." 'rmail-message-labels-p (concat ", \\(" (mail-comma-list-regexp labels) "\\),"))) +;;;###autoload (defun rmail-summary-by-recipients (recipients &optional primary-only) "Display a summary of all messages with the given RECIPIENTS. Normally checks the To, From and Cc fields of headers; @@ -84,6 +87,7 @@ RECIPIENTS is a string of regexps separated by commas." 'rmail-message-recipients-p (mail-comma-list-regexp recipients) primary-only)) +;;;###autoload (defun rmail-summary-by-regexp (regexp) "Display a summary of all messages according to regexp REGEXP. If the regular expression is found in the header of the message @@ -102,6 +106,7 @@ Emacs will list the header line in the RMAIL-summary." ;; rmail-summary-by-topic ;; 1989 R.A. Schnitzler +;;;###autoload (defun rmail-summary-by-topic (subject &optional whole-message) "Display a summary of all messages with the given SUBJECT. Normally checks the Subject field of headers; @@ -126,6 +131,7 @@ SUBJECT is a string of regexps separated by commas." (if whole-message (re-search-forward subject nil t) (string-match subject (or (mail-fetch-field "Subject") "")) ))) +;;;###autoload (defun rmail-summary-by-senders (senders) "Display a summary of all messages with the given SENDERS. SENDERS is a string of names separated by commas." -- 2.39.2