MM-OBSCURE(l)

NAME
mm-obscure - obscure mm options

DESCRIPTION
Since mm is such a big and frequently-used program, it has certain options and abilities that are unnecessary for most use. However, these options are available for those who want them.

If you use mm with GNU emacs and mmail mode, meaning when you start up your editor from send mode within mm it sets up buffers for your message, the headers, and the message to which you are replying (if there is one), then you can run a special mmail-hook as emacs starts up. To do this, you must add a few things to your ~/.emacs file. When called from mm, GNU emacs will look for the variable mmail-mode-hooks, which should be a list of functions to execute. For example, you could have these definitions in your .emacs file:

(setq mmail-mode-hooks '(mmail-mode-hook1))
(defun mmail-mode-hook1 ()
  (message "look at me")
  (sit-for 1)
  nil)

Another thing that mm handles is header options. These are similar to user headers, but they have values already filled in. If you have a set of headers that you always like to have in your outgoing mail, mm will put them in for you. You simply set the header-options-file variable to point to a file, and put your headers in that file. The contents of the file would look something like this:

Office: 719 Watson
Favorite-Color: Purple

Note that the header name, which comes before the colon, should have no whitespace (spaces or tabs) in it, but can have dashes and underscores.

FILES
~/.mminit    value of header-options-file
the header options file as set in your .mminit file

SEE ALSO
mm(l)