1 Return-Path: <telenczuk@unic.cnrs-gif.fr>
\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 2AC6A429E44
\r
6 for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 04:03:38 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id MZdnSSeakhpN for <notmuch@notmuchmail.org>;
\r
16 Sat, 10 Jan 2015 04:03:33 -0800 (PST)
\r
17 Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74])
\r
18 by olra.theworths.org (Postfix) with ESMTP id CAC34429E41
\r
19 for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 04:03:33 -0800 (PST)
\r
20 Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54])
\r
21 by smtp.webfaction.com (Postfix) with ESMTP id CA0D659A3AB9;
\r
22 Sat, 10 Jan 2015 12:03:28 +0000 (UTC)
\r
23 From: Bartosz <telenczuk@unic.cnrs-gif.fr>
\r
24 To: notmuch@notmuchmail.org
\r
25 Subject: [PATCH 1/4] VIM: implemented message folding in thread view
\r
26 Date: Sat, 10 Jan 2015 13:03:01 +0100
\r
27 Message-Id: <1420891384-992-2-git-send-email-telenczuk@unic.cnrs-gif.fr>
\r
28 X-Mailer: git-send-email 1.9.3 (Apple Git-50)
\r
29 In-Reply-To: <1420891384-992-1-git-send-email-telenczuk@unic.cnrs-gif.fr>
\r
30 References: <1420891384-992-1-git-send-email-telenczuk@unic.cnrs-gif.fr>
\r
31 X-Mailman-Approved-At: Sat, 10 Jan 2015 10:22:23 -0800
\r
32 Cc: Bartosz <telenczuk@unic.cnrs-gif.fr>
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.13
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Sat, 10 Jan 2015 12:03:38 -0000
\r
48 vim/notmuch.vim | 6 ++++++
\r
49 1 file changed, 6 insertions(+)
\r
51 diff --git a/vim/notmuch.vim b/vim/notmuch.vim
\r
52 index cad9517..34d4f92 100644
\r
53 --- a/vim/notmuch.vim
\r
54 +++ b/vim/notmuch.vim
\r
55 @@ -345,8 +345,13 @@ ruby << EOF
\r
56 VIM::command("syntax region nmShowMsg#{i}Desc start='\\%%%il' end='\\%%%il' contains=@nmShowMsgDesc" % [msg.start, msg.start + 1])
\r
57 VIM::command("syntax region nmShowMsg#{i}Head start='\\%%%il' end='\\%%%il' contains=@nmShowMsgHead" % [msg.start + 1, msg.body_start])
\r
58 VIM::command("syntax region nmShowMsg#{i}Body start='\\%%%il' end='\\%%%dl' contains=@nmShowMsgBody" % [msg.body_start, msg.end])
\r
59 + VIM::command("syntax region nmShowMsg#{i}Fold start='\\%%%il' end='\\%%%dl' contains=nmShowMsg#{i}Body,nmShowMsg#{i}Head,nmShowMsg#{i}Desc fold" % [msg.start, msg.end])
\r
61 + VIM::command("g/^.*(.*unread.*)$/normal zo")
\r
62 + VIM::command("nohl")
\r
63 + VIM::command("normal gg/unread/1")
\r
65 + set foldmethod=syntax
\r
66 setlocal nomodifiable
\r
67 call s:set_map(g:notmuch_show_maps)
\r
69 @@ -957,5 +962,6 @@ EOF
\r
72 command -nargs=* NotMuch call s:NotMuch(<f-args>)
\r
73 +set foldtext=v:folddashes.substitute(getline(v:foldstart),'{{{','','g')
\r
75 " vim: set noexpandtab:
\r
77 1.9.3 (Apple Git-50)
\r