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 7E798429E25
\r
6 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:28 -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 WVAyhmJsdYZQ for <notmuch@notmuchmail.org>;
\r
17 Wed, 4 May 2011 13:13:27 -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 50BF6429E27
\r
22 for <notmuch@notmuchmail.org>; Wed, 4 May 2011 13:13:25 -0700 (PDT)
\r
23 Received: by eyh5 with SMTP id 5so465261eyh.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 04 May 2011 13:13:24 -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=1xCVoQfhmtVXnib868ilmrHzF5KTj5qkbmQrZa11DvE=;
\r
29 b=HWAoa8RF2c/VgFPm4+bu0oAlKRpZTpjZCmiwCshbCl8VLwA65Xz4+x5LNuRyRQQk53
\r
30 jH2GPZfFMeM2WfvkUBtF5qHX6m5byDKR2E3f+gf5V8S26b3wXkD8t85iioLoVgizd/Vv
\r
31 yX+CZIzVwcobBxy/JDhlMVUY0iiZXbLjUJmUA=
\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=bBixCdYiBFu3k/8ZgbHOGvfiP5LayjbnBXH2pVSkVy+t3jIbFzgj7bSy5UXPAzI140
\r
35 vtcH/VbFvyL3Wp36NgDB6kd+lji1buc3DbvbsFWNGlzY15XOoKqcZhxHOELzSZL+N+X0
\r
36 o6gM1UFcQxXAlub130QmeIvTeBUOCXq8pkFng=
\r
37 Received: by 10.14.0.133 with SMTP id 5mr747904eeb.144.1304540003868;
\r
38 Wed, 04 May 2011 13:13:23 -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 u16sm1092336eei.23.2011.05.04.13.13.22
\r
42 (version=TLSv1/SSLv3 cipher=OTHER);
\r
43 Wed, 04 May 2011 13:13:23 -0700 (PDT)
\r
44 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH 1/4] vim: add support to mark as read in show view
\r
47 Date: Wed, 4 May 2011 23:13:13 +0300
\r
48 Message-Id: <1304539996-6686-2-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:28 -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 3375a96..05e4552 100644
\r
73 --- a/vim/plugin/notmuch.vim
\r
74 +++ b/vim/plugin/notmuch.vim
\r
75 @@ -147,6 +147,7 @@ let g:notmuch_show_maps = {
\r
76 \ 'h': ':call <SID>NM_show_fold_toggle(''h'', ''hdr'', !g:notmuch_show_fold_headers)<CR>',
\r
77 \ 'i': ':call <SID>NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)<CR>',
\r
79 + \ 'I': ':call <SID>NM_show_mark_read_thread()<CR>',
\r
80 \ 'a': ':call <SID>NM_show_archive_thread()<CR>',
\r
81 \ 'A': ':call <SID>NM_show_mark_read_then_archive_thread()<CR>',
\r
82 \ 'N': ':call <SID>NM_show_mark_read_then_next_open_message()<CR>',
\r
83 @@ -494,6 +495,11 @@ function! s:NM_show_next_thread()
\r
87 +function! s:NM_show_mark_read_thread()
\r
88 + call <SID>NM_tag(b:nm_search_words, ['-unread'])
\r
89 + call <SID>NM_show_next_thread()
\r
92 function! s:NM_show_archive_thread()
\r
93 call <SID>NM_tag(b:nm_search_words, ['-inbox'])
\r
94 call <SID>NM_show_next_thread()
\r