comparison lisp/mail/rmail.el @ 12447:240de864f06c

(rmail-find-all-files): Bind case-fold-search. (rmail-summary-by-sender): Autoload this. (rmail-mode-map): Add rmail-summary-by-senders.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 Jun 1995 17:45:19 +0000
parents 3cd65cb4c643
children 6f4785fee5cc
comparison
equal deleted inserted replaced
12446:92440abe8409 12447:240de864f06c
447 '("Add Label..." . rmail-add-label)) 447 '("Add Label..." . rmail-add-label))
448 448
449 (define-key rmail-mode-map [menu-bar summary] 449 (define-key rmail-mode-map [menu-bar summary]
450 (cons "Summary" (make-sparse-keymap "Summary"))) 450 (cons "Summary" (make-sparse-keymap "Summary")))
451 451
452 (define-key rmail-mode-map [menu-bar summary senders]
453 '("By Senders..." . rmail-summary-by-senders))
454
452 (define-key rmail-mode-map [menu-bar summary labels] 455 (define-key rmail-mode-map [menu-bar summary labels]
453 '("By Labels..." . rmail-summary-by-labels)) 456 '("By Labels..." . rmail-summary-by-labels))
454 457
455 (define-key rmail-mode-map [menu-bar summary recipients] 458 (define-key rmail-mode-map [menu-bar summary recipients]
456 '("By Recipients..." . rmail-summary-by-recipients)) 459 '("By Recipients..." . rmail-summary-by-recipients))
760 (rmail-find-all-files file) 763 (rmail-find-all-files file)
761 ret))) 764 ret)))
762 ;; Sort here instead of in directory-files 765 ;; Sort here instead of in directory-files
763 ;; because this list is usually much shorter. 766 ;; because this list is usually much shorter.
764 (sort ret 'string<)) 767 (sort ret 'string<))
765 (if (string-match rmail-secondary-file-regexp start) 768 (let ((case-fold-search nil))
766 (list (file-name-nondirectory start))))) 769 (if (string-match rmail-secondary-file-regexp start)
770 (list (file-name-nondirectory start))))))
767 771
768 (defun rmail-list-to-menu (menu-name l action &optional full-name) 772 (defun rmail-list-to-menu (menu-name l action &optional full-name)
769 (let ((menu (make-sparse-keymap menu-name))) 773 (let ((menu (make-sparse-keymap menu-name)))
770 (mapcar 774 (mapcar
771 (function (lambda (item) 775 (function (lambda (item)
2562 Normally checks the Subject field of headers; 2566 Normally checks the Subject field of headers;
2563 but if WHOLE-MESSAGE is non-nil (prefix arg given), 2567 but if WHOLE-MESSAGE is non-nil (prefix arg given),
2564 look in the whole message. 2568 look in the whole message.
2565 SUBJECT is a string of regexps separated by commas." 2569 SUBJECT is a string of regexps separated by commas."
2566 t) 2570 t)
2571
2572 (autoload 'rmail-summary-by-sender "rmailsum"
2573 "Display a summary of all messages with the given SENDERS.
2574 SENDERS is a string of names separated by commas."
2575 t)
2567 2576
2568 ;;;; *** Rmail output messages to files *** 2577 ;;;; *** Rmail output messages to files ***
2569 2578
2570 (autoload 'rmail-output-to-rmail-file "rmailout" 2579 (autoload 'rmail-output-to-rmail-file "rmailout"
2571 "Append the current message to an Rmail file named FILE-NAME. 2580 "Append the current message to an Rmail file named FILE-NAME.