unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Bart Bunting <bart.bunting@ursys.com.au>, notmuch@notmuchmail.org
Subject: Re: converting attachments to text
Date: Tue, 03 Jan 2017 02:49:08 -0500	[thread overview]
Message-ID: <87d1g4oa6j.fsf@alice.fifthhorseman.net> (raw)
In-Reply-To: <m260lwmwmc.fsf@fiz.local>

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

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



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-01-03  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03  7:27 converting attachments to text Bart Bunting
2017-01-03  7:49 ` Daniel Kahn Gillmor [this message]
2017-01-03 17:23 ` Brian Sniffen
2017-01-10  0:57   ` Bart Bunting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1g4oa6j.fsf@alice.fifthhorseman.net \
    --to=dkg@fifthhorseman.net \
    --cc=bart.bunting@ursys.com.au \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).