Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for instant-runoff, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size instant-runoff-0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page