1 Return-Path: <dme@dme.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 76953431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 8 Feb 2012 09:06:50 -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 auhynSyWfN6D for <notmuch@notmuchmail.org>;
\r
16 Wed, 8 Feb 2012 09:06:50 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (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 B5D72431FAE
\r
21 for <notmuch@notmuchmail.org>; Wed, 8 Feb 2012 09:06:49 -0800 (PST)
\r
22 Received: by werp13 with SMTP id p13so616190wer.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 08 Feb 2012 09:06:48 -0800 (PST)
\r
24 Received: by 10.216.132.214 with SMTP id o64mr6951531wei.26.1328720808670;
\r
25 Wed, 08 Feb 2012 09:06:48 -0800 (PST)
\r
26 Received: from hotblack-desiato.hh.sledj.net
\r
27 (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])
\r
28 by mx.google.com with ESMTPS id cs4sm2359033wib.8.2012.02.08.09.06.46
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Wed, 08 Feb 2012 09:06:47 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id 9DBC5A0A98; Wed, 8 Feb 2012 17:06:45 +0000 (GMT)
\r
33 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
34 Subject: Re: [PATCH 2/2] emacs: regard text/calendar as text/x-vcalendar
\r
36 <19a567d3e0c466ec6d73ba2039cf5a0d6c8bc3f5.1328719309.git.jani@nikula.org>
\r
37 References: <cover.1328719309.git.jani@nikula.org>
\r
38 <19a567d3e0c466ec6d73ba2039cf5a0d6c8bc3f5.1328719309.git.jani@nikula.org>
\r
39 User-Agent: Notmuch/0.11.1+166~g546cb24 (http://notmuchmail.org)
\r
40 Emacs/24.0.92.1 (x86_64-pc-linux-gnu)
\r
41 From: David Edmondson <dme@dme.org>
\r
42 Date: Wed, 08 Feb 2012 17:06:45 +0000
\r
43 Message-ID: <cunty312r16.fsf@hotblack-desiato.hh.sledj.net>
\r
45 Content-Type: multipart/signed; boundary="=-=-=";
\r
46 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
48 ALoCoQn+36B5uB32jYNtNloryflHcYDKNk1Sv5kPy7aJza+wytMe8mDhVvz0TMrTOQ4a3K6523GG
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Wed, 08 Feb 2012 17:06:50 -0000
\r
64 Content-Type: text/plain
\r
65 Content-Transfer-Encoding: quoted-printable
\r
67 On Wed, 8 Feb 2012 16:55:16 +0000, Jani Nikula <jani@nikula.org> wrote:
\r
68 > Treat text/calendar as text/x-vcalendar. At least the following
\r
69 > produce text/calendar that parse as text/x-vcalendar:
\r
71 > PRODID:-//Google Inc//Google Calendar 70.9054//EN
\r
72 > PRODID:Microsoft Exchange Server 2010
\r
74 > Code by David Edmondson <dme@dme.org>
\r
78 > I wish I had some references here, other than my own maildirs. Almost
\r
79 > all of the calendar invites I have are text/calendar, and all of them
\r
80 > parse just fine as text/x-vcalendar.
\r
82 > emacs/notmuch-show.el | 3 +++
\r
83 > 1 files changed, 3 insertions(+), 0 deletions(-)
\r
85 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
86 > index 1340380..f6588b3 100644
\r
87 > --- a/emacs/notmuch-show.el
\r
88 > +++ b/emacs/notmuch-show.el
\r
89 > @@ -720,6 +720,9 @@ current buffer, if possible."
\r
93 > +(defun notmuch-show-insert-part-text/calendar (msg part content-type nth=
\r
94 depth declared-type)
\r
95 > + (notmuch-show-insert-part-text/x-vcalendar msg part content-type nth d=
\r
96 epth declared-type))
\r
98 > (defun notmuch-show-insert-part-application/octet-stream (msg part conte=
\r
99 nt-type nth depth declared-type)
\r
101 It seems that "text/calendar" is officially sanctioned and
\r
102 "text/x-vcalendar" is old and being phased out, so these should really
\r
103 be the other way around (i.e. text/calendar is the 'real' function that
\r
104 is called by the text/x-vcalendar variant).
\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
113 Content-Type: application/pgp-signature
\r
115 -----BEGIN PGP SIGNATURE-----
\r
116 Version: GnuPG v1.4.11 (GNU/Linux)
\r
118 iEYEARECAAYFAk8yq6UACgkQaezQq/BJZRZvFgCeI/dok59pj+N+vGJN2Dz1CUXG
\r
119 GAwAn3ZJWrEnO0lTg02l8MMPYUhF4BUU
\r
121 -----END PGP SIGNATURE-----
\r