(define-key rmail-mode-map [menu-bar summary]
(cons "Summary" (make-sparse-keymap "Summary")))
+(define-key rmail-mode-map [menu-bar summary senders]
+ '("By Senders..." . rmail-summary-by-senders))
+
(define-key rmail-mode-map [menu-bar summary labels]
'("By Labels..." . rmail-summary-by-labels))
;; Sort here instead of in directory-files
;; because this list is usually much shorter.
(sort ret 'string<))
- (if (string-match rmail-secondary-file-regexp start)
- (list (file-name-nondirectory start)))))
+ (let ((case-fold-search nil))
+ (if (string-match rmail-secondary-file-regexp start)
+ (list (file-name-nondirectory start))))))
(defun rmail-list-to-menu (menu-name l action &optional full-name)
(let ((menu (make-sparse-keymap menu-name)))
look in the whole message.
SUBJECT is a string of regexps separated by commas."
t)
+
+(autoload 'rmail-summary-by-sender "rmailsum"
+ "Display a summary of all messages with the given SENDERS.
+SENDERS is a string of names separated by commas."
+ t)
\f
;;;; *** Rmail output messages to files ***