1 Return-Path: <gmn-notmuch@m.gmane.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 825A5431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 02:33:05 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id q5K-67GKTH34 for <notmuch@notmuchmail.org>;
\r
16 Thu, 27 Feb 2014 02:33:00 -0800 (PST)
\r
17 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id E1994431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 02:32:59 -0800 (PST)
\r
22 Received: from list by plane.gmane.org with local (Exim 4.69)
\r
23 (envelope-from <gmn-notmuch@m.gmane.org>) id 1WIyGt-000420-1q
\r
24 for notmuch@notmuchmail.org; Thu, 27 Feb 2014 11:32:55 +0100
\r
25 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7])
\r
26 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
\r
28 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 11:32:55 +0100
\r
29 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local
\r
30 (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
\r
31 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 11:32:55 +0100
\r
32 X-Injected-Via-Gmane: http://gmane.org/
\r
33 To: notmuch@notmuchmail.org
\r
34 From: Rainer M Krug <Rainer@krugs.de>
\r
35 Subject: Search for message ID broken?
\r
36 Date: Thu, 27 Feb 2014 11:32:47 +0100
\r
38 Message-ID: <m2mwhcx2uo.fsf@krugs.de>
\r
40 Content-Type: text/plain
\r
41 X-Complaints-To: usenet@ger.gmane.org
\r
42 X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net
\r
43 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)
\r
44 Cancel-Lock: sha1:ze3lgKREaumSaidLCxHa7QsxT2c=
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Thu, 27 Feb 2014 10:33:05 -0000
\r
61 I am using gnus and notmuch, and am trying to view the thread of the
\r
62 message I am viewing in gnus in notmuch.
\r
64 With help, I now have the following function:
\r
66 --8<---------------cut here---------------start------------->8---
\r
67 (defun rmk/do-gnus-notmuch-stuff ()
\r
69 (unless (buffer-live-p gnus-summary-buffer)
\r
70 (user-error "No open Gnus summary buffer!"))
\r
71 (let ((message-id (with-current-buffer gnus-summary-buffer
\r
72 (mail-header-id (gnus-summary-article-header)))))
\r
73 (message message-id)
\r
74 (notmuch-search (concatenate 'string "id:" message-id)) ;; Now do the notmuch stuff
\r
76 --8<---------------cut here---------------end--------------->8---
\r
78 which nicely extracts the message ID and calls notmuch-search, but I
\r
79 don't get any results. The buffer is called notmuch-search-id:<THE_MESSAGE-ID>
\r
81 I tried to call notmuch-search interactively, using id:<THE_MESSAGE-ID>
\r
82 but also no results.
\r
84 I now tried the search from the comandline:
\r
87 | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search id:<e89a8f923ce652c84304f2f03b05@google.com>
\r
88 | -bash: syntax error near unexpected token `newline'
\r
89 | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search id:"<e89a8f923ce652c84304f2f03b05@google.com>"
\r
90 | Rainers-MacBook-Pro-2:~ rainerkrug$
\r
93 If I search for the subject, it works, but not with the message ID.
\r
95 Is there something broken?
\r
99 - GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0
\r
100 AppKit 1265) of 2014-02-13 on Rainers-MacBook-Pro-2.local installed via
\r
102 - notmuch binary installed via homebrew q
\r
112 email: RMKrug<at>gmail<dot>com
\r