From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMj9OIe3fGAGxQAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 00:49:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0KK3NIe3fGDZJAAA1q6Kng (envelope-from ) for ; Sun, 18 Apr 2021 22:49:43 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C6491CF8D for ; Mon, 19 Apr 2021 00:49:43 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9DEE1271AF; Sun, 18 Apr 2021 18:49:14 -0400 (EDT) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by mail.notmuchmail.org (Postfix) with ESMTPS id ABE162719D for ; Sun, 18 Apr 2021 18:49:10 -0400 (EDT) Received: by mail-oi1-x233.google.com with SMTP id m13so33695164oiw.13 for ; Sun, 18 Apr 2021 15:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vgKX+0v3pcYzAqeq/qLKxfRAdQh317PONX0DkskZ614=; b=XyzXvJM++CPmbOYwZvYR9LvdkUj1FvPP1UNfEzBkKwUNsvpfb4EJ/I57OzwxgpuG5p i06L9/iUf0FBsixOZly3peLMGLDzCc4xjmPikF4vrLtU80oIAZKWuUvlIPibsKouOyYd piPse2n2ukbQl7gXzaQmgYtl3UR8rM0H7gX+4ps9N+KAFSn/HpjiQs6xFrhI20txLliK j/F9Xl/T6Wul+Txe7jHZZsjFyZ9Gi4Jm4r4SjY//aaGAzT7q1uQwtAn2uLs8u8idwzyH RftRVKy0Y1hgnkggiPOMcvmIPhKb+/lD1FJykP5cgOBkI40XULt3s2faJdHEF8xoZfly lOug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vgKX+0v3pcYzAqeq/qLKxfRAdQh317PONX0DkskZ614=; b=ZyHCfZzZKiPFgpdznaqkhvdCh1Wdc+oA4i4tVb9g1O8w5SJGt3d5CLV6tNOfX8SG1e 9Lsu4uOfV0xwR/Ak4QPjhFIB0Oji8tUzQZPrnb1Gr9BUGJQp9TFYoGVsquyudnIwalt9 N6AtjhJ1XpGQsUWplPqwYxsnzfG8mUcdmVWmc+3IJ8jCFKM1SM1fHCyCz9zRZxEbhAPA jktZdzIzVZAARkZa3NhMY50k2xcH0K8n52p5rCZwUoTbewot17Fp3N+0bY++/7ciMHdG xW9+REfRAcxhUGJYNJIvoJ7zlBndQzI27lnSLqDbo5ORaSHglLww5SXNoLitgdPjYix2 TXVQ== X-Gm-Message-State: AOAM530EZ64+/SlMbOzWWZXqKDJwbl+vKsUICRwmqmZXocUXDulFpYJw ZdgSTWYn57agT3k6kXuHceElViVRpggH4A== X-Google-Smtp-Source: ABdhPJztibxatOjflPwRuSNR8U1T2ivoiSLGjzVjiUZEJXVXxgX8ZQu2XVUxB/SqJdT3e9VOR0fhHw== X-Received: by 2002:aca:d410:: with SMTP id l16mr5850187oig.21.1618786149441; Sun, 18 Apr 2021 15:49:09 -0700 (PDT) Received: from localhost ([2806:2f0:4000:bfd0:a2c5:89ff:fe0c:1151]) by smtp.gmail.com with ESMTPSA id t9sm1629568otl.5.2021.04.18.15.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Apr 2021 15:49:09 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Cc: Felipe Contreras Subject: [PATCH 08/13] vim: trivial cleanup Date: Sun, 18 Apr 2021 17:48:46 -0500 Message-Id: <20210418224851.88240-9-felipe.contreras@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210418224851.88240-1-felipe.contreras@gmail.com> References: <20210418224851.88240-1-felipe.contreras@gmail.com> MIME-Version: 1.0 Message-ID-Hash: P24DRDOWIEEDHH2REFKAN2GHWQDDEGFJ X-Message-ID-Hash: P24DRDOWIEEDHH2REFKAN2GHWQDDEGFJ X-MailFrom: felipe.contreras@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618786183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OXrMvRvQ4QbFvkYtBTrmAk+wruAs2Q5hjD/mgvPzeCQ=; b=TBMlBPHH5A6W/e3DeBBUgWqAW+6paL68X4x1OX3FpwrYXmvdQbhMmwMImzYRvT6Ujk4D3/ CQgfEpHZbx+b0EhRSW0wm5zQbsnSJhsxrVS96XiV5z+oB8aMNs3zHPah1d/00V5An6Gusv GGbuGEBNUEV35OlvqwrYAAyVvrjElQOXbI10Vzxj3GE/TnVf57uFRJgBq8XotaW0McWIrG 1EUceoDWAXZn/NjuLJ/TU0+ix63h9Axkgjg3QF4Q6ucVygjGvJCH9Ui1gEH7XmVZLqasgR me49xgj/7JORoaLTILznDmj66pakXpBiMpCl79dWpMa1K4qWxI8WE8/dyIjB8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618786183; a=rsa-sha256; cv=none; b=KQE1WJxbqwdb3Bi4W2JZYFX+PMrCc9crhtMZeGwnVjg4m2oD5odBogg5MAstAPhQsqnrhe MsHfvig3mZJbaDEdSFIsvEWE1FMHt+hQeit5043aOAk2CXKgc02S/2MPGcqzL6EwKcmAWF D/jbTSVda9HuPflM2L6y3UMh8fEgi18O6F+2WUakDjnQNsjiuKzVV7bHr7jT0thbTEp+/m zkaGLWFbPA+zfOCrQqVLuDnR+lxWC1ue9YQw6HcvlGMwLGE8LXNJ7ll27gL2xWnLJ+BFyr ftvShfIH/OxLbEa3Gsv/JAwc5glZ+6g4zaXhBeM5/6SOlaSEWpw7LzQePLy9Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=XyzXvJM+; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=XyzXvJM+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 6C6491CF8D X-Spam-Score: -0.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: cbK26+0bbDjk Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 8777d412..7a448467 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -641,9 +641,7 @@ ruby << EOF $searches.clear folders.each do |name, search| q = $curbuf.query(search) - $exclude_tags.each { |t| - q.add_tag_exclude(t) - } + $exclude_tags.each { |e| q.add_tag_exclude(e) } $searches << search count = count_threads ? q.count_threads : q.count_messages b << "%9d %-20s (%s)" % [count, name, search] @@ -655,9 +653,7 @@ ruby << EOF date_fmt = VIM::evaluate('g:notmuch_date_format') q = $curbuf.query(search) q.sort = Notmuch::SORT_NEWEST_FIRST - $exclude_tags.each { |t| - q.add_tag_exclude(t) - } + $exclude_tags.each { |e| q.add_tag_exclude(e) } $threads.clear t = q.search_threads -- 2.31.0