MH-DRAFT(7)

πŸ“¦ version 0.4, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’Œ NAME πŸ’Œ

mh-draft β€” the draft folder facility for mmh, bestie. This is the MH-DRAFT(7) page, and it's all about keeping your outgoing-mail drafts cute and organized. πŸ’…

✨ DESCRIPTION ✨

Okay so there are a bunch of genuinely interesting advanced facilities for composing outgoing mail. πŸ‘‘

πŸ—‚οΈ The Draft Folder πŸ—‚οΈ

The comp, dist, forw, and repl commands let you manipulate various draft messages simultaneously. No cap, you can have multiple drafts in play at once. πŸ¦‹

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 with -use, in which case the current draft is used. That's the little shortcut: -use means β€œbestie, I'm continuing the draft I already have.” ✨

Whichever draft you were last composing? That's the current message in the draft folder. It's giving β€œmost recent main character.” πŸ‘‘

The user can send off whatever drafts they want from the shell using the standard mmh msgs convention with the send command:

send f

If no msgs are given, the current message is used. Easy. πŸ’–

To make all this a bit more clear, here are some examples. (Yes, examples, we love a visual aid.) 🌈

Any of these commands:

comp
dist
forw
repl

constructs the message draft in the draft folder using the b message number. On top of that, each one defines c in this folder as that message draft. So b is the new draft, and c is the current one. 🫢

If the user were to use the quit option at the What now? level, then later on, if no other draft composition was done, the draft could be sent with simply:

send

Or, if more editing was required, the draft could be edited with:

comp -use

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 scan 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 pick to do the work:

comp -use `pick +drafts -to nmh-workers`

or:

send `pick +drafts -to nmh-workers`
Heads up, bestie πŸ’€: in the comp example, the output from pick must resolve 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 send example, as many message drafts as desired can appear, since send doesn't mind sending more than one draft at a time. Slay, but know the difference. πŸ’…

It is important to realize that mmh treats the draft folder like a standard MH folder. Like, literally a normal MH folder. Don't overthink it. 🧚

🧭 CONTEXT 🧭

None. That's it. No context. Zero. Nada. πŸ™ˆ


byeee, bestie πŸ’… β€” source/version MH.6.8, dated 2019-01-06 (and the header was rocking [mmh-0.4]). Periodt. 🌸

πŸ“¦ where this page comes from