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 1D07F429E25
\r
6 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:29 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 2wIboHuoVHeH for <notmuch@notmuchmail.org>;
\r
17 Wed, 4 May 2011 13:13:28 -0700 (PDT)
\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com
\r
19 [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id E7E2B429E2A
\r
22 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:26 -0700 (PDT)
\r
23 Received: by mail-ey0-f181.google.com with SMTP id 5so465261eyh.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 04 May 2011 13:13:26 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer
\r
27 :in-reply-to:references;
\r
28 bh=VU1bQurqXDMxIH2v2tyJdqqie550/5fsqSVOgmqadFo=;
\r
29 b=Ty/HVuiNN7I2A209zBemd6Aws2zrDOjqGob7fdFKQVZGYgVu9dKEVXYTfI0x30Hfzz
\r
30 uy/hFmXm+l7sTeWZlzn9uf6eo8kvmmIggKphpJlInqp1WBtt1px/AgWGTAkxZMj8fC9s
\r
31 BP9zktdn3vGmFF3V8qfesuO/ifUhqVily2EmY=
\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=JsEeFaZ7FfX2aTHqDKeEu7sFE6rXRmJkvTiPu7UTQL9lgBpinKl+tdAATRak5qIL7F
\r
35 eANTWY3tZ8YAD0lyQHwOg7sBO8ENd/A2T9Zx8BQTDLpFpox8FlBYNJbrQhlcADE+/Ru8
\r
36 94H2U3K4Q/22HHbMvbhldikrC9xuP4tXpVhTw=
\r
37 Received: by 10.213.32.147 with SMTP id c19mr2206007ebd.29.1304540006362;
\r
38 Wed, 04 May 2011 13:13:26 -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
\r
41 c14sm1092956eeb.18.2011.05.04.13.13.25
\r
42 (version=TLSv1/SSLv3 cipher=OTHER);
\r
43 Wed, 04 May 2011 13:13:25 -0700 (PDT)
\r
44 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH 2/4] vim: add support to mark as read in search view
\r
47 Date: Wed, 4 May 2011 23:13:14 +0300
\r
48 Message-Id: <1304539996-6686-3-git-send-email-felipe.contreras@gmail.com>
\r
49 X-Mailer: git-send-email 1.7.5
\r
50 In-Reply-To: <1304539996-6686-1-git-send-email-felipe.contreras@gmail.com>
\r
51 References: <1304539996-6686-1-git-send-email-felipe.contreras@gmail.com>
\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: Wed, 04 May 2011 20:13:29 -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 05e4552..6f9ff18 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 \ '<Space>': ':call <SID>NM_search_show_thread(0)<CR>',
\r
77 \ '<Enter>': ':call <SID>NM_search_show_thread(1)<CR>',
\r
78 \ '<C-]>': ':call <SID>NM_search_expand(''<cword>'')<CR>',
\r
79 + \ 'I': ':call <SID>NM_search_mark_read_thread()<CR>',
\r
80 \ 'a': ':call <SID>NM_search_archive_thread()<CR>',
\r
81 \ 'A': ':call <SID>NM_search_mark_read_then_archive_thread()<CR>',
\r
82 \ 'f': ':call <SID>NM_search_filter()<CR>',
\r
83 @@ -308,6 +309,11 @@ function! s:NM_search_edit()
\r
87 +function! s:NM_search_mark_read_thread()
\r
88 + call <SID>NM_tag([], ['-unread'])
\r
92 function! s:NM_search_archive_thread()
\r
93 call <SID>NM_tag([], ['-inbox'])
\r