Re: Use of "notmuch count" in notmuch-hello.el
authorCarl Worth <cworth@cworth.org>
Fri, 4 Jun 2010 16:49:47 +0000 (09:49 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:06 +0000 (09:37 -0800)
b6/dad0dbebc231972e3401b0f620ff48bb76fe1f [new file with mode: 0644]

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