From 52f86bf9188facb436cbcb17e2f7f154caa22954 Mon Sep 17 00:00:00 2001 From: "Rainer M. Krug" Date: Fri, 24 May 2013 14:07:48 +0200 Subject: [PATCH] Re: converting notmuch email to 'TODO' entry in org-mode --- 99/87857f6e9f11b2b9d00d70938fea8c8dc898fb | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 99/87857f6e9f11b2b9d00d70938fea8c8dc898fb diff --git a/99/87857f6e9f11b2b9d00d70938fea8c8dc898fb b/99/87857f6e9f11b2b9d00d70938fea8c8dc898fb new file mode 100644 index 000000000..f9345ae5a --- /dev/null +++ b/99/87857f6e9f11b2b9d00d70938fea8c8dc898fb @@ -0,0 +1,116 @@ +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 1056A431FB6 + for ; Fri, 24 May 2013 06:20:15 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 Ko7IVStpIXIH for ; + Fri, 24 May 2013 06:20:07 -0700 (PDT) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A4DA5431FAE + for ; Fri, 24 May 2013 06:20:07 -0700 (PDT) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1Ufruc-00046f-TL + for notmuch@notmuchmail.org; Fri, 24 May 2013 15:20:02 +0200 +Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Fri, 24 May 2013 15:20:02 +0200 +Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local + (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Fri, 24 May 2013 15:20:02 +0200 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Rainer@krugs.de (Rainer M. Krug) +Subject: Re: converting notmuch email to 'TODO' entry in org-mode +Date: Fri, 24 May 2013 14:07:48 +0200 +Lines: 55 +Message-ID: <87txls7f8r.fsf@krugs.de> +References: +Mime-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" +X-Complaints-To: usenet@ger.gmane.org +X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) +Cancel-Lock: sha1:idRYgbQ8bU2T1VvozPT88YWzh6Q= +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 13:20:15 -0000 + +--=-=-= +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + + +David Belohrad writes: + +> 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? + +I would probably ask at the org list, as this would be very useful not +only for notmuch, but also for gnus and other mail clients. I.e. a +function which extracts from the current buffer the headers, puts them +into org properties and puts the (selected) text in the body text +underneath would be very useful. + +Rainer + + +> +> thanks +> +> .d. + + +=2D-=20 +Rainer M. Krug + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQEcBAEBAgAGBQJRn1gUAAoJENvXNx4PUvmC8+IH/j1/WRHSQtJGRSOWu4gRIYTd +2T8Ju5IYARmc5Cmw4KC1+IxvZDLKLl26I5cZNsU9mozFOz9A1CZCvGDQWy/P/uPb +Xb6t4uBVzw59yKyGaVOqBHvrgithy/WlhK5u/JgQX+vifAbso9sI1XPSM9HWU+Jm +S70/cUnvi5Shwd/x+ViGy3PuhLNt/rZcZ6223CoxsNuF/EW3GAbnYrr+fp3kmm+F +rQmoHm0xeEhfSvt96EbINTVcLZoQ4gE6PH+HZRGlSZSNa1JwhVF6/BlniJPhW9US +vZgq0c087tEuLvqJOlpx/6dYbqOFs27rje07+cnvjTEAexLQRsiL3DWaO2rTzek= +=1E9w +-----END PGP SIGNATURE----- +--=-=-=-- + -- 2.26.2