WHATNOW(1mh)

πŸ’– WHATNOW(1mh) πŸ’–

okay bestie, pull up a chair, we're talking about whatnow2 β€” the front-end for handling drafts, from the mmh-0.4 era, and honestly? she's doing the most so you don't have to. πŸŽ€


✨ SYNOPSIS ✨

whatnow [command |-Version] |-help]

(yes the brackets are Like That, we don't touch the brackets, the brackets are iconic 🫢)


🌸 DESCRIPTION 🌸

Whatnow is the default program that queries the user about the disposition of a composed draft. Basically: you wrote a whole email, congrats diva, and now whatnow slides in to ask "and what are we doing with this, bestie?"

It's normally automatically invoked by one of the mmh commands comp, dist, forw, or repl β€” right after the initial edit. So you don't usually call her, she calls you. main character energy fr. πŸ’…

When started, the editor is started on the draft. Then, whatnow can be called with one of the commands:

  • edit β€” re-edit using the same editor that was used on the preceding round, unless a profile entry <lasteditor>-next: <editor> names an alternate editor
  • edit <editor> β€” invoke <editor> for further editing
  • list β€” list the draft on the terminal
  • display β€” list the message being distributed/replied-to on the terminal
  • whom β€” list the recipients of the message
  • send β€” send the message
  • refile +folder β€” refile the draft into the given folder
  • delete β€” delete the draft and exit
  • attach files β€” add the named files to the draft as MIME attachments
  • alist β€” list the MIME attachments
  • detach numbers β€” remove MIME attachments by number

🌈 the little shortcuts (iykyk)

When entering your response, you need only type enough characters to uniquely identify the response. So like, the absolute bare minimum. we love a low-effort queen. πŸ’œ

For the edit response, any valid switch to the editor is valid.

For the send response, any valid switch to send(1) is valid.

For the refile response, any valid switch to refile is valid.


🧚 the lore

See mh-profile(5) for further information about how editors are used by mmh. It also discusses how environment variables can be used to direct whatnow's actions in complex ways. (complex ways!! she's flexible!! πŸ”₯)

careful bestie: If the initial edit fails, no new draft is created, but any existing re-used draft is preserved. Failures of later edits are ignored and another prompt is printed. so like. she's forgiving but she's not that forgiving. 😭

Consult the mh-draft(7) man page for more information. πŸ¦‹


πŸŽ€ FILES πŸŽ€

  • $HOME/.mmh/profile β€” The user profile
  • +drafts β€” The draft folder

πŸ‘‘ PROFILE COMPONENTS πŸ‘‘

  • Path: β€” To determine the user's mail storage
  • Draft-Folder: β€” To set the default draft-folder
  • Editor: β€” To override the default editor
  • Metafile-Extension: β€” The optional extion for meta information like lasteditor
  • <lasteditor>-next: β€” To name an editor to be used after exit from <lasteditor>
  • listproc: β€” Program to list the contents of a message
ngl the word "extion" up there is straight from the source, I am not the one who did that, we preserve the artifacts here 🏺✨

πŸ’« SEE ALSO πŸ’«


🫢 CONTEXT 🫢

None


and that's the whole vibe, bestie β€” she's whatnow, from mmh-0.4, dated 2019-01-06, and she's literally just here to ask you what's next. no cap. go forth and send responsibly. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from