Re: dist with -nowhatnowproc
Michael Richardson <[email protected]> Mon, 22 Sep 2025 21:32:55 -0400
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
So, new "whatnowproc" is $HOME/bin/senddraft, which contains "send -draft"
and I think this works for me.
So I have:
(defun mcr-forward-to-fastmail () "Forwards current email to FastMail Account, no outbox"
(interactive)
(let ((msglist (mh-interactive-range "")))
(mh-exec-cmd "dist" "-draftfolder" "+drafts" "-draftmessage" "new"
"-whatnowproc" "senddraft" "-form" "fmcomps" mh-current-folder msglist)))
% cat $HOME/bin/senddraft
#!/bin/sh
send -draft "$@"