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 505934196F0 for ; Fri, 4 Jun 2010 09:50:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 Sk4GUfpqLsFA; Fri, 4 Jun 2010 09:49:53 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E818F431FC1; Fri, 4 Jun 2010 09:49:52 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 9291F568F30; Fri, 4 Jun 2010 09:49:52 -0700 (PDT) From: Carl Worth To: Jason White , notmuch Subject: Re: Use of "notmuch count" in notmuch-hello.el In-Reply-To: <20100508033539.GA28162@jdc.jasonjgw.net> References: <20100508033539.GA28162@jdc.jasonjgw.net> User-Agent: Notmuch/0.3.1-22-g1d528f8 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Fri, 04 Jun 2010 09:49:47 -0700 Message-ID: <87pr06d9p0.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Fri, 04 Jun 2010 16:50:03 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 8 May 2010 13:35:39 +1000, Jason White wrote: > The ELisp code in the current Git master branch calls notmuch count, rath= er > than notmuch count *. >=20 > 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. >=20 > Here's a quick patch that enables m-x notmuch to run for me. ... > - (car (process-lines notmuch-command "count"))) > + (car (process-lines notmuch-command "count" "*"))) > (widget-insert " messages (that's not much mail).\n\n")) The "notmuch count '*'" convention is new, but the old "notmuch count" convention is still supported. I'm not sure how you got into a state where "M-x notmuch" would not run unless you used the new convention. All versions of notmuch support the old convention, so that's the one that should be used by the emacs code. I hope that helps answer the question, =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFMCS6r6JDdNq8qSWgRAn7WAKCHQRtRivr1c5LKGT8X029A3Amo7gCeMgwl G5qD8HAOIPeQ9ULEr0eSOyo= =fWU7 -----END PGP SIGNATURE----- --=-=-=--