Write emails in groff.
Project description
write e-mails in groff.
Setup
Install.
pip2 install instant-runoff
Then add these macros to your muttrc.
macro compose g '<pgp-menu>c<enter-command>set sendmail="instant-runoff"<enter><send-message><enter-command>set sendmail=/usr/lib/sendmail<enter> macro compose <Esc>g '<pipe-entry>instant-runoff --preview<enter> macro compose <Esc>r '<pipe-entry>instant-runoff --save<enter><attach-file>/tmp/runoff.txt<enter><attach-file>/tmp/runoff.groff<enter><edit-type>^A^Ktext/x-groff-ms<enter><previous-entry><previous-entry><detach-file>
Usage
Press g in mutt to send a multi-part html/txt/groff message; ESC+g can be used to preview a message’s groff output. ESC+r will replace the message with txt+groff and allow nor- mal sending. This may be useful for encrypted groff-mails.
instant-runoff is set up to use the ms macro package, and preprocess input with tbl.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
instant-runoff-0.1.tar.gz
(2.1 kB
view hashes)