--- /dev/null
+Return-Path: <nick.peihl@gmail.com>\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 087DF431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 24 May 2013 10:29:43 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.798\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
+ 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 6Muam4rqnxfC for <notmuch@notmuchmail.org>;\r
+ Fri, 24 May 2013 10:29:34 -0700 (PDT)\r
+Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com\r
+ [209.85.160.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id B7D9A431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 24 May 2013 10:29:34 -0700 (PDT)\r
+Received: by mail-pb0-f45.google.com with SMTP id mc17so4478441pbc.18\r
+ for <notmuch@notmuchmail.org>; Fri, 24 May 2013 10:29:33 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=message-id:date:from:user-agent:mime-version:to:subject:references\r
+ :in-reply-to:x-enigmail-version:content-type;\r
+ bh=NxqLHJ7Zy6R87uCXO8OyDdQ3zFx2enukzLIy/ER0XEc=;\r
+ b=z8opEfKWGxznrprNrrXEFzWpNkw2mu7rVpCozFA7w3Mvli4k42w1ZbgsTHIRr6Wa+m\r
+ K6lulb7XUyJw7jP87eyXgBGqi7DkKgu5lQBarbs7Brl5AXbWSVstN10zKrHVgOkrSMNQ\r
+ IQOR/g03KM+sl7IWXAWjBUA+kq7rmnmnrYrb8B9Kcj37PR6JR/pG048UV66t6t6P9k0G\r
+ IbU3VJ/83njqCysZmzmtpU+eG/RdzxrR/avEDMqUVsSmXn608zqmP6gFTSJxetrHOFHE\r
+ GGl5VFQjjNZDXFFpjNblsY65cCGtJx1jHmD/2YdgloGc3wMw1F9rJJmC5GbQuS6K7LMS\r
+ HpCw==\r
+X-Received: by 10.68.175.68 with SMTP id by4mr18950392pbc.53.1369416572929;\r
+ Fri, 24 May 2013 10:29:32 -0700 (PDT)\r
+Received: from [192.168.16.16] ([24.199.34.122])\r
+ by mx.google.com with ESMTPSA id\r
+ nt2sm16954845pbc.17.2013.05.24.10.29.30 for <notmuch@notmuchmail.org>\r
+ (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);\r
+ Fri, 24 May 2013 10:29:31 -0700 (PDT)\r
+Message-ID: <519FA376.4050109@gmail.com>\r
+Date: Fri, 24 May 2013 10:29:26 -0700\r
+From: Nicholas Peihl <nick.peihl@gmail.com>\r
+User-Agent: Mozilla/5.0 (Windows NT 5.1;\r
+ rv:17.0) Gecko/20130509 Thunderbird/17.0.6\r
+MIME-Version: 1.0\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: converting notmuch email to 'TODO' entry in org-mode\r
+References: <uaxbo803kqx.fsf@beesknees.cern.ch>\r
+In-Reply-To: <uaxbo803kqx.fsf@beesknees.cern.ch>\r
+X-Enigmail-Version: 1.5.1\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+ protocol="application/pgp-signature";\r
+ boundary="----enig2TRLMBVKQFXCWASAFFVAD"\r
+X-Mailman-Approved-At: Mon, 27 May 2013 00:22:47 -0700\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: Fri, 24 May 2013 17:29:43 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 4880 and 3156)\r
+------enig2TRLMBVKQFXCWASAFFVAD\r
+Content-Type: multipart/alternative;\r
+ boundary="------------070205010800010600090303"\r
+\r
+This is a multi-part message in MIME format.\r
+--------------070205010800010600090303\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi David,\r
+\r
+When you say org-mode template are you referring to Capture templates\r
+for creating TODO items? Does having the %i variable in the Capture\r
+template copy the email text you are looking for?\r
+\r
+http://orgmode.org/manual/Template-expansion.html#Template-expansion\r
+\r
+Nick Peihl\r
+\r
+\r
+On 5/24/2013 12:22 AM, David Belohrad wrote:\r
+> Dear All,\r
+>\r
+> i'm constantly facing a task: someone sends me an email to do\r
+> something, and I'm manually copying contents of email into org-mode\r
+> task using org-mode templates. The template itself only enters the\r
+> 'default' todo line and when it was entered, but I'd like to copy the\r
+> contents of the email I'm currently in into that buffer.\r
+>\r
+> This would allow me to get e.g. exchange meeting request and seamlessly=\r
+\r
+> copy it into my agenda.\r
+>\r
+> is there any way how to get 'current email' (not current thread)\r
+> contents into kill ring so I could write a small script to paste it int=\r
+o\r
+> org-mode template?\r
+>\r
+> thanks\r
+>\r
+> .d.\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+\r
+--------------070205010800010600090303\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<html>\r
+ <head>\r
+ <meta content=3D"text/html; charset=3DISO-8859-1"\r
+ http-equiv=3D"Content-Type">\r
+ </head>\r
+ <body text=3D"#000000" bgcolor=3D"#FFFFFF">\r
+ <font size=3D"-1"><font face=3D"Verdana">Hi David,<br>\r
+ <br>\r
+ <font size=3D"-1"><font size=3D"-1"><font size=3D"-1"><font size=3D=\r
+"-1">When\r
+ you say org-mode template <font size=3D"-1">a</font>re\r
+ you referring to Capture templates <font size=3D"-1">for\r
+ creating TODO <font size=3D"-1">items? <font size=3D"-1=\r
+">Does\r
+ <font size=3D"-1">having the %i variable in the\r
+ Capture template copy the email text you are\r
+ looking for?<br>\r
+ <br>\r
+<a class=3D"moz-txt-link-freetext" href=3D"http://orgmode.org/manual/Temp=\r
+late-expansion.html#Template-expansion">http://orgmode.org/manual/Templat=\r
+e-expansion.html#Template-expansion</a><br>\r
+ <br>\r
+ <font size=3D"-1">Nick Peihl</font><br>\r
+ <br>\r
+ <br>\r
+ </font></font></font></font></font></font></font></=\r
+font></font></font>\r
+ <div class=3D"moz-cite-prefix">On 5/24/2013 12:22 AM, David Belohrad\r
+ wrote:<br>\r
+ </div>\r
+ <blockquote cite=3D"mid:uaxbo803kqx.fsf@beesknees.cern.ch" type=3D"ci=\r
+te">\r
+ <pre wrap=3D"">Dear All,\r
+\r
+i'm constantly facing a task: someone sends me an email to do\r
+something, and I'm manually copying contents of email into org-mode\r
+task using org-mode templates. The template itself only enters the\r
+'default' todo line and when it was entered, but I'd like to copy the\r
+contents of the email I'm currently in into that buffer.\r
+\r
+This would allow me to get e.g. exchange meeting request and seamlessly\r
+copy it into my agenda.\r
+\r
+is there any way how to get 'current email' (not current thread)\r
+contents into kill ring so I could write a small script to paste it into\r
+org-mode template?\r
+\r
+thanks\r
+\r
+=2Ed.\r
+_______________________________________________\r
+notmuch mailing list\r
+<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:notmuch@notmuchmail.=\r
+org">notmuch@notmuchmail.org</a>\r
+<a class=3D"moz-txt-link-freetext" href=3D"http://notmuchmail.org/mailman=\r
+/listinfo/notmuch">http://notmuchmail.org/mailman/listinfo/notmuch</a>\r
+</pre>\r
+ </blockquote>\r
+ <br>\r
+ </body>\r
+</html>\r
+\r
+--------------070205010800010600090303--\r
+\r
+------enig2TRLMBVKQFXCWASAFFVAD\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.17 (MingW32)\r
+Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/\r
+\r
+iQEcBAEBAgAGBQJRn6N7AAoJENHqjXDdaD3S0u8H/iyon0YMo4AyRiW9jh1qy0m0\r
+OMGL6QpY5s/bTdGXfG5BrbzIrxhdvVIbjaXYbPEdDmpBzN81RO9vHtSg3kriq0ri\r
+hORfEMj4LS1y7fZTREF1+aX1+0ilYMzvjxs8gMEBEWeqaZpNaXS0KL9atUgkHCr0\r
+TzP2xmYZc/6rG1bt4fUfutt1HIolvGLDvdfncEjcmLP54TUh9SA9mzL2iVx2CYql\r
+F6SCSgoS4BwM4dcJ4/6MjkZZJKG1332zbb6teis66myOR9nKRyPQkqRZ8OwdIo3O\r
+ntuSlVfvmNKvL0+xc/aEb3HXFHbtBu4R4i2A4Jd/4Z7hZsohZcikPyqsH+FW+yI=\r
+=tuwu\r
+-----END PGP SIGNATURE-----\r
+\r
+------enig2TRLMBVKQFXCWASAFFVAD--\r