From: Rainer M Krug Date: Mon, 18 Feb 2013 14:09:17 +0000 (+0100) Subject: Re: How to get thread id in emacs ui? X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d7941d677ab0d28359ccb7ad07555d03fe7661a4;p=notmuch-archives.git Re: How to get thread id in emacs ui? --- diff --git a/df/f9ab011add216e30411b422ec3a55652004ba8 b/df/f9ab011add216e30411b422ec3a55652004ba8 new file mode 100644 index 000000000..65f18b573 --- /dev/null +++ b/df/f9ab011add216e30411b422ec3a55652004ba8 @@ -0,0 +1,149 @@ +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 71CFD431FAF + for ; Mon, 18 Feb 2013 06:09:39 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=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 6sLrwwebu33d for ; + Mon, 18 Feb 2013 06:09:38 -0800 (PST) +Received: from mail-we0-f169.google.com (mail-we0-f169.google.com + [74.125.82.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A9A38431FAE + for ; Mon, 18 Feb 2013 06:09:38 -0800 (PST) +Received: by mail-we0-f169.google.com with SMTP id t11so4974450wey.28 + for ; Mon, 18 Feb 2013 06:09:37 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:message-id:date:from:reply-to:user-agent:mime-version:to + :cc:subject:references:in-reply-to:x-enigmail-version:content-type + :content-transfer-encoding; + bh=zR5Ukxh5ljfcpfzbxpWjEAXid2kxmhziDHzv3khFNVk=; + b=wJRhTi3gpHNNVFDXtZ5E/OzUHskksf1zWPqbY18MXvEavYrL34IgQjy3a9OpOGj6BE + K/jZSJ1iv3LC7ds/6+SBjbHzAl8IGlDT8ykq6c9fOvOgks0eGvjsvL8axKYob3s/wkta + wYkI6haj/4Lc35L5fRNRI8FaD+vP6ymZjFAG9A3bUzKOhnLvfhrUbV36UzeY1tldXOva + LPgNoqPYZPzYLhTuZChAgLP5Ixobexngl6gfexfZL2W0va/eF2JFXL7ymHKISDcFEgJV + r3nmcd4+hvB/R+8QcIkgtA/EpmDx9qssdqD51+1bKGBnwsrslRbQoBAL3cHqR6GuSsjc + uxtQ== +X-Received: by 10.194.238.226 with SMTP id vn2mr19220599wjc.23.1361196559259; + Mon, 18 Feb 2013 06:09:19 -0800 (PST) +Received: from ?IPv6:2a01:e35:8baa:b070:c453:6c66:1db6:ec13? + ([2a01:e35:8baa:b070:c453:6c66:1db6:ec13]) + by mx.google.com with ESMTPS id ec3sm20146251wib.1.2013.02.18.06.09.17 + (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); + Mon, 18 Feb 2013 06:09:18 -0800 (PST) +Message-ID: <5122360D.2060007@gmail.com> +Date: Mon, 18 Feb 2013 15:09:17 +0100 +From: Rainer M Krug +User-Agent: Mozilla/5.0 (X11; Linux i686; + rv:19.0) Gecko/20130125 Thunderbird/19.0 +MIME-Version: 1.0 +To: David Bremner +Subject: Re: How to get thread id in emacs ui? +References: <51222ADA.20408@gmail.com> <8738wtg1nq.fsf@convex-new.cs.unb.ca> +In-Reply-To: <8738wtg1nq.fsf@convex-new.cs.unb.ca> +X-Enigmail-Version: 1.5 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: Rainer@krugs.de +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 18 Feb 2013 14:09:39 -0000 + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +On 18/02/13 15:03, David Bremner wrote: +> Rainer M Krug writes: +> +>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +>> +>> Hi +>> +>> I am using notmuch in emacs, and I linkt from my notes in org mode to emails using the +>> thread: id or the message id. Is there a possibility to get these from within emacs, or do I +>> have to go to the cli from notmuch? +>> +> +> You want "c i" +> +> From NEWS for 0.15 +> +> Support for stashing the thread id in show view +> +> Invoking `notmuch-show-stash-message-id` with a prefix argument stashes the (local and database +> specific) thread id of the current thread instead of the message id. +> + +Thanks - that is what I was looking for. + + +> By the way, the library org-notmuch distributed with org-mode should make it easy to link into +> notmuch. + +Then I probably haven't loaded org-notmuch properly? What do I have to put into my .emacs file to +load it properly? + +> +> Be aware that thread id's are not preserved across dump-restore cycles, so it is safer to link +> to message-ids. + +Thanks - important info - I'll use the message id then instead. + +Cheers, + +Rainer + +> +> d +> + + +- -- +Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. +(Germany) + +Centre of Excellence for Invasion Biology +Stellenbosch University +South Africa + +Tel : +33 - (0)9 53 10 27 44 +Cell: +33 - (0)6 85 62 59 98 +Fax : +33 - (0)9 58 10 27 44 + +Fax (D): +49 - (0)3 21 21 25 22 44 + +email: Rainer@krugs.de + +Skype: RMkrug +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) +Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ + +iQEcBAEBAgAGBQJRIjYNAAoJENvXNx4PUvmCF7gH/R+yM55HxCao2pBk9jQ6E33I +cuFvf8uFNXrtD+SMLnrIbbZfLCcuj5tN77kZTbuHCUqP6tPeG7P3EB42Nsru8XbZ +JBVIVf2BdEXqAzxyq3hHEh6ikXZNmi7qHnjsZ7+Zco+nBfVLSVFx/GpzsaDTsQjs +R5QO/R7u3rQAU9i48GaGJtCQ0E7KBUzjnBpGUlb6owdJWg4KTtxmRwerBxIFvScM +7H23oS8ZnWwN5Yqf+f8RA+9yBjrhXGUBcLYQZW62Wm6btJOE1T57LkO3mmQ7xl6/ +7+Iyv8DZkDX3F8b5wcIwOPmPAhoqx/jemkYwQHv+tC2cWQXbg1GzrlWxfrZGjz0= +=/SRR +-----END PGP SIGNATURE-----