From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A4D746DE01CE for ; Mon, 2 Jan 2017 23:55:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.071 X-Spam-Level: X-Spam-Status: No, score=-0.071 tagged_above=-999 required=5 tests=[AWL=-0.071] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rkv5SiOngD6z for ; Mon, 2 Jan 2017 23:55:07 -0800 (PST) X-Greylist: delayed 345 seconds by postgrey-1.35 at arlo; Mon, 02 Jan 2017 23:55:07 PST Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTP id 7D8626DE00F5 for ; Mon, 2 Jan 2017 23:55:07 -0800 (PST) Received: from fifthhorseman.net (unknown [108.58.6.98]) by che.mayfirst.org (Postfix) with ESMTPSA id CFB79F98C; Tue, 3 Jan 2017 02:49:19 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 66306204B5; Tue, 3 Jan 2017 02:49:16 -0500 (EST) From: Daniel Kahn Gillmor To: Bart Bunting , notmuch@notmuchmail.org Subject: Re: converting attachments to text In-Reply-To: References: Date: Tue, 03 Jan 2017 02:49:08 -0500 Message-ID: <87d1g4oa6j.fsf@alice.fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 07:55:09 -0000 --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE7bLnT1b88rZyl7c1JOz/Wv9oNwoFAlhrV3UACgkQJOz/Wv9o Nwr9Og//faYoJk2p0HVh1IbY90vhXxNRy2uDo/2q2fZgVP5I1q82mjYbb+FRe78z LaUDm8Y9bDl0ubav672esREt1wJbtvokrWxWXAIk0+M24aerG7nNoryuLd+QoHhm /dyt7OunX0bxYdYhcfAsRgJenk1OnV42G8cpAeRJjAMk8H507R1PNoke9yKVdof2 zJRSjHMoZ1NGNLVIawLHoNaKbN9U1VSbKJ9FiQu9ZDQjNWEKbcSSfz65S5CZJzTb L8FX46t+dNosE+1rNlVY1s+qYJQzLMq52PaTEpiThZQfunO7cuMRCUNK5G8dPZvG /Ex4pGGcHD+1q+Gg47Z2UAoPHGnuE3ggNbs77gfL894E2Wswlpcr/LAgdSs5efdH wHntFXNIzGbKPJaHgkmyT98/Ch6eKa7jIqXWEuIwSiialjyb2cqOVJBAojRbj0dj JS9O+rcDlmAevSKHbE6qIWH3/PTG/OYM0OVR/b7N9MuuNy9+8Ol941ofjHsueY1S PxufSu4jWynQqNmtg2VS3J5vdij1VJwaLIBBO2I74N4YprM424CMVv9JmlNLMsT8 xSwayBlM7iwo68FiYJBSEqqIcoKGlMV23/yCLf8EUnerkUkTFyh33dKhruYXhSHF nUpQybN+aLvu3Q2D9jsjrlpHV/QfSNAZD0mQff2NocMYoLCsnSg= =ZgfQ -----END PGP SIGNATURE----- --=-=-=--