From: Kevin McCarthy Date: Sat, 9 Mar 2019 11:12:19 +0000 (+0800) Subject: Add "Message Composition Flow" section to manual. X-Git-Tag: mutt-1-12-rel~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e548343453c330ca27e86d0b53612b9c1c232c1a;p=mutt Add "Message Composition Flow" section to manual. This provides a brief overview of the steps during message composition, and shows when the various hooks are executed. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index 105eb585..9c9fda2d 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -5918,6 +5918,8 @@ option/command. See: for specific details on each type of hook available. +Also see Message Composition Flow for +an overview of the composition process. @@ -6733,6 +6735,130 @@ macro index ,a "<save-message>=archive<enter><enter-command>ec + + Message Composition Flow + + + This is a brief overview of the steps Mutt takes during message + composition. It also shows the order and timing of hook execution. + + + + + + Reply envelope settings. $reverse_name processing. To, + Cc, Subject, References header defaults. + + + + + my_hdr processing for To, Cc, + Bcc, Subject headers. + + + + + Prompts for To, Cc, Bcc, Subject headers. + See $askcc, + $askbcc, + $fast_reply. + + + + + From header setting. Note: this is so send-hooks below can match ~P, but + From is re-set further below in case a send-hook changes the + value. + + + + + reply-hook + + + + + send-hook + + + + + From header setting. + + + + + my_hdr processing for From, + Reply-To, Message-ID and user-defined headers. The To, Cc, + Bcc, Subject, and Return-Path headers are ignored at this + stage. + + + + + Message body and signature generation. + + + + + send2-hook + + + + + $realname part of From header setting. + + + + + $editor invocation for the + message. + + + + + send2-hook + + + + + Cryptographic settings. + + + + + fcc-hook. Fcc setting. + + + + + Compose menu. Note: send2-hook is evaluated each time + the headers are changed. + + + + + Message encryption and signing. Key selection. + + + + + Message sending. + + + + + Fcc saving. Note: prior to version 1.12, the Fcc was saved + before sending the message. It is now saved afterwards, but + the if saving fails, the user is prompted. + + + + + Miscellany