mh-e. Node: Customizing Old Drafts

PREV Customizing Redistributing UP Customizing Sending next

3.2.4: Editing Old Drafts and Bounced Messages

The header fields specified by mh-new-draft-cleaned-headers are removed from an old draft that has been recreated with M-e (mh-extract-rejected-mail) or M-a (mh-edit-again). If when you edit an old draft with these commands you find that there are header fields that you don't want included, you can append them to this variable. For example,

(setq mh-new-draft-cleaned-headers
      (concat mh-new-draft-cleaned-headers "\\|^Some-Field:"))

This appends the regular expression `\\|^Some-Field:' to the variable (see Regexps). The `\\|' means or, and the `^' (caret) matches the beginning of the line. This is done to be very specific about which fields match. The literal `:' is appended for the same reason.

PREV Customizing Redistributing UP Customizing Sending next