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.

Source Distribution

instant-runoff-0.1.tar.gz (2.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page