--- /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 olra.theworths.org (Postfix) with ESMTP id E19C3431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 7 May 2014 08:23:10 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 cu4KVLLwD-iJ for <notmuch@notmuchmail.org>;\r
+ Wed, 7 May 2014 08:23:05 -0700 (PDT)\r
+Received: from mail-we0-f173.google.com (mail-we0-f173.google.com\r
+ [74.125.82.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 3D902431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 7 May 2014 08:23:05 -0700 (PDT)\r
+Received: by mail-we0-f173.google.com with SMTP id u57so1176287wes.32\r
+ for <notmuch@notmuchmail.org>; Wed, 07 May 2014 08:23:04 -0700 (PDT)\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:to:cc:subject:in-reply-to:references:user-agent\r
+ :from:date:message-id:mime-version:content-type;\r
+ bh=zxrJVDNnkmvaiNUYG5DxJK5nplLEGjqTRxAivtSfz9w=;\r
+ b=iLNBNjjKoPnXYcxi8Xci3N7c1g/jIHBn/ex5FD9Z1uq7FjDOUmINgZYCLrkk4ybXNr\r
+ fJ715yNsLRej5oWluoqidgr+dX/Ab1yZZuoRGEMfBPfA2WFGaJKkZIDwFpuJb4ICHrww\r
+ pB/vqcFR+XlAJSfJQt+4iUwljpKUlPCFdb8WdVMWAPmuloB7SoJAOiokme5Nt9JmVgSS\r
+ 8zTJhYeEJvIjtWAqK7g4oxz++Ym2hMPvkxjEGfqVqGOkMqVdxP0/xR2u6YjNZPjYIMTQ\r
+ t8YdlqWs+aBibVHr+pYxawHpK87kzmJMt2Taln5XDDhsMPWdtSrA475DX83DH4TsD3u4\r
+ n2ew==\r
+X-Gm-Message-State:\r
+ ALoCoQl+dLo7tJmR9lbm+aGGjOhONjl3qxakHQat183BUHqMTiD7q30bF4ppUZ3Exqm6KzYqptPN\r
+X-Received: by 10.194.175.70 with SMTP id by6mr39007962wjc.3.1399476184075;\r
+ Wed, 07 May 2014 08:23:04 -0700 (PDT)\r
+Received: from localhost (disaster-area.hh.sledj.net. [81.149.164.25])\r
+ by mx.google.com with ESMTPSA id\r
+ y20sm32232269wiv.14.2014.05.07.08.22.58 for <multiple recipients>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Wed, 07 May 2014 08:22:59 -0700 (PDT)\r
+To: Pieter Praet <pieter@praet.org>\r
+Subject: Re: [PATCH v4 2/3] emacs: `notmuch-show-buttonize-links' only\r
+ `notmuch-show's a message if it exists\r
+In-Reply-To: <1327222469-29487-2-git-send-email-pieter@praet.org>\r
+References: <871uqsku4h.fsf@praet.org>\r
+ <1327222469-29487-2-git-send-email-pieter@praet.org>\r
+User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Wed, 07 May 2014 16:22:53 +0100\r
+Message-ID: <cuntx91fwaa.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\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: Wed, 07 May 2014 15:23:11 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+[ Trimmed to/cc list. ]\r
+\r
+On Sun, Jan 22 2012, Pieter Praet wrote:\r
+> * emacs/notmuch-show.el (notmuch-show-found-target-p): new predicate function\r
+> that uses notmuch(1) 'count' to see if a query turns up any results.\r
+>\r
+> * emacs/notmuch-show.el (notmuch-show-if-found): new function that only shows\r
+> a message/thread if present in the database and otherwise returns an error.\r
+>\r
+> * emacs/notmuch-show.el (notmuch-show-buttonize-links): some deduplication,\r
+> and use new function `notmuch-show-if-found' instead of `notmuch-show'\r
+> to prevent showing a blank screen for Message-Id's which aren't present\r
+> in the database.\r
+\r
+Mark provided some feedback about this (relating to exclusions), but\r
+more generally there is a problem that `M-x notmuch-show id:doesntexist'\r
+will result in an error ("notmuch-show-message-top: Beginning of\r
+buffer"). That seems like a bug that should be fixed.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iKYEARECAGYFAlNqT85fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl\r
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDc1M0Y5NDJDMEExNjc3MDE4OURGMUYyMDY5\r
+RUNEMEFCRjA0OTY1MTYACgkQaezQq/BJZRYmggCfSSdarSprlDYE4NRU0y4cwRwd\r
+2ZsAoIQFtSgIxJPOSA/AhLLysShOlTbs\r
+=CQh6\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r