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 7F677431FC1 for ; Sat, 5 Jun 2010 04:13:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 mHYeQHvl2zuw for ; Sat, 5 Jun 2010 04:13:04 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by olra.theworths.org (Postfix) with ESMTP id EE9EA4196F3 for ; Sat, 5 Jun 2010 04:12:56 -0700 (PDT) Received: by mail-bw0-f53.google.com with SMTP id 12so686857bwz.26 for ; Sat, 05 Jun 2010 04:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=ZX8Q1afOc0evzqYtUNut4M7/uxoT75A8zer3MAwumEU=; b=gSY63/i0aSC+2T2fuMtWZ+anGqqYel2RSCZdHQjjdfMOCoigz4l1CyhE8+TVGpnMgW gPWUQ5xfJiZTRHNxdoyOcqXa6JwOiu+ni/yfUAos4mpVE9nbiqFCajRpVNyDPsUEVkVP AwY4GW76/7QXvF8SUCGTguHcbFRpvgHNjXZg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=qpX/KTzDiB3DCXoFJG7ivj6PlKHCrOrshUduGb4HtBiS/+CdTnAB7HtngO3Lamga8Z Oeu7nW124T7vDo6bPuKymK3wo+VlW1FCmCqDj79Q/IU/NQyacWx9Z3yO+3po6ePFSoFF 1AtKjR43ZLS2Lrx4kaeD4XXACl3lDK0dBZj+4= Received: by 10.204.160.156 with SMTP id n28mr4798444bkx.1.1275736376611; Sat, 05 Jun 2010 04:12:56 -0700 (PDT) Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80]) by mx.google.com with ESMTPS id z7sm9597044bkx.5.2010.06.05.04.12.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jun 2010 04:12:56 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH 2/9] vim: add archive support from 'show' Date: Sat, 5 Jun 2010 14:12:35 +0300 Message-Id: <1275736362-22771-3-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1275736362-22771-1-git-send-email-felipe.contreras@gmail.com> References: <1275736362-22771-1-git-send-email-felipe.contreras@gmail.com> Cc: Bart Trojanowski 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: Sat, 05 Jun 2010 11:13:16 -0000 Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index a9754f2..3a19616 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -496,7 +496,8 @@ function! s:NM_show_archive_thread() endfunction function! s:NM_show_mark_read_then_archive_thread() - echo 'not implemented' + call NM_add_remove_tags(b:nm_search_words, '-', ['unread', 'inbox']) + call NM_show_next_thread() endfunction function! s:NM_show_mark_read_then_next_open_message() -- 1.7.1