Re: converting attachments to text

Subject: Re: converting attachments to text

Date: Tue, 03 Jan 2017 02:49:08 -0500

To: Bart Bunting, notmuch@notmuchmail.org

Cc:

From: Daniel Kahn Gillmor


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,

     --dkg


signature.asc (application/pgp-signature)

Thread: