Next: , Previous: Mail Creation, Up: Entry Points


4.1.2.2 Mail Adaptation

Assuming that you are already editing a message (with your usual MUA), you can adapt it to Patcher. This might be useful if you want to reply to a normal message with a Patcher mail and your MUA is unknown to Patcher (see Insinuation). Start by creating the reply, and then adapt it to Patcher.

— Function: patcher-mail-adapt

Adapt an existing message to Patcher by prompting you for the name of a project and possibly a new subject. This function also performs a global diff of your project.

When adapting a message to Patcher, you are always prompted for a new subject line, although you can just hit Return to leave it empty. If there is indeed a subject change (that is, if there is both an old subject and a new one), Patcher uses a project option called :subject-rewrite-format to modify the subject line. The subject rewrite format is a string in which a ‘%s’ is replaced with the new subject, while a ‘%S’ is replaced with the old one.

By default, the subject rewrite format is ‘"%s (was: %S)"’. Note that the subject prefix (see Message Customization) is added in front of the subject line after the subject has been rewritten.