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 37946431FB6 for ; Mon, 18 Feb 2013 06:03:48 -0800 (PST) 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=[none] 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 KY3AAGct5lA3 for ; Mon, 18 Feb 2013 06:03:47 -0800 (PST) Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id D6EE1431FAE for ; Mon, 18 Feb 2013 06:03:47 -0800 (PST) Received: from convex-new.cs.unb.ca ([131.202.245.35]) by tesseract.cs.unb.ca with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1U7RJn-0000fW-H5; Mon, 18 Feb 2013 10:03:44 -0400 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.80) (envelope-from ) id 1U7RJB-0004OX-Qj; Mon, 18 Feb 2013 10:03:05 -0400 From: David Bremner To: Rainer@krugs.de, notmuch@notmuchmail.org Subject: Re: How to get thread id in emacs ui? In-Reply-To: <51222ADA.20408@gmail.com> References: <51222ADA.20408@gmail.com> User-Agent: Notmuch/0.14+257~ge43e0af (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu) Date: Mon, 18 Feb 2013 10:03:05 -0400 Message-ID: <8738wtg1nq.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-Spam_bar: - 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: Mon, 18 Feb 2013 14:03:48 -0000 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. By the way, the library org-notmuch distributed with org-mode should make it easy to link into notmuch. Be aware that thread id's are not preserved across dump-restore cycles, so it is safer to link to message-ids. d