mh-draft - draft folder facility for mmh
There are a number of interesting advanced facilities for the composition of
, and repl
commands allow you to
manipulate various draft messages simultanely
Draft messages are created in the draft folder. (The `Draft-Folder
profile entry may be used to change the default draft folder.
New drafts are created unless the user invokes comp
which case the current draft is used.
The last draft message the user was composing is the current message in the
The user can send off whatever drafts desired from the shell using the standard
`msgs' convention to the send
If no `msgs' are given, the current message is used.
To make all this a bit more clear, here are some examples:
Any of the commands
constructs the message draft in the draft folder using the `b' message number.
Furthermore, they each define `c' in this folder to be that message draft. If
the user were to use the quit
option at `What now?' level, then later
on, if no other draft composition was done, the draft could be sent with
Or, if more editing was required, the draft could be edited with
Instead, if other drafts had been composed in the meantime, so that this message
draft was no longer known as `c' in the `draft' folder, then the user could
the folder to see which message draft in the folder should be used
for editing or sending. Clever users could even employ a back-quoted
to do the work:
comp -use `pick +drafts -to nmh-workers`
send `pick +drafts -to nmh-workers`
Note that in the comp
example, the output from pick
to a single message draft (it makes no sense to talk about composing two or
more drafts with one invocation of comp
). In contrast, in the
example, as many message drafts as desired can appear, since
doesn't mind sending more than one draft at a time.
It is important to realize that mmh
treats the draft folder like a