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 8E0BF6DE01CE for ; Mon, 2 Jan 2017 23:27:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.418 X-Spam-Level: X-Spam-Status: No, score=-0.418 tagged_above=-999 required=5 tests=[AWL=-0.206, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] 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 k-bNCnu3gSpz for ; Mon, 2 Jan 2017 23:27:29 -0800 (PST) Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by arlo.cworth.org (Postfix) with ESMTPS id 896516DE00F5 for ; Mon, 2 Jan 2017 23:27:28 -0800 (PST) Received: by mail-pf0-f172.google.com with SMTP id i88so75624811pfk.2 for ; Mon, 02 Jan 2017 23:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursys-com-au.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=l9dzjDeB4KTEmbdDgy9TaNcP2BHfyzXtgrVS1gzuxiQ=; b=Pg1cNAbbHfd7+jrFlU0CLMLASLsCl8Tcf2qZzyG28ZpU4BGjdJvpFLaT4K2hi2/BCq tbmAzTR5eqE72qvvcjzD0ojIKcwBtiDqOm/gTGRoCl8w9SSwNatSuDrlPyjKUfZdz0M+ YMII6IyeXlsSblC6mqmGT5YEggQeNLWBG6iDdyfaQEQyfydHjbGaGpnHiXLpGBAEZmJB occkdd0g0OARD6REG4RtVIW09Ahc/iJTOb1PkX4wHHm1HHYzAc46FBMqcNqrZbLtax4Q WI4bBow1wJGFrzQf2EgFlLlAvdum8lUD34Psn1MQtQzKEehGr4M5tBywipAuAplMrBsE g2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=l9dzjDeB4KTEmbdDgy9TaNcP2BHfyzXtgrVS1gzuxiQ=; b=Z+0kekcyIrXbcNeXBFG7H42RSe3uf+r6S/l911yccCKdZiZzq5z8UXZRKSlpasySDz SfA6iqSJqCyWkYk8UlZ19YEyieEORj7Yhgj4n60aTf5Uy0bkMLd6nXq2XsAOHgPhuWIU MouJAAdv8HeH3kLVdzMH6+c+cFVrvmx9iiXocT1dedVPmeNjdt4ZDRnnsCbynyB7LKEV wopnqwyjA+Rs5VVNhFkVdynR8TOJgKnZABN3WvbNcnB+WkXl8VVI/RBmcx9HUWYjG16O Y7dwhT01xrhmuqnz2WbndQik49kY8WVZxFsu8xbrifHAdpALe28ijq1f6urTiuACnzMC s3Sg== X-Gm-Message-State: AIkVDXI0dWt45erz6fFe2yrQMmjvyInzfsB9k92ptCVtOhBDkVUvi6dQX2PTaHTGZggqO8sm X-Received: by 10.84.216.2 with SMTP id m2mr127112454pli.31.1483428447900; Mon, 02 Jan 2017 23:27:27 -0800 (PST) Received: from fiz.local (c122-106-16-151.rivrw11.nsw.optusnet.com.au. [122.106.16.151]) by smtp.gmail.com with ESMTPSA id t67sm137334588pfg.13.2017.01.02.23.27.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jan 2017 23:27:27 -0800 (PST) From: Bart Bunting X-Google-Original-From: Bart Bunting Received: by fiz.local (Postfix, from userid 501) id 169D61533FE2; Tue, 3 Jan 2017 18:27:23 +1100 (AEDT) To: notmuch@notmuchmail.org Subject: converting attachments to text Date: Tue, 03 Jan 2017 18:27:23 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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:27:30 -0000 Hi, Just looking for some pointers. I have to deal with quite a few emails with attachments in either pdf or word format. I'm on a mac so can use applescript or something pdftotext or similar to convert them to text. 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. Is there something in existance already to do this sort of thing? I have a little rudimentary lisp skill so can hack something up if someone can give me some pointers on a direction to head in. Any advice appreciated. Kind regards Bart Kind regards Bart -- Bart Bunting - URSYS PH: 02 87452811 Mbl: 0409560005