Skip to main content

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.

Metadata

Release files for instant-runoff 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instant-runoff 0.1
File Size Uploaded
instant-runoff-0.1.tar.gz 2.1 kB Details

Release files / instant-runoff-0.1.tar.gz

Download URL instant-runoff-0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
09f93951658bdd7e39dfdde35579d8f13a213527576a41f3bcf6a26c55da9d32
BLAKE2b-256 checksum
How to use checksums
45bf226a0e842c7b2d7cf9351c1eff4a515fb161e32c9e4066146c9c4bfe9aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page