aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-27 00:25:55 +0000
committerRichard M. Stallman1996-09-27 00:25:55 +0000
commitd2288651c20276f34a39d93c133201bc95bec058 (patch)
tree0b8f28496ed450bfb07675a724bcae5c98d0ef71 /lisp
parentc889a41aa6ca763a234c253381b39302d728eb2d (diff)
downloademacs-d2288651c20276f34a39d93c133201bc95bec058.tar.gz
emacs-d2288651c20276f34a39d93c133201bc95bec058.zip
(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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/rmailsum.el6
1 files changed, 6 insertions, 0 deletions
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 @@
53(defun rmail-update-summary (&rest ignore) 53(defun rmail-update-summary (&rest ignore)
54 (apply (car rmail-summary-redo) (cdr rmail-summary-redo))) 54 (apply (car rmail-summary-redo) (cdr rmail-summary-redo)))
55 55
56;;;###autoload
56(defun rmail-summary () 57(defun rmail-summary ()
57 "Display a summary of all messages, one line per message." 58 "Display a summary of all messages, one line per message."
58 (interactive) 59 (interactive)
59 (rmail-new-summary "All" '(rmail-summary) nil)) 60 (rmail-new-summary "All" '(rmail-summary) nil))
60 61
62;;;###autoload
61(defun rmail-summary-by-labels (labels) 63(defun rmail-summary-by-labels (labels)
62 "Display a summary of all messages with one or more LABELS. 64 "Display a summary of all messages with one or more LABELS.
63LABELS should be a string containing the desired labels, separated by commas." 65LABELS 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."
71 'rmail-message-labels-p 73 'rmail-message-labels-p
72 (concat ", \\(" (mail-comma-list-regexp labels) "\\),"))) 74 (concat ", \\(" (mail-comma-list-regexp labels) "\\),")))
73 75
76;;;###autoload
74(defun rmail-summary-by-recipients (recipients &optional primary-only) 77(defun rmail-summary-by-recipients (recipients &optional primary-only)
75 "Display a summary of all messages with the given RECIPIENTS. 78 "Display a summary of all messages with the given RECIPIENTS.
76Normally checks the To, From and Cc fields of headers; 79Normally checks the To, From and Cc fields of headers;
@@ -84,6 +87,7 @@ RECIPIENTS is a string of regexps separated by commas."
84 'rmail-message-recipients-p 87 'rmail-message-recipients-p
85 (mail-comma-list-regexp recipients) primary-only)) 88 (mail-comma-list-regexp recipients) primary-only))
86 89
90;;;###autoload
87(defun rmail-summary-by-regexp (regexp) 91(defun rmail-summary-by-regexp (regexp)
88 "Display a summary of all messages according to regexp REGEXP. 92 "Display a summary of all messages according to regexp REGEXP.
89If the regular expression is found in the header of the message 93If 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."
102;; rmail-summary-by-topic 106;; rmail-summary-by-topic
103;; 1989 R.A. Schnitzler 107;; 1989 R.A. Schnitzler
104 108
109;;;###autoload
105(defun rmail-summary-by-topic (subject &optional whole-message) 110(defun rmail-summary-by-topic (subject &optional whole-message)
106 "Display a summary of all messages with the given SUBJECT. 111 "Display a summary of all messages with the given SUBJECT.
107Normally checks the Subject field of headers; 112Normally checks the Subject field of headers;
@@ -126,6 +131,7 @@ SUBJECT is a string of regexps separated by commas."
126 (if whole-message (re-search-forward subject nil t) 131 (if whole-message (re-search-forward subject nil t)
127 (string-match subject (or (mail-fetch-field "Subject") "")) ))) 132 (string-match subject (or (mail-fetch-field "Subject") "")) )))
128 133
134;;;###autoload
129(defun rmail-summary-by-senders (senders) 135(defun rmail-summary-by-senders (senders)
130 "Display a summary of all messages with the given SENDERS. 136 "Display a summary of all messages with the given SENDERS.
131SENDERS is a string of names separated by commas." 137SENDERS is a string of names separated by commas."