1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7B040431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 11:01:15 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id YiEy1Pq8qsKj for <notmuch@notmuchmail.org>;
\r
17 Wed, 18 Jan 2012 11:01:13 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 2FF44431FAE
\r
22 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 11:01:13 -0800 (PST)
\r
23 Received: by bkty12 with SMTP id y12so2007812bkt.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 11:01:11 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type;
\r
28 bh=boaYv7cgVjpThxOoCpklG0n5zgsWwQMMszKGCW4aje0=;
\r
29 b=Kb+TODbney036NJLTLLU5sSm8T5yldEp8awCBy2UyQcznfkoRbAGrFE3lAQuyAjJ6C
\r
30 3TYtAn/tHmbaaI2Sacuq5p0Nm9CKccS0H/eaoo6Rum6cR0P7aKJDP/zqSskrpzDss4ye
\r
31 fHKLZgBl3ueEZpZUlQvmaesDvIQEUwBFrkPRI=
\r
32 Received: by 10.205.133.133 with SMTP id hy5mr5670240bkc.94.1326913271795;
\r
33 Wed, 18 Jan 2012 11:01:11 -0800 (PST)
\r
34 Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id
\r
35 fg16sm56703762bkb.16.2012.01.18.11.01.10
\r
36 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Wed, 18 Jan 2012 11:01:11 -0800 (PST)
\r
38 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
39 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org
\r
40 Subject: Re: [PATCH v2] emacs: Make the part content available to the
\r
42 In-Reply-To: <cunlip47tir.fsf@hotblack-desiato.hh.sledj.net>
\r
43 References: <1326907993-11054-1-git-send-email-dme@dme.org>
\r
44 <1326908371-11949-1-git-send-email-dme@dme.org>
\r
45 <877h0o99aj.fsf@gmail.com>
\r
46 <cunlip47tir.fsf@hotblack-desiato.hh.sledj.net>
\r
47 User-Agent: Notmuch/0.11+73~g8a5402e (http://notmuchmail.org) Emacs/23.3.1
\r
48 (x86_64-pc-linux-gnu)
\r
49 Date: Wed, 18 Jan 2012 23:00:15 +0400
\r
50 Message-ID: <874nvs96ps.fsf@gmail.com>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Wed, 18 Jan 2012 19:01:15 -0000
\r
67 On Wed, 18 Jan 2012 18:30:36 +0000, David Edmondson <dme@dme.org> wrote:
\r
68 > On Wed, 18 Jan 2012 22:04:36 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:
\r
69 > > On Wed, 18 Jan 2012 17:39:31 +0000, David Edmondson <dme@dme.org> wrote:
\r
70 > > > The `mm-inlinable-p' and `mm-inlined-p' functions work better if they
\r
71 > > > have access to the data of the relevant part, so load that content
\r
72 > > > before calling either function.
\r
74 > > > This fixes the display of attached image/jpeg parts, for example.
\r
76 > > Not so long ago I made an opposite change to avoid fetching useless
\r
77 > > parts (e.g. audio files). Looks like we need a better check here. Can
\r
78 > > we know from Content-Type if fetching a part body would be useful?
\r
80 > What if `notmuch-show-insert-part-*/*' consulted a list of content-type
\r
81 > regexps to attempt to inline?
\r
83 > That would allow a sane default (("image/*" "text/*") perhaps), but also
\r
84 > allow more to be added to that list (or some to be removed), either by
\r
85 > code that detected the (in)ability to render it or the user.
\r
87 Perhaps there is such a list in mm already?
\r