--- /dev/null
+Return-Path: <telenczuk@unic.cnrs-gif.fr>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 2AC6A429E44\r
+ for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 04:03:38 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+ tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id MZdnSSeakhpN for <notmuch@notmuchmail.org>;\r
+ Sat, 10 Jan 2015 04:03:33 -0800 (PST)\r
+Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74])\r
+ by olra.theworths.org (Postfix) with ESMTP id CAC34429E41\r
+ for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 04:03:33 -0800 (PST)\r
+Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54])\r
+ by smtp.webfaction.com (Postfix) with ESMTP id CA0D659A3AB9;\r
+ Sat, 10 Jan 2015 12:03:28 +0000 (UTC)\r
+From: Bartosz <telenczuk@unic.cnrs-gif.fr>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/4] VIM: implemented message folding in thread view\r
+Date: Sat, 10 Jan 2015 13:03:01 +0100\r
+Message-Id: <1420891384-992-2-git-send-email-telenczuk@unic.cnrs-gif.fr>\r
+X-Mailer: git-send-email 1.9.3 (Apple Git-50)\r
+In-Reply-To: <1420891384-992-1-git-send-email-telenczuk@unic.cnrs-gif.fr>\r
+References: <1420891384-992-1-git-send-email-telenczuk@unic.cnrs-gif.fr>\r
+X-Mailman-Approved-At: Sat, 10 Jan 2015 10:22:23 -0800\r
+Cc: Bartosz <telenczuk@unic.cnrs-gif.fr>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 10 Jan 2015 12:03:38 -0000\r
+\r
+---\r
+ vim/notmuch.vim | 6 ++++++\r
+ 1 file changed, 6 insertions(+)\r
+\r
+diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
+index cad9517..34d4f92 100644\r
+--- a/vim/notmuch.vim\r
++++ b/vim/notmuch.vim\r
+@@ -345,8 +345,13 @@ ruby << EOF\r
+ VIM::command("syntax region nmShowMsg#{i}Desc start='\\%%%il' end='\\%%%il' contains=@nmShowMsgDesc" % [msg.start, msg.start + 1])\r
+ VIM::command("syntax region nmShowMsg#{i}Head start='\\%%%il' end='\\%%%il' contains=@nmShowMsgHead" % [msg.start + 1, msg.body_start])\r
+ VIM::command("syntax region nmShowMsg#{i}Body start='\\%%%il' end='\\%%%dl' contains=@nmShowMsgBody" % [msg.body_start, msg.end])\r
++ 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
+ end\r
++ VIM::command("g/^.*(.*unread.*)$/normal zo")\r
++ VIM::command("nohl")\r
++ VIM::command("normal gg/unread/1") \r
+ EOF\r
++ set foldmethod=syntax\r
+ setlocal nomodifiable\r
+ call s:set_map(g:notmuch_show_maps)\r
+ endfunction\r
+@@ -957,5 +962,6 @@ EOF\r
+ endfunction\r
+ \r
+ command -nargs=* NotMuch call s:NotMuch(<f-args>)\r
++set foldtext=v:folddashes.substitute(getline(v:foldstart),'{{{','','g')\r
+ \r
+ " vim: set noexpandtab:\r
+-- \r
+1.9.3 (Apple Git-50)\r
+\r