1 Return-Path: <felipe.contreras@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id DAF6940AB46
\r
6 for <notmuch@notmuchmail.org>; Sat, 5 Jun 2010 04:13:39 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id yritCrzht95i for <notmuch@notmuchmail.org>;
\r
18 Sat, 5 Jun 2010 04:13:28 -0700 (PDT)
\r
19 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
21 by olra.theworths.org (Postfix) with ESMTP id 47FC2418C34
\r
22 for <notmuch@notmuchmail.org>; Sat, 5 Jun 2010 04:13:04 -0700 (PDT)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id 12so686857bwz.26
\r
24 for <notmuch@notmuchmail.org>; Sat, 05 Jun 2010 04:13:04 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:received:received:from:to:cc:subject:date
\r
27 :message-id:x-mailer:in-reply-to:references;
\r
28 bh=cF1tPBBZYMz/IRgqmwt54PHnoGPWFueeR7CyFS3OCKE=;
\r
29 b=MooIayFnCM1Udl5Eom6trJvHPb3iG8ZGGqvsh0aTjBtqjVTkAFu0v/YepJE8/OgEaP
\r
30 HpcA025/mIo4D9SceHBMGIx0u2X2QHW79Q6K5TjkKHv5869pFKjEFa1PbDf/hTdtHm3H
\r
31 LuUPQsf1nCXxBMETB1YHgS/SXXQhd559vkl8w=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
34 b=NI+oYIUY/9+rvbYHHsoajG9AS141Y/xMjLAC0e6tztN2fwkThTwGup4wcqeAOq3IFH
\r
35 rly4dJEUn6peniRem9izWLL6Acz5Sx1nUeZF/3AglGP94h5b27whGqIAtayS4xzG3Ugt
\r
36 9DzcoR/YQ3FR9/KLWCOGlLHi+1IIweINUa2x0=
\r
37 Received: by 10.204.83.29 with SMTP id d29mr4676596bkl.130.1275736383927;
\r
38 Sat, 05 Jun 2010 04:13:03 -0700 (PDT)
\r
39 Received: from localhost (a91-153-253-80.elisa-laajakaista.fi [91.153.253.80])
\r
40 by mx.google.com with ESMTPS id z20sm9603099bkx.3.2010.06.05.04.13.03
\r
41 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
42 Sat, 05 Jun 2010 04:13:03 -0700 (PDT)
\r
43 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 6/9] vim: add option to mark as read + archive
\r
46 Date: Sat, 5 Jun 2010 14:12:39 +0300
\r
47 Message-Id: <1275736362-22771-7-git-send-email-felipe.contreras@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.1
\r
49 In-Reply-To: <1275736362-22771-1-git-send-email-felipe.contreras@gmail.com>
\r
50 References: <1275736362-22771-1-git-send-email-felipe.contreras@gmail.com>
\r
51 Cc: Bart Trojanowski <bart@jukie.net>
\r
52 X-BeenThere: notmuch@notmuchmail.org
\r
53 X-Mailman-Version: 2.1.13
\r
55 List-Id: "Use and development of the notmuch mail system."
\r
56 <notmuch.notmuchmail.org>
\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
60 List-Post: <mailto:notmuch@notmuchmail.org>
\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
64 X-List-Received-Date: Sat, 05 Jun 2010 11:13:40 -0000
\r
66 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
\r
68 vim/plugin/notmuch.vim | 6 ++++++
\r
69 1 files changed, 6 insertions(+), 0 deletions(-)
\r
71 diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
\r
72 index 01ee10f..968c4c1 100644
\r
73 --- a/vim/plugin/notmuch.vim
\r
74 +++ b/vim/plugin/notmuch.vim
\r
75 @@ -118,6 +118,7 @@ let g:notmuch_search_maps = {
\r
76 \ '<Enter>': ':call <SID>NM_search_show_thread(1)<CR>',
\r
77 \ '<C-]>': ':call <SID>NM_search_expand(''<cword>'')<CR>',
\r
78 \ 'a': ':call <SID>NM_search_archive_thread()<CR>',
\r
79 + \ 'A': ':call <SID>NM_search_mark_read_then_archive_thread()<CR>',
\r
80 \ 'f': ':call <SID>NM_search_filter()<CR>',
\r
81 \ 'm': ':call <SID>NM_new_mail()<CR>',
\r
82 \ 'o': ':call <SID>NM_search_toggle_order()<CR>',
\r
83 @@ -310,6 +311,11 @@ function! s:NM_search_archive_thread()
\r
87 +function! s:NM_search_mark_read_then_archive_thread()
\r
88 + call <SID>NM_add_remove_tags([], '-', ['unread', 'inbox'])
\r
92 function! s:NM_search_filter()
\r
93 call <SID>NM_search_filter_helper('Filter: ', '', '')
\r