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 details)

Uploaded Source

File details

Details for the file instant-runoff-0.1.tar.gz.

File metadata

File hashes

Hashes for instant-runoff-0.1.tar.gz
Algorithm Hash digest
SHA256 09f93951658bdd7e39dfdde35579d8f13a213527576a41f3bcf6a26c55da9d32
MD5 40dfe2ff05258e487871ab9389f63863
BLAKE2b-256 45bf226a0e842c7b2d7cf9351c1eff4a515fb161e32c9e4066146c9c4bfe9aa3

See more details on using hashes here.

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