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