Re: Search for message ID broken?
authorTomi Ollila <tomi.ollila@iki.fi>
Thu, 27 Feb 2014 10:48:28 +0000 (12:48 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:17 +0000 (10:00 -0800)
c0/457ad06346dd4edfba3f54d20e26c855a1d6fa [new file with mode: 0644]

diff --git a/c0/457ad06346dd4edfba3f54d20e26c855a1d6fa b/c0/457ad06346dd4edfba3f54d20e26c855a1d6fa
new file mode 100644 (file)
index 0000000..2a51df6
--- /dev/null
@@ -0,0 +1,117 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B8383431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 02:48:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id GTEYJwYKMsIs for <notmuch@notmuchmail.org>;\r
+       Thu, 27 Feb 2014 02:48:35 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id ABB4E431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 27 Feb 2014 02:48:35 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 6CE33100064;\r
+       Thu, 27 Feb 2014 12:48:28 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Rainer M Krug <Rainer@krugs.de>, notmuch@notmuchmail.org\r
+Subject: Re: Search for message ID broken?\r
+In-Reply-To: <m2mwhcx2uo.fsf@krugs.de>\r
+References: <m2mwhcx2uo.fsf@krugs.de>\r
+User-Agent: Notmuch/0.17+112~g4e0c1d5 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Thu, 27 Feb 2014 12:48:28 +0200\r
+Message-ID: <m27g8gzv9f.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 27 Feb 2014 10:48:43 -0000\r
+\r
+On Thu, Feb 27 2014, Rainer M Krug <Rainer@krugs.de> wrote:\r
+\r
+> Hi\r
+>\r
+> I am using gnus and notmuch, and am trying to view the thread of the\r
+> message I am viewing in gnus in notmuch.\r
+>\r
+> With help, I now have the following function:\r
+>\r
+> --8<---------------cut here---------------start------------->8---\r
+> (defun rmk/do-gnus-notmuch-stuff ()\r
+>   (interactive)\r
+>   (unless (buffer-live-p gnus-summary-buffer)\r
+>     (user-error "No open Gnus summary buffer!"))\r
+>   (let ((message-id (with-current-buffer gnus-summary-buffer\r
+>                    (mail-header-id (gnus-summary-article-header)))))\r
+>     (message message-id)\r
+>     (notmuch-search (concatenate 'string "id:" message-id)) ;; Now do the notmuch stuff\r
+>     ))\r
+> --8<---------------cut here---------------end--------------->8---\r
+>\r
+> which nicely extracts the message ID and calls notmuch-search, but I\r
+> don't get any results. The buffer is called notmuch-search-id:<THE_MESSAGE-ID>\r
+>\r
+> I tried to call notmuch-search interactively, using id:<THE_MESSAGE-ID>\r
+> but also no results.\r
+>\r
+> I now tried the search from the comandline:\r
+>\r
+> ,----\r
+> | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search id:<e89a8f923ce652c84304f2f03b05@google.com>\r
+> | -bash: syntax error near unexpected token `newline'\r
+> | Rainers-MacBook-Pro-2:~ rainerkrug$ notmuch search id:"<e89a8f923ce652c84304f2f03b05@google.com>"\r
+> | Rainers-MacBook-Pro-2:~ rainerkrug$ \r
+> `----\r
+>\r
+> If I search for the subject, it works, but not with the message ID.\r
+>\r
+> Is there something broken?\r
+\r
+Strip '<' and '>' from your command...\r
+\r
+Tomi\r
+\r
+\r
+>\r
+> I am using \r
+>\r
+> - GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0\r
+> AppKit 1265) of 2014-02-13 on Rainers-MacBook-Pro-2.local installed via\r
+> homebrew emacs-mac\r
+> - notmuch binary installed via homebrew q\r
+>\r
+> Cheers,\r
+>\r
+> Rainer\r
+>\r
+>\r
+> -- \r
+> Rainer M. Krug\r
+>\r
+> email: RMKrug<at>gmail<dot>com\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r