Function: mh-show
mh-show is an autoloaded, interactive and byte-compiled function
defined in mh-show.el.gz.
Signature
(mh-show &optional MESSAGE REDISPLAY-FLAG)
Documentation
Display message.
If the message under the cursor is already displayed, this command
scrolls to the beginning of the message. MH-E normally hides a lot of
the superfluous header fields that mailers add to a message, but if
you wish to see all of them, use the command , (mh-header-display).
Two hooks can be used to control how messages are displayed. The
first hook, mh-show-mode-hook, is called early on in the
process of the message display. It is usually used to perform
some action on the message's buffer. The second hook,
mh-show-hook, is the last thing called after messages are
displayed. It's used to affect the behavior of MH-E in general or
when mh-show-mode-hook is too early.
From a program, optional argument MESSAGE can be used to display an alternative message. The optional argument REDISPLAY-FLAG forces the redisplay of the message even if the show buffer was already displaying the correct message.
See the "mh-show" customization group for a litany of options that control what displayed messages look like.
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-show.el.gz
;;;###mh-autoload
(defun mh-show (&optional message redisplay-flag)
"Display message\\<mh-folder-mode-map>.
If the message under the cursor is already displayed, this command
scrolls to the beginning of the message. MH-E normally hides a lot of
the superfluous header fields that mailers add to a message, but if
you wish to see all of them, use the command \\[mh-header-display].
Two hooks can be used to control how messages are displayed. The
first hook, `mh-show-mode-hook', is called early on in the
process of the message display. It is usually used to perform
some action on the message's buffer. The second hook,
`mh-show-hook', is the last thing called after messages are
displayed. It's used to affect the behavior of MH-E in general or
when `mh-show-mode-hook' is too early.
From a program, optional argument MESSAGE can be used to display an
alternative message. The optional argument REDISPLAY-FLAG forces the
redisplay of the message even if the show buffer was already
displaying the correct message.
See the \"mh-show\" customization group for a litany of options that
control what displayed messages look like."
(interactive (list nil t))
(when (or redisplay-flag
(and mh-showing-with-headers
(or mh-mhl-format-file mh-clean-message-header-flag)))
(mh-invalidate-show-buffer))
(mh-show-msg message))