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 20162431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 03:16:36 -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 87y3NVswJMTT for <notmuch@notmuchmail.org>;
\r
16 Thu, 27 Feb 2014 03:16:32 -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 313EB431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 03:16:32 -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 1WIyx2-0000mj-1G
\r
24 for notmuch@notmuchmail.org; Thu, 27 Feb 2014 12:16:28 +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 12:16:28 +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 12:16:28 +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: Re: Search for message ID broken?
\r
36 Date: Thu, 27 Feb 2014 12:16:17 +0100
\r
38 Message-ID: <m2ha7klsam.fsf@krugs.de>
\r
39 References: <m2mwhcx2uo.fsf@krugs.de> <m27g8gzv9f.fsf@guru.guru-group.fi>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
43 X-Complaints-To: usenet@ger.gmane.org
\r
44 X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net
\r
45 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)
\r
46 Cancel-Lock: sha1:SSmNXjmdIt9huc7QUQOQEPooFmc=
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Thu, 27 Feb 2014 11:16:36 -0000
\r
62 Content-Type: text/plain
\r
63 Content-Transfer-Encoding: quoted-printable
\r
65 Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
67 > On Thu, Feb 27 2014, Rainer M Krug <Rainer@krugs.de> =
\r
72 >> I am using gnus and notmuch, and am trying to view the thread of the
\r
73 >> message I am viewing in gnus in notmuch.
\r
75 >> With help, I now have the following function:
\r
77 >> --8<---------------cut here---------------start------------->8---
\r
78 >> (defun rmk/do-gnus-notmuch-stuff ()
\r
80 >> (unless (buffer-live-p gnus-summary-buffer)
\r
81 >> (user-error "No open Gnus summary buffer!"))
\r
82 >> (let ((message-id (with-current-buffer gnus-summary-buffer
\r
83 >> (mail-header-id (gnus-summary-article-header)))))
\r
84 >> (message message-id)
\r
85 >> (notmuch-search (concatenate 'string "id:" message-id)) ;; Now do th=
\r
88 >> --8<---------------cut here---------------end--------------->8---
\r
90 >> which nicely extracts the message ID and calls notmuch-search, but I
\r
91 >> don't get any results. The buffer is called notmuch-search-id:<THE_MESSA=
\r
94 >> I tried to call notmuch-search interactively, using id:<THE_MESSAGE-ID>
\r
95 >> but also no results.
\r
97 >> I now tried the search from the comandline:
\r
100 >> | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search
\r
101 >> | id:<e89a8f923ce652c84304f2f03b05-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.o=
\r
103 >> | -bash: syntax error near unexpected token `newline'
\r
104 >> | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search
\r
105 >> | id:"<e89a8f923ce652c84304f2f03b05-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.=
\r
107 >> | Rainers-MacBook-Pro-2:~ rainerkrug$=20
\r
110 >> If I search for the subject, it works, but not with the message ID.
\r
112 >> Is there something broken?
\r
114 > Strip '<' and '>' from your command...
\r
116 ARRGH - so simple...
\r
118 Thanks a lot, working perfectly,
\r
130 >> - GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0
\r
131 >> AppKit 1265) of 2014-02-13 on Rainers-MacBook-Pro-2.local installed via
\r
132 >> homebrew emacs-mac
\r
133 >> - notmuch binary installed via homebrew q
\r
143 >> email: RMKrug<at>gmail<dot>com
\r
145 >> _______________________________________________
\r
146 >> notmuch mailing list
\r
147 >> notmuch@notmuchmail.org
\r
148 >> http://notmuchmail.org/mailman/listinfo/notmuch
\r
153 email: RMKrug<at>gmail<dot>com
\r
156 Content-Type: application/pgp-signature
\r
158 -----BEGIN PGP SIGNATURE-----
\r
159 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
\r
161 iQEcBAEBAgAGBQJTDx6FAAoJENvXNx4PUvmCs+QH/2TA9kTkdlmsYbIN4Gh7Ra0y
\r
162 eImOrzBq4WBeEtOxmJj/91qigrjIKN1u7pzG4nycf4rCmy5Kzgfjdhnfs+3pQYS3
\r
163 T20ztR/33a4yn8WGQf2rXjMqa4br76TlNX03C3qWHrb2Sg7mUuR/OwWIL7BPHK38
\r
164 rGS9cEIb5jlYDYnQfaKS9ZlLPFyaOOr5k2G3Txr+ZeJceUdODONUrlN3qsssff8J
\r
165 t6rdAO8zx6u18Cg0NnCh8dClKsAlfbbK/F3UvDKx1h6GSmJWClNUycNVUrEK8zFC
\r
166 niwUNq+X8HtSFo87doBbixmjXgVyVDr8o887ofOZbY8Z++jRq8K9yPMBehHD9o0=
\r
168 -----END PGP SIGNATURE-----
\r