Function: rmail-summary-mode
rmail-summary-mode is an interactive and byte-compiled function
defined in rmailsum.el.gz.
Signature
(rmail-summary-mode)
Documentation
Rmail Summary Mode is invoked from Rmail Mode by using h (rmail-summary).
As commands are issued in the summary buffer, they are applied to the corresponding mail messages in the rmail buffer.
All normal editing commands are turned off. Instead, nearly all the Rmail mode commands are available, though many of them move only among the messages in the summary.
These additional commands exist:
M-x rmail-summary-undelete-many (rmail-summary-undelete-many) Undelete all or prefix arg deleted messages.
M-x rmail-summary-wipe (rmail-summary-wipe) Delete the summary and go to the Rmail buffer.
Commands for sorting the summary:
M-x rmail-summary-sort-by-date (rmail-summary-sort-by-date) Sort by date.
M-x rmail-summary-sort-by-subject (rmail-summary-sort-by-subject) Sort by subject.
M-x rmail-summary-sort-by-author (rmail-summary-sort-by-author) Sort by author.
M-x rmail-summary-sort-by-recipient (rmail-summary-sort-by-recipient) Sort by recipient.
M-x rmail-summary-sort-by-correspondent (rmail-summary-sort-by-correspondent) Sort by correspondent.
M-x rmail-summary-sort-by-lines (rmail-summary-sort-by-lines) Sort by lines.
M-x rmail-summary-sort-by-labels (rmail-summary-sort-by-labels) Sort by labels.
In addition to any hooks its parent mode special-mode might have run,
this mode runs the hook rmail-summary-mode-hook, as the final or
penultimate step during initialization.
Probably introduced at or before Emacs version 19.29.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
(define-derived-mode rmail-summary-mode special-mode "RMAIL Summary"
"Rmail Summary Mode is invoked from Rmail Mode by using \\<rmail-mode-map>\\[rmail-summary].
As commands are issued in the summary buffer, they are applied to the
corresponding mail messages in the rmail buffer.
All normal editing commands are turned off.
Instead, nearly all the Rmail mode commands are available,
though many of them move only among the messages in the summary.
These additional commands exist:
\\[rmail-summary-undelete-many] Undelete all or prefix arg deleted messages.
\\[rmail-summary-wipe] Delete the summary and go to the Rmail buffer.
Commands for sorting the summary:
\\[rmail-summary-sort-by-date] Sort by date.
\\[rmail-summary-sort-by-subject] Sort by subject.
\\[rmail-summary-sort-by-author] Sort by author.
\\[rmail-summary-sort-by-recipient] Sort by recipient.
\\[rmail-summary-sort-by-correspondent] Sort by correspondent.
\\[rmail-summary-sort-by-lines] Sort by lines.
\\[rmail-summary-sort-by-labels] Sort by labels."
(setq truncate-lines t)
(setq buffer-read-only t)
(set-syntax-table text-mode-syntax-table)
(make-local-variable 'rmail-buffer)
(make-local-variable 'rmail-total-messages)
(setq-local rmail-current-message nil)
(setq-local rmail-summary-redo nil)
(make-local-variable 'revert-buffer-function)
(setq-local font-lock-defaults '(rmail-summary-font-lock-keywords t))
(rmail-summary-enable))