--- /dev/null
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 82C906DE0C21\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Feb 2016 00:33:35 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.121\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.121 tagged_above=-999 required=5\r
+ tests=[AWL=-0.054, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id JQDRISvoO_OX for <notmuch@notmuchmail.org>;\r
+ Thu, 11 Feb 2016 00:33:33 -0800 (PST)\r
+Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com\r
+ [74.125.82.43]) by arlo.cworth.org (Postfix) with ESMTPS id 0466F6DE0B36 for\r
+ <notmuch@notmuchmail.org>; Thu, 11 Feb 2016 00:33:33 -0800 (PST)\r
+Received: by mail-wm0-f43.google.com with SMTP id 128so10860881wmz.1\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Feb 2016 00:33:32 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=from:to:subject:date:message-id;\r
+ bh=ETJyAuvbL4fDy3PAL5/xK/7kOfJMicEqYTGMjqSqa5Q=;\r
+ b=Oxtl0jjYTE9CiMFYHNATUr8qvCkvhqvs0o0TaQks+jYHSN8ECmM4ej5GOX5zdQd9MV\r
+ JSkx6AeBSVZWIPvT7CSnyWNsbWh1IwdifTlOP42uTj/ZzvKLlmotHzP8pUkNSTGKhg2A\r
+ pErghIUqdYqOHgZoXFjZv+1AW5fNYQvZlkmWNKcYSLkpTdQYQc6l95dbN8mCBhW2Q0on\r
+ p7ALZ9yY/7GRCPpH8r0CSOBXhYU8ZdGrrlsXjhObj5wk2jNNS0niMcWW/R/kXJlRxpxx\r
+ SBQ+bdDeRPD6Ld7calJyRVqNJomh/LC1aBx9cY4rdoRtCs5PKAkF2V8hkPAFR3PoYxnF\r
+ vvUA==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:date:message-id;\r
+ bh=ETJyAuvbL4fDy3PAL5/xK/7kOfJMicEqYTGMjqSqa5Q=;\r
+ b=mtjF2QG8pT8c8mJFlkrxDv6aXPIJca378hGjiQTlqNaLzq15pYD/Ox8C33DX7+x2gG\r
+ XPR3LkAu/LgJPnPDkI5KKeX4XXeBwkOdQ60u2P99/EdpvhvV03RXe/K/yqRt+JkSnF4a\r
+ M7G1CaiDZpNIHcXbxGHhp/5PmG5W7EPGWadxJGMORPDSPSYPaSxCwShnEXFAK752omU8\r
+ p1HKJltblHzeNmKhqEx70gg6yEZmwMBrftvVd5zmHB4ADKoSgqm99y8mCDV/OSYKu26V\r
+ H94PgUOhooHAhz4YZzYQNGTLKhTjnxuPPc6abMszPAIJEtd5P96sp4bhSb16u08/Rbqz\r
+ 3UMw==\r
+X-Gm-Message-State:\r
+ AG10YOQdia5TP3tSmYhz2pT507tk+TkoCnSUELFILAPDpqDcchb87GC9lEa8WSqFPORvtQ==\r
+X-Received: by 10.28.182.136 with SMTP id g130mr16246394wmf.10.1455179610378; \r
+ Thu, 11 Feb 2016 00:33:30 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id e19sm22903696wmd.1.2016.02.11.00.33.28\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Thu, 11 Feb 2016 00:33:28 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id aed548b7\r
+ for <notmuch@notmuchmail.org>; Thu, 11 Feb 2016 08:33:27 +0000 (UTC)\r
+From: David Edmondson <dme@dme.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v3] (notmuch-show "id:doesnotexist") should not throw an\r
+ error.\r
+Date: Thu, 11 Feb 2016 08:33:26 +0000\r
+Message-Id: <1455179607-16870-1-git-send-email-dme@dme.org>\r
+X-Mailer: git-send-email 2.1.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 11 Feb 2016 08:33:35 -0000\r
+\r
+\r
+(notmuch-show "id:doesnotexist") should not throw an error.\r
+\r
+This is a followup to id:"874nw0ltwz.fsf@praet.org" and\r
+id:"cuntx91fwaa.fsf@hotblack-desiato.hh.sledj.net".\r
+\r
+The originally proposed change (to have id: links call `notmuch-show'\r
+rather than `notmuch-search') was already made, but the difficulties\r
+with links that generated no results was not addressed. This patch\r
+aims to do that.\r
+\r
+v2:\r
+- Re-worked to `ding' rather than throwing an error.\r
+- Re-jig the relationship between `notmuch-show',\r
+ `notmuch-show-refresh-view' and `notmuch-show--build-buffer'.\r
+- Various buffer local variables no longer need to be `permanent-local'.\r
+\r
+v3:\r
+- Comment re-wording.\r
+\r
+\r
+David Edmondson (1):\r
+ emacs: Report a lack of matches when calling `notmuch-show'.\r
+\r
+ emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++---------------------\r
+ emacs/notmuch.el | 6 ++-\r
+ 2 files changed, 89 insertions(+), 61 deletions(-)\r
+\r
+-- \r
+2.1.4\r
+\r