[PATCH 1/3] Fix count_threads variable check
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 23 Apr 2014 21:49:42 +0000 (16:49 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:01:54 +0000 (10:01 -0800)
e0/70c1f6a91ef8cb06e072a142c86be28d5775d0 [new file with mode: 0644]

diff --git a/e0/70c1f6a91ef8cb06e072a142c86be28d5775d0 b/e0/70c1f6a91ef8cb06e072a142c86be28d5775d0
new file mode 100644 (file)
index 0000000..330a3a9
--- /dev/null
@@ -0,0 +1,85 @@
+Return-Path: <felipe.contreras@gmail.com>\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 83EB5431FC4\r
+       for <notmuch@notmuchmail.org>; Wed, 23 Apr 2014 15:06:47 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 78Sf1cHxxtZd for <notmuch@notmuchmail.org>;\r
+       Wed, 23 Apr 2014 15:06:42 -0700 (PDT)\r
+Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com\r
+       [209.85.214.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 0D07A431FBF\r
+       for <notmuch@notmuchmail.org>; Wed, 23 Apr 2014 15:06:42 -0700 (PDT)\r
+Received: by mail-ob0-f179.google.com with SMTP id vb8so1744313obc.24\r
+       for <notmuch@notmuchmail.org>; Wed, 23 Apr 2014 15:06:41 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
+       bh=aVvnopBxYFc+BHu/x99Ro7DCSQpt/LldVm3kshjtmFU=;\r
+       b=EwId8sUcsbjlGCfcUi8QvLa25IShM1F4J7RS5DZK98aaCzzwuwen0XgJDxXsncS5st\r
+       vEsmmIhYkCe9V7TM/09+ClwZoe+/kHyFvtYbbvF9MZNe7KXoNrX3UOzS9a+13ulufXqD\r
+       YyV679QNLIFv0PmNCBYzHdfHi3tsd5jqMRjyVmg7qZdjzeDcUarv2U2f9xFvTLK+HzVk\r
+       HJMLK9rIS12amuhfrenM2XQ0l0RmTnO+6PlpuO9JLRiBxdQpaqN/51bBP650xUIg7EVs\r
+       3zCZq9sn2iSWS/ErY4MaqUyqVz461bpPEJjrFHrG+NMPYUDCoHH/bPsv+IYmQaAdYSfs\r
+       c4wA==\r
+X-Received: by 10.182.166.40 with SMTP id zd8mr44061217obb.25.1398290412694;\r
+       Wed, 23 Apr 2014 15:00:12 -0700 (PDT)\r
+Received: from localhost (189-211-224-40.static.axtel.net. [189.211.224.40])\r
+       by mx.google.com with ESMTPSA id vh3sm4327005obb.9.2014.04.23.15.00.10\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Wed, 23 Apr 2014 15:00:11 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/3] Fix count_threads variable check\r
+Date: Wed, 23 Apr 2014 16:49:42 -0500\r
+Message-Id: <1398289784-18203-2-git-send-email-felipe.contreras@gmail.com>\r
+X-Mailer: git-send-email 1.9.2+fc1.2.gfbaae8c\r
+In-Reply-To: <1398289784-18203-1-git-send-email-felipe.contreras@gmail.com>\r
+References: <1398289784-18203-1-git-send-email-felipe.contreras@gmail.com>\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: Wed, 23 Apr 2014 22:06:47 -0000\r
+\r
+Seems it never really worked.\r
+\r
+Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>\r
+---\r
+ vim/notmuch.vim | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
+index d7b310c..25a16e9 100644\r
+--- a/vim/notmuch.vim\r
++++ b/vim/notmuch.vim\r
+@@ -633,7 +633,7 @@ ruby << EOF\r
+       def folders_render()\r
+               $curbuf.render do |b|\r
+                       folders = VIM::evaluate('g:notmuch_folders')\r
+-                      count_threads = VIM::evaluate('g:notmuch_folders_count_threads')\r
++                      count_threads = VIM::evaluate('g:notmuch_folders_count_threads') == 1\r
+                       $searches.clear\r
+                       folders.each do |name, search|\r
+                               q = $curbuf.query(search)\r
+-- \r
+1.9.2+fc1.2.gfbaae8c\r
+\r