--- /dev/null
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id BB30E429E28\r
+ for <notmuch@notmuchmail.org>; Tue, 30 Aug 2011 15:03:48 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id CtLYWoGB0dBF for <notmuch@notmuchmail.org>;\r
+ Tue, 30 Aug 2011 15:03:46 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+ [131.215.239.19])\r
+ by olra.theworths.org (Postfix) with ESMTP id BBE45429E27\r
+ for <notmuch@notmuchmail.org>; Tue, 30 Aug 2011 15:03:46 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+ by earth-doxen-postvirus (Postfix) with ESMTP id 14AA766E0612;\r
+ Tue, 30 Aug 2011 15:03:46 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (gwave-127.ligo.caltech.edu\r
+ [131.215.114.127]) (Authenticated sender: jrollins) by earth-doxen-submit\r
+ (Postfix) with ESMTP id AC16066E060C; Tue, 30 Aug 2011 15:03:32 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+ id 89DA03E2; Tue, 30 Aug 2011 15:03:32 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, notmuch@notmuchmail.org\r
+Subject: Re: How does notmuch detect the presence of attachments?\r
+In-Reply-To: <4E5D5B7D.7050104@fifthhorseman.net>\r
+References:\r
+ <CAJ+wP3X5SxPPLyy=jbVMW5QZvuZSq5Vkt=6tVnL_Sd=W9Ys_SA@mail.gmail.com>\r
+ <4E565A61.7040600@fifthhorseman.net>\r
+ <20110830062229.GC8590@lemote.jasonwoof.com>\r
+ <4E5D5B7D.7050104@fifthhorseman.net>\r
+User-Agent: Notmuch/0.7-41-g7dce23e (http://notmuchmail.org) Emacs/23.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 30 Aug 2011 15:03:29 -0700\r
+Message-ID: <87bov61rri.fsf@servo.factory.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 30 Aug 2011 22:03:48 -0000\r
+\r
+--=-=-=\r
+\r
+On Tue, 30 Aug 2011 17:51:57 -0400, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:\r
+> One difference: mailcap seems to be about displaying/editing data to the\r
+> user (including, for example, opening a graphical window to display a\r
+> JPEG), whereas we need to set up a mechanism to convert whatever kind of\r
+> document we get into plain text to feed it into xapian. So we couldn't\r
+> fully piggy-back on the mailcap infrastructure, if i'm reading the\r
+> mailcap documentation correctly. notmuch would need to use its own\r
+> mime-types file.\r
+\r
+I think you're right that the mailcap is for instructing mail programs\r
+how to display non-text parts to the user. See mailcap(5) man page (at\r
+least in Debian).\r
+\r
+And we need something like:\r
+\r
+jpg2thousandwords\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOXV4yAAoJEO00zqvie6q8EZoP/jp1mTcMk76KGjG+yHPbitNq\r
+zVpjwmLzfunNlvUAxFL8IS2nrEoXTDPDHYerD0uhlnRKuXGNX5McjciUnl8yZtBi\r
+c9YRt0zkMya2HmOPdZECg+G+BHx0/FEN+nvLsOQe4YyrhSr74WcwIf+eOJBxBBqc\r
++WX72HUEpWcUa7gkpGPcvbD60T/xHWXmZ3sjBCTsz23TUbbKKVZcEV+sIi9bfxif\r
+hUco7yEoE8qQ0lQPSXw9dJ5eijlK0wJTnThaLF6Ges2Hd6OGQeSkWtzLkxyLuQsr\r
+7GEEH0XzXU48tXa085gMg8qN0MG6+RCjt55lw83WJFsWJKR+1J9CWLqwyuDsL0NU\r
+ekeb2ByjgVK4OwBIRCnZAwKhLfitwLLfqM7ym1lCd9cZed0igKu3ZwM4f0gTwy8M\r
+wEa6GVNm+59Hc3NHcdEEGtjYM3trXyPsohA35pvvYCGmIu33bv3yfmgziKGNgoLA\r
+utN6OrovO81DQtoNh0bYGnS3uRRnTxOewYRoZWW8tVLTLCMdbfD6jamv3HzCozgf\r
+F1gSU8IolHIG9l2PpzzsblYYgBlQO38Zgep3xLnIHkvI72fkgHNVL2U7PaeKCzm/\r
+HJZq50FT5l3bLEYg3MmD9Bo+meVEd006+BCIVsb+L0B4fp3tA5BUBYuY42AjqUx0\r
+YFh5QHexlafFxFPkkN3q\r
+=FbIP\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r