# HG changeset patch # User Richard M. Stallman # Date 740728522 0 # Node ID da9b565f987807cfaf8ea270b1fd53dded19d716 # Parent 3bd157da22228c3a9169e837729cd71551790c5c Add autoloads for rmailsort commands. (rmail-mode-map): Add bindings for those commands. diff -r 3bd157da2222 -r da9b565f9878 lisp/mail/rmail.el --- a/lisp/mail/rmail.el Tue Jun 22 03:58:05 1993 +0000 +++ b/lisp/mail/rmail.el Tue Jun 22 05:55:22 1993 +0000 @@ -344,6 +344,12 @@ (define-key rmail-mode-map " " 'scroll-up) (define-key rmail-mode-map "\177" 'scroll-down) (define-key rmail-mode-map "?" 'describe-mode) + (define-key rmail-mode-map "\C-c\C-s\C-d" 'rmail-sort-by-date) + (define-key rmail-mode-map "\C-c\C-s\C-s" 'rmail-sort-by-subject) + (define-key rmail-mode-map "\C-c\C-s\C-a" 'rmail-sort-by-author) + (define-key rmail-mode-map "\C-c\C-s\C-r" 'rmail-sort-by-recipient) + (define-key rmail-mode-map "\C-c\C-s\C-c" 'rmail-sort-by-correspondent) + (define-key rmail-mode-map "\C-c\C-s\C-l" 'rmail-sort-by-lines) ) (define-key rmail-mode-map [menu-bar] (make-sparse-keymap)) @@ -1974,6 +1980,32 @@ (autoload 'rmail-edit-current-message "rmailedit" "Edit the contents of the current message" t) + +;;;; *** Rmail Sorting *** + +(autoload 'rmail-sort-by-date "rmailsort" + "Sort messages of current Rmail file by date. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) + +(autoload 'rmail-sort-by-subject "rmailsort" + "Sort messages of current Rmail file by subject. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) + +(autoload 'rmail-sort-by-author "rmailsort" + "Sort messages of current Rmail file by author. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) + +(autoload 'rmail-sort-by-recipient "rmailsort" + "Sort messages of current Rmail file by recipient. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) + +(autoload 'rmail-sort-by-correspondent "rmailsort" + "Sort messages of current Rmail file by other correspondent. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) + +(autoload 'rmail-sort-by-lines "rmailsort" + "Sort messages of current Rmail file by number of lines. +If prefix argument REVERSE is non-nil, sort them in reverse order." t) ;;;; *** Rmail Summary Mode ***