converting attachments to text

Daniel Kahn Gillmor dkg at
Mon Jan 2 23:49:08 PST 2017

On Tue 2017-01-03 02:27:23 -0500, Bart Bunting wrote:
> I'm blind so use emacspeak as my primary interface.  Having an easy way
> to convert the notmuch attachments to text other than saving to a file
> and processing them would greatly speed up my workflow.

I use notmuch-emacs, and frequently pipe message parts (attachments)
into pipelines with ". |" (that is, the dot key on my keyboard, followed
by the pipe key on my keyboard) while the cursor is over the button
representing the attachment.

If any of your tools can work in a pipeline (e.g. "pdftotext - -"), you
could try that, but i don't know how to feed the output of the pipeline
into emacspeak.

hope this helps,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <>

More information about the notmuch mailing list