1 Return-Path: <jani@nikula.org>
\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 F0EAE431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 20 Feb 2012 23:52:59 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id QBj661FNUo1q for <notmuch@notmuchmail.org>;
\r
16 Mon, 20 Feb 2012 23:52:59 -0800 (PST)
\r
17 Received: from mail-qw0-f50.google.com (mail-qw0-f50.google.com
\r
18 [209.85.216.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 659F8431FAE
\r
21 for <notmuch@notmuchmail.org>; Mon, 20 Feb 2012 23:52:59 -0800 (PST)
\r
22 Received: by qabg27 with SMTP id g27so7238236qab.2
\r
23 for <notmuch@notmuchmail.org>; Mon, 20 Feb 2012 23:52:58 -0800 (PST)
\r
24 Received-SPF: pass (google.com: domain of jani@nikula.org designates
\r
25 10.229.111.228 as permitted sender) client-ip=10.229.111.228;
\r
26 Authentication-Results: mr.google.com;
\r
27 spf=pass (google.com: domain of jani@nikula.org
\r
28 designates 10.229.111.228 as permitted sender)
\r
29 smtp.mail=jani@nikula.org
\r
30 Received: from mr.google.com ([10.229.111.228])
\r
31 by 10.229.111.228 with SMTP id t36mr18864348qcp.73.1329810778936
\r
32 (num_hops = 1); Mon, 20 Feb 2012 23:52:58 -0800 (PST)
\r
33 Received: by 10.229.111.228 with SMTP id t36mr15960038qcp.73.1329810778411;
\r
34 Mon, 20 Feb 2012 23:52:58 -0800 (PST)
\r
35 Received: from localhost (nikula.org. [92.243.24.172])
\r
36 by mx.google.com with ESMTPS id ec5sm49911907qab.21.2012.02.20.23.52.56
\r
37 (version=SSLv3 cipher=OTHER); Mon, 20 Feb 2012 23:52:57 -0800 (PST)
\r
38 From: Jani Nikula <jani@nikula.org>
\r
39 To: notmuch@notmuchmail.org, David Bremner <david@tethera.net>
\r
40 Subject: Re: [PATCH v2 2/2] emacs: support text/calendar mime type
\r
42 <25a7cebf4b36e42f8232e34f86d7b5379d1d1959.1328798471.git.jani@nikula.org>
\r
43 References: <cover.1328719309.git.jani@nikula.org>
\r
44 <25a7cebf4b36e42f8232e34f86d7b5379d1d1959.1328798471.git.jani@nikula.org>
\r
45 User-Agent: Notmuch/0.11.1+168~g25a7ceb (http://notmuchmail.org) Emacs/23.1.1
\r
47 Date: Tue, 21 Feb 2012 07:52:54 +0000
\r
48 Message-ID: <87linwipwp.fsf@nikula.org>
\r
50 Content-Type: text/plain; charset=us-ascii
\r
52 ALoCoQkRZEqRKCjTz4eUWLe/8Xfx1lLyHXEkCUX4HsgkSIB7HVaw0tdB5IR75bhNQbwBU7U0FSot
\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: Tue, 21 Feb 2012 07:53:00 -0000
\r
67 On Thu, 9 Feb 2012 14:46:03 +0000, Jani Nikula <jani@nikula.org> wrote:
\r
68 > Replace text/x-vcalendar with text/calendar, while maintaining support
\r
69 > and backwards compatibility for text/x-vcalendar.
\r
71 David (B, not E), while 1/2 needs work, this 2/2 is independent and IMHO
\r
79 > Code by David Edmondson <dme@dme.org>
\r
81 > emacs/notmuch-show.el | 6 +++++-
\r
82 > 1 files changed, 5 insertions(+), 1 deletions(-)
\r
84 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
85 > index 5f643f1..33a4f18 100644
\r
86 > --- a/emacs/notmuch-show.el
\r
87 > +++ b/emacs/notmuch-show.el
\r
88 > @@ -711,7 +711,7 @@ current buffer, if possible."
\r
89 > (run-hook-with-args 'notmuch-show-insert-text/plain-hook msg depth))))
\r
92 > -(defun notmuch-show-insert-part-text/x-vcalendar (msg part content-type nth depth declared-type)
\r
93 > +(defun notmuch-show-insert-part-text/calendar (msg part content-type nth depth declared-type)
\r
94 > (notmuch-show-insert-part-header nth declared-type content-type (plist-get part :filename))
\r
95 > (insert (with-temp-buffer
\r
96 > (insert (notmuch-show-get-bodypart-content msg part nth))
\r
97 > @@ -729,6 +729,10 @@ current buffer, if possible."
\r
101 > +;; For backwards compatibility.
\r
102 > +(defun notmuch-show-insert-part-text/x-vcalendar (msg part content-type nth depth declared-type)
\r
103 > + (notmuch-show-insert-part-text/calendar msg part content-type nth depth declared-type))
\r
105 > (defun notmuch-show-insert-part-application/octet-stream (msg part content-type nth depth declared-type)
\r
106 > ;; If we can deduce a MIME type from the filename of the attachment,
\r
107 > ;; do so and pass it on to the handler for that type.
\r