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