Re: [PATCH v3] emacs: Report a lack of matches when calling `notmuch-show'.
authorTomi Ollila <tomi.ollila@iki.fi>
Fri, 12 Feb 2016 17:14:36 +0000 (19:14 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:06 +0000 (16:21 -0700)
34/3cd7c90b3424cbbb5dc717ee9f35edc5a34fbc [new file with mode: 0644]

diff --git a/34/3cd7c90b3424cbbb5dc717ee9f35edc5a34fbc b/34/3cd7c90b3424cbbb5dc717ee9f35edc5a34fbc
new file mode 100644 (file)
index 0000000..3be5e95
--- /dev/null
@@ -0,0 +1,74 @@
+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 arlo.cworth.org (Postfix) with ESMTP id 88FAA6DE0C51\r
+ for <notmuch@notmuchmail.org>; Fri, 12 Feb 2016 09:14:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.641\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.641 tagged_above=-999 required=5 tests=[AWL=-0.011,\r
+  SPF_NEUTRAL=0.652] 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 PbgdXcNGC5dL for <notmuch@notmuchmail.org>;\r
+ Fri, 12 Feb 2016 09:14:24 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 30F6C6DE0A9A\r
+ for <notmuch@notmuchmail.org>; Fri, 12 Feb 2016 09:14:23 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id A725110007F;\r
+ Fri, 12 Feb 2016 19:14:36 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3] emacs: Report a lack of matches when calling\r
+ `notmuch-show'.\r
+In-Reply-To: <1455179607-16870-2-git-send-email-dme@dme.org>\r
+References: <1455179607-16870-1-git-send-email-dme@dme.org>\r
+ <1455179607-16870-2-git-send-email-dme@dme.org>\r
+User-Agent: Notmuch/0.21+32~g73439f8 (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: Fri, 12 Feb 2016 19:14:36 +0200\r
+Message-ID: <m2io1tx343.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.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: Fri, 12 Feb 2016 17:14:26 -0000\r
+\r
+On Thu, Feb 11 2016, David Edmondson <dme@dme.org> wrote:\r
+\r
+> If the basic query passed to `notmuch-show' generates no results, ring\r
+> the bell and inform the user that no messages matched the query rather\r
+> than displaying an empty buffer and showing an obscure error.\r
+\r
+Looks good (the parts I understood) and works fine (testing with\r
+devel/try-emacs-mua). \r
+\r
+FYI: when testing with (eval-last-sexp) interactively (c-x c-e)\r
+message does not appear in minibuffer -- since the following 'nil'\r
+will take its place -- the msg is in *Messages* buffer\r
+\r
+Tomi\r
+\r
+>\r
+> Similarly when refreshing a `notmuch-show' buffer and no messages match.\r
+> ---\r
+>  emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++---------------------\r
+>  emacs/notmuch.el      |   6 ++-\r
+>  2 files changed, 89 insertions(+), 61 deletions(-)\r
+>\r