Function: rmail-summary-invert
rmail-summary-invert is an interactive and byte-compiled function
defined in rmailsum.el.gz.
Signature
(rmail-summary-invert)
Documentation
Invert the criteria of the current summary.
That is, show the messages that are not displayed, and hide the messages that are displayed.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
(defun rmail-summary-invert ()
"Invert the criteria of the current summary.
That is, show the messages that are not displayed, and hide
the messages that are displayed."
(interactive)
(rmail-summary-populate-displayed-messages)
(rmail-new-summary "Invert"
'(rmail-summary-by-regexp ".*")
(lambda (msg)
(if
(not (aref rmail-summary-currently-displayed-msgs msg))
(aset rmail-summary-currently-displayed-msgs msg t)
(aset rmail-summary-currently-displayed-msgs msg nil)))))