Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9C8E04196F3 for ; Fri, 7 May 2010 20:35:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.191 X-Spam-Level: ** X-Spam-Status: No, score=2.191 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_RP_RNBL=1.31, RDNS_DYNAMIC=0.982] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3lEN8fR-tYEV for ; Fri, 7 May 2010 20:35:43 -0700 (PDT) Received: from jdc.jasonjgw.net (ppp121-45-188-54.lns6.syd7.internode.on.net [121.45.188.54]) by olra.theworths.org (Postfix) with ESMTP id 1B0EC431FC1 for ; Fri, 7 May 2010 20:35:43 -0700 (PDT) Received: by jdc.jasonjgw.net (Postfix, from userid 1000) id E01C018062113; Sat, 8 May 2010 13:35:39 +1000 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jasonjgw.net; s=mail; t=1273289739; bh=cayIYCjndTLoDnwiUXLWXnGr/640amLVzEz1hO5TG6A=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=Ycd/A1FFN48HKJVy7ivIbqBtDRtkBNkzDEVVugtzZfWqN2L8kGN9JHYAxvlch/E// 7qZCU+dcktV2QFpLjtD5t1GqhgDnbEbSuUaZ6ZLdpSc5aWe7KOix/itGU8Ch48hCtp OrHZz/sk9VdYrPuc0XMewvODOE4uztdoKDi+U2dk= Date: Sat, 8 May 2010 13:35:39 +1000 From: Jason White To: notmuch Subject: Use of "notmuch count" in notmuch-hello.el Message-ID: <20100508033539.GA28162@jdc.jasonjgw.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 03:35:53 -0000 The ELisp code in the current Git master branch calls notmuch count, rather than notmuch count *. I don't know whether this is supposed to be corrected in the C code or in the Emacs code; the manual page still documents the old behaviour. Here's a quick patch that enables m-x notmuch to run for me. >From 1cd04171eb6051adc9a37d25ccf9e09504e7a944 Mon Sep 17 00:00:00 2001 From: Jason White Date: Sat, 8 May 2010 13:30:59 +1000 Subject: [PATCH] Correct invocation of notmuch count. --- emacs/notmuch-hello.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 6a1c56e..c0dcc31 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -272,7 +272,7 @@ diagonal." :notify (lambda (&rest ignore) (notmuch-hello-update)) :help-echo "Refresh" - (car (process-lines notmuch-command "count"))) + (car (process-lines notmuch-command "count" "*"))) (widget-insert " messages (that's not much mail).\n\n")) (let ((found-target-pos nil) -- 1.7.1