Variable: mh-search-mode-hook

mh-search-mode-hook is a customizable variable defined in mh-search.el.gz.

Value

nil

Documentation

Hook run upon entry to mh-search-mode.

If you find that you do the same thing over and over when editing the search template, you may wish to bind some shortcuts to keys. This can be done with this hook which is called when F s (mh-search) is run on a new pattern.

This variable was added, or its default value changed, in MH-E version
8.0.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-search.el.gz
(define-derived-mode mh-search-mode fundamental-mode "MH-Search"
  "Mode for creating search templates in MH-E.\\<mh-search-mode-map>

Edit this template by entering your search criteria in an
appropriate header field that is already there, or create a new
field yourself. If the string you're looking for could be
anywhere in a message, then place the string underneath the row
of dashes.

To perform the search, type \\[mh-index-do-search].

Sometimes you're searching for text that is either not indexed,
or hasn't been indexed yet. In this case you can override the
default method with the pick method by running the command
\\[mh-pick-do-search].

The hook `mh-search-mode-hook' is called upon entry to this mode.

\\{mh-search-mode-map}"

  (mh-set-help mh-search-mode-help-messages))