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 B416B431FAF for ; Mon, 18 Feb 2013 07:18:56 -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 ADcp-3ZqN3Nv for ; Mon, 18 Feb 2013 07:18:53 -0800 (PST) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CD996431FAE for ; Mon, 18 Feb 2013 07:18:52 -0800 (PST) Received: by mail-wi0-f175.google.com with SMTP id l13so3630204wie.8 for ; Mon, 18 Feb 2013 07:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=ZB/t5pK1BJ1fZeTVT9QGJZtBttxnlwhHYJ3ifoLmnco=; b=zVAGo9Grqg5icN9xO5mre/2v4nVUuWtX2WaQiwJhtHGaQa3JDwvM9oJO2FAgOzoS5c XJb4sOIoanlJipSBOBqbA9d2VdvTFQKZ2sbKDpWD43/6D+PNRFrJoNe6j3H3qG0ca9VJ 2NA15a+bijxrY3GKgKyqh7LCSq9T9+ClIemEEEtfeQNPNoEdaQiEVXqnGijTwGkfzYBS CwMhMNuYExsp/EKQ7x9akIkBQQohAJh4DRcNmHH/aRORnD1D0bdzBAphH90u2fkdObMw DVM0sLqsbkZ7l327NRUs0mxfwLOzAnkxfaSYU/j/twLiyRHxwF64+wHKlAf14x6YeYnS +hog== X-Received: by 10.194.122.131 with SMTP id ls3mr19781735wjb.55.1361200730218; Mon, 18 Feb 2013 07:18:50 -0800 (PST) Received: from kuru.dyndns-at-home.com (pb-d-128-141-52-150.cern.ch. [128.141.52.150]) by mx.google.com with ESMTPS id fg6sm22276619wib.10.2013.02.18.07.18.47 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 07:18:48 -0800 (PST) Sender: suvayu ali Date: Mon, 18 Feb 2013 16:18:45 +0100 From: Suvayu Ali To: notmuch@notmuchmail.org Subject: Re: How to get thread id in emacs ui? Message-ID: <20130218151845.GA24427@kuru.dyndns-at-home.com> Mail-Followup-To: notmuch@notmuchmail.org References: <51222ADA.20408@gmail.com> <20130218133613.GB18291@kuru.dyndns-at-home.com> <5122353D.4060601@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5122353D.4060601@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) 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 15:18:56 -0000 Hello again Rainer, On Mon, Feb 18, 2013 at 03:05:49PM +0100, Rainer M Krug wrote: > On 18/02/13 14:36, Suvayu Ali wrote: > > On Mon, Feb 18, 2013 at 02:21:30PM +0100, Rainer M Krug wrote: > >> > >> 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? > >> > > > > As far as I'm aware, org-notmuch does all that for you. > > Actually, you might be right. But then it seems, I somehow haven't loaded org-notmuch.el properly > - - I guess I am miaaing something at this step. > > But it also seems that org-notmuch-search-store-link stores the search string and not the thread > or message id? > AFAIU, it does that when you call org-store-link in a search buffer. If you do that in the message buffer, it stores the message id. >From the search buffer: [[notmuch-search:from:myfriend%2520is:inbox][Notmuch search: from:myfriend is:inbox]] >From the message buffer: [[notmuch:id:C8BF5B7C-6F2E-4754-B27D-A828D894B7EA@gmail.com][Email from Myfriend]] Hope this helps, -- Suvayu Open source is the future. It sets us free.