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