Searching Through Messages

[previous] [next] [table of contents] [index]

Note: HTML conversion may not be complete.

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 the variable mh-pick-mode-hook, which is called when M-s (mh-search-folder) is run on a new pattern. The string mh-partial-folder-mode-line-annotation is used to annotate the mode line when only a portion of the folder is shown. For example, this will be displayed after running M-s (mh-search-folder) to list messages based on some search criteria (see the Section Searching Through Messages). The default annotation of "select" yields a mode line that looks like:

 -- %%-{+inbox/select} 2 msgs (2-3)      (MH-Folder) -- All----------------------

[Table of Contents] [Index] [Previous: Finishing Up] [Next: Chapter Introduction (Introducing exmh)]

This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright © 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely-available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.

Suggestions are welcome: Bill Wohler <>