Re: [PATCH] emacs: Make the part content available to `mm-inlinable-p'.
authorDavid Edmondson <dme@dme.org>
Mon, 23 Jan 2012 08:02:16 +0000 (08:02 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:59 +0000 (09:42 -0800)
e1/c8e9b3e4c8029f73891361f8082114c974c7e1 [new file with mode: 0644]

diff --git a/e1/c8e9b3e4c8029f73891361f8082114c974c7e1 b/e1/c8e9b3e4c8029f73891361f8082114c974c7e1
new file mode 100644 (file)
index 0000000..5dbec6e
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <dme@dme.org>\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 2727A429E5B\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:02:22 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 c7ztNKuMjczc for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Jan 2012 00:02:21 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 72185429E54   for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:02:21 -0800\r
+ (PST)\r
+Received: by wgbdt12 with SMTP id dt12so2313588wgb.2\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:02:20 -0800 (PST)\r
+Received: by 10.180.106.33 with SMTP id gr1mr11494405wib.6.1327305740347;\r
+       Mon, 23 Jan 2012 00:02:20 -0800 (PST)\r
+Received: from hotblack-desiato.hh.sledj.net\r
+       (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
+       by mx.google.com with ESMTPS id ho4sm11471032wib.3.2012.01.23.00.02.18\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 23 Jan 2012 00:02:19 -0800 (PST)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+       id 3EE13A0950; Mon, 23 Jan 2012 08:02:17 +0000 (GMT)\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>\r
+Subject: Re: [PATCH] emacs: Make the part content available to\r
+       `mm-inlinable-p'.\r
+In-Reply-To: <8762g6m984.fsf@servo.finestructure.net>\r
+References: <87k44o6o6e.fsf@gmail.com>\r
+       <1326965647-1222-1-git-send-email-dme@dme.org>\r
+       <8762g6m984.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.11+73~gd51b784 (http://notmuchmail.org) Emacs/24.0.92.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Mon, 23 Jan 2012 08:02:16 +0000\r
+Message-ID: <cunbopu6e47.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-Gm-Message-State:\r
+ ALoCoQlh3cqthdwsmQKGo/r1emmpooR1EIpeWJH0sv4hbMcmxCVOMEBnuvOC5BTnUWxfqqWoGZ33\r
+Cc: notmuch <notmuch@notmuchmail.org>\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: Mon, 23 Jan 2012 08:02:22 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, 20 Jan 2012 12:04:27 -0800, Jameson Graef Rollins <jrollins@finestr=\r
+ucture.net> wrote:\r
+> On Thu, 19 Jan 2012 09:34:07 +0000, David Edmondson <dme@dme.org> wrote:\r
+> > The `mm-inlinable-p' function works better if it has access to the\r
+> > data of the relevant part, so load that content before calling it.\r
+> >=20\r
+> > Don't load the content for parts that the user has indicated no desire\r
+> > to inline.\r
+>=20\r
+> So I'm a little confused here.  Is there some variable I need to set to\r
+> get inlinable stuff to display inline?  If so, I can't figure out what\r
+> it is.  I don't see anything relevant in notmuch config, and I'm not\r
+> finding anything in mm- either, although I'm not quite sure what I'm\r
+> looking for.\r
+>=20\r
+> Currently I'm not getting any images displayed inline.  I used to get\r
+> some, but not all, but at the moment I'm just getting a little white box\r
+> with no image in it.  After applying this patch, I'm not getting any\r
+> attempt to inline images at all.  But I'm assuming there is some\r
+> variable I need to set that I haven't...\r
+\r
+Are you talking about:\r
+    - straightforward image/* attachments,\r
+    - images in HTML which are part of a multipart/related ('cid:'\r
+      images),\r
+    - images in HTML which are referenced using HTTP (or FTP or ... I\r
+      suppose).\r
+?\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk8dFAkACgkQaezQq/BJZRbk3ACgiI3IPx11mfn/cvKu54BhjEQf\r
+YPwAmwTmKvrvatErOTlbdrZRDJsMOZtR\r
+=g6iA\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r