Converting attachments to text or html
authorBart Bunting <bart.bunting@ursys.com.au>
Sat, 18 Jun 2016 02:14:51 +0000 (12:14 +1000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:06 +0000 (16:22 -0700)
6a/9966daf7a86e86693446a549e5e24647c115d8 [new file with mode: 0644]

diff --git a/6a/9966daf7a86e86693446a549e5e24647c115d8 b/6a/9966daf7a86e86693446a549e5e24647c115d8
new file mode 100644 (file)
index 0000000..126eb71
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <bart.bunting@ursys.com.au>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 861E66DE0222\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jun 2016 19:15:07 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.721\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.721 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id eqyF9OelXf44 for <notmuch@notmuchmail.org>;\r
+ Fri, 17 Jun 2016 19:14:58 -0700 (PDT)\r
+Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com\r
+ [209.85.220.49])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id BCE766DE009B\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jun 2016 19:14:57 -0700 (PDT)\r
+Received: by mail-pa0-f49.google.com with SMTP id hl6so33297138pac.2\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Jun 2016 19:14:57 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=ursys-com-au.20150623.gappssmtp.com; s=20150623;\r
+ h=from:to:subject:user-agent:date:message-id:mime-version;\r
+ bh=DvbzccRpswUJt8V93Z9Hwh1ugdhlJSYP3gZ+8jyJ9WI=;\r
+ b=BE8j4m4C62WE6tYU54DH3FiT03Eh+8FFZ/730J324qmMmP5OndYik9RZQNKCrSs9Q2\r
+ ERhCykZRuKZVGPG0CYcZa6VZqT2VUkLbmDi8d55Ts7QO3UMd+QTudiH5IYO/5WMQAy4L\r
+ FogA8skJcZq/AOp0+mZMH9Ik6Wm1571tSJ8wfdFdB7mGrJpKFyrl7EhJoeuqgFWTmTMA\r
+ jcNCUg7ycdbOmY5NkR4nQeU9GTxlYO0o/xACBklx2qxX/ukvt0zSzN5EJcMFLTkmYvqR\r
+ s6Vh+dBFa/532tZ8F9As1zTqfhHr9mFYgAB5kTuTtbh+kSK52cCs+/FbEFsWwexqAi8U\r
+ tY/g==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:user-agent:date:message-id\r
+ :mime-version;\r
+ bh=DvbzccRpswUJt8V93Z9Hwh1ugdhlJSYP3gZ+8jyJ9WI=;\r
+ b=c0kzC3H8SIdTH2pQo3ERo6hC1bGvYooBjIpzDf85gNmociZK4HFH2rGsASF/r1oMfZ\r
+ V88ZIfeMYOhGmrWOpLAQ4wNs/QblP5gbB26O0zXUkij6Y9OXkU1b7bbgT71NPGZOFpjk\r
+ Pp9GGeaeSmtaH29Mkv6C75K6Zdr+dvF+ZzHU+ifZYQ69nnBn/uKGCuW9NeFuOTaXmjC6\r
+ 4+mMJMu9aaVbGRQg5rJrVRwx9dcQAmQzuQb0mO21YEgLKFJVjg7pMbpjyJgUSiDykBNp\r
+ T8G7KRXIWM3kRLmXbBH9gzBL8/pI7pCzlBml5Wiou0g2rUEOp3hcMH+SMGfP18+43umK\r
+ bLYQ==\r
+X-Gm-Message-State:\r
+ ALyK8tKsG0/jARjk6i99wOsC7V8/NGN2OWG3+PEF/2VspSV0XJnawLMag09cYqAKByHTPfzq\r
+X-Received: by 10.66.90.4 with SMTP id bs4mr6011700pab.80.1466216096452;\r
+ Fri, 17 Jun 2016 19:14:56 -0700 (PDT)\r
+Received: from fiz.local (c122-106-15-34.rivrw11.nsw.optusnet.com.au.\r
+ [122.106.15.34])\r
+ by smtp.gmail.com with ESMTPSA id ry2sm71353873pac.9.2016.06.17.19.14.55\r
+ (version=TLS1 cipher=AES128-SHA bits=128/128);\r
+ Fri, 17 Jun 2016 19:14:55 -0700 (PDT)\r
+From: Bart Bunting <bart.bunting@ursys.com.au>\r
+X-Google-Original-From: Bart Bunting <bart@ursys.com.au>\r
+Received: by fiz.local (Postfix, from userid 501)\r
+ id 38A43DA1001; Sat, 18 Jun 2016 12:14:51 +1000 (AEST)\r
+To: notmuch@notmuchmail.org\r
+Subject: Converting attachments to text or html\r
+User-Agent: Notmuch/0.21+63~gc689d1f (https://notmuchmail.org) Emacs/25.1.50.1\r
+ (x86_64-apple-darwin15.3.0)\r
+Date: Sat, 18 Jun 2016 12:14:51 +1000\r
+Message-ID: <m2lh23s0o4.fsf@fiz.local>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 18 Jun 2016 02:15:07 -0000\r
+\r
+\r
+Hi everyone,\r
+\r
+I often receive email with word or pdf attachments.\r
+\r
+I'm blind and use emacspeak on a mac.  Whilst it is possible to save the\r
+attachment, use unoconv or similar to convert to text or html the\r
+process is tedious as it means leaving notmuch and executing several commands.\r
+\r
+Is there any functionality in notmuch where I can have it preprocess\r
+attachments of a given mime type or filename regexp or similar pass to\r
+an external command and display the resulting text.\r
+\r
+I'd be happy if either the entire part was replaced with the text or an\r
+additional part added or anything at all really that made it unnecessary\r
+to leave notmuch to view the content of the attachment.\r
+\r
+Does anyone have suggestions?\r
+\r
+Kind regards\r
+Bart\r
+-- \r
+\r
+Bart Bunting - URSYS\r
+PH: 02 87452811\r
+Mbl: 0409560005\r