[notmuch] [PATCH] notmuch-new: Remove the tiresome joke from the output.
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Nov 2009 19:41:20 +0000 (19:41 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:42 +0000 (09:35 -0800)
77/9f38482a0e2fc535e06acb60be21d7a0b05ab6 [new file with mode: 0644]

diff --git a/77/9f38482a0e2fc535e06acb60be21d7a0b05ab6 b/77/9f38482a0e2fc535e06acb60be21d7a0b05ab6
new file mode 100644 (file)
index 0000000..3850847
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <chris@chris-wilson.co.uk>\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 62DA8431FBF\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 11:41:28 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 G-fEI0kFy7Ja for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Nov 2009 11:41:27 -0800 (PST)\r
+Received: from fmsmga102.fm.intel.com (mga10.intel.com [192.55.52.92])\r
+       by olra.theworths.org (Postfix) with ESMTP id AA3C1431FBC\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 11:41:27 -0800 (PST)\r
+Received: from fmsmga001.fm.intel.com ([10.253.24.23])\r
+       by fmsmga102.fm.intel.com with ESMTP; 24 Nov 2009 11:37:30 -0800\r
+X-ExtLoop1: 1\r
+X-IronPort-AV: E=Sophos;i="4.47,280,1257148800"; d="scan'208";a="750047982"\r
+Received: from unknown (HELO localhost.localdomain) ([10.255.16.197])\r
+       by fmsmga001.fm.intel.com with ESMTP; 24 Nov 2009 11:47:50 -0800\r
+From: Chris Wilson <chris@chris-wilson.co.uk>\r
+To: notmuch@notmuchmail.org\r
+Date: Tue, 24 Nov 2009 19:41:20 +0000\r
+Message-Id: <1259091680-29598-1-git-send-email-chris@chris-wilson.co.uk>\r
+X-Mailer: git-send-email 1.6.5.3\r
+Subject: [notmuch] [PATCH] notmuch-new: Remove the tiresome joke from the\r
+       output.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Tue, 24 Nov 2009 19:41:28 -0000\r
+\r
+As I see this every time I poll for new mail, the joke becomes very old\r
+very quickly.  The other instances of "not much" are shown much less\r
+often and have a much more natural style, this one however feels forced,\r
+impairing the humorous effect.\r
+\r
+Signed-off-by: Chris "the critic" Wilson <chris@chris-wilson.co.uk>\r
+---\r
+ notmuch-new.c |    4 +---\r
+ 1 files changed, 1 insertions(+), 3 deletions(-)\r
+\r
+diff --git a/notmuch-new.c b/notmuch-new.c\r
+index e32b92a..3cde3a7 100644\r
+--- a/notmuch-new.c\r
++++ b/notmuch-new.c\r
+@@ -483,12 +483,10 @@ notmuch_new_command (void *ctx, int argc, char *argv[])\r
+       }\r
+     }\r
+     if (add_files_state.added_messages) {\r
+-      printf ("Added %d new %s to the database (not much, really).\n",\r
++      printf ("Added %d new %s to the database.\n",\r
+               add_files_state.added_messages,\r
+               add_files_state.added_messages == 1 ?\r
+               "message" : "messages");\r
+-    } else {\r
+-      printf ("No new mail---and that's not much.\n");\r
+     }\r
\r
+     if (elapsed > 1 && ! add_files_state.saw_read_only_directory) {\r
+-- \r
+1.6.5.3\r
+\r