Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / bf / 284d316bd14451ce0dab4f563810ae92b44a28
1 Return-Path: <imain@stemwinder.org>\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 CF978431FBC\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 09:36:19 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 caQ9TK-PYMYQ for <notmuch@notmuchmail.org>;\r
16         Wed,  1 Oct 2014 09:36:14 -0700 (PDT)\r
17 Received: from cmta18.telus.net (cmta18.telus.net [209.171.16.91])\r
18         by olra.theworths.org (Postfix) with ESMTP id 423F4431FB6\r
19         for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 09:36:14 -0700 (PDT)\r
20 Received: from ovo.mains.priv ([207.102.88.62]) by cmta18.telus.net with TELUS\r
21         id xscC1o0051LiWEf01scCxA; Wed, 01 Oct 2014 10:36:12 -0600\r
22 X-Authority-Analysis: v=2.0 cv=cbEMWA/M c=1 sm=2\r
23         a=EcQDfIwDZEqJA1f7rVUV8Q==:17 a=S-IsBHyFrF4A:10 a=tsa3CZZnAAAA:8\r
24         a=hR_Pik59WMxAzTeQCJsA:9 a=EcQDfIwDZEqJA1f7rVUV8Q==:117\r
25 X-Telus-Outbound-IP: 207.102.88.62\r
26 From: Ian Main <imain@stemwinder.org>\r
27 To: notmuch@notmuchmail.org\r
28 Subject: [PATCH] VIM: Automatically refresh folder screen\r
29 Date: Wed,  1 Oct 2014 09:36:07 -0700\r
30 Message-Id: <1412181367-10906-1-git-send-email-imain@stemwinder.org>\r
31 X-Mailer: git-send-email 1.9.3\r
32 X-BeenThere: notmuch@notmuchmail.org\r
33 X-Mailman-Version: 2.1.13\r
34 Precedence: list\r
35 List-Id: "Use and development of the notmuch mail system."\r
36         <notmuch.notmuchmail.org>\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
40 List-Post: <mailto:notmuch@notmuchmail.org>\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
44 X-List-Received-Date: Wed, 01 Oct 2014 16:36:20 -0000\r
45 \r
46 This patch makes the folder screen refresh each time you 'enter' it.\r
47 This way when you read a folder and mark items as read the changes are\r
48 reflected immediately when you return to the folder view.\r
49 \r
50     Ian\r
51 ---\r
52  vim/notmuch.vim | 3 +++\r
53  1 file changed, 3 insertions(+)\r
54 \r
55 diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
56 index 331e930..eb17d57 100644\r
57 --- a/vim/notmuch.vim\r
58 +++ b/vim/notmuch.vim\r
59 @@ -383,6 +383,9 @@ function! s:folders()\r
60         ruby folders_render()\r
61         call s:set_menu_buffer()\r
62         call s:set_map(g:notmuch_folders_maps)\r
63 +       autocmd BufEnter,WinEnter,BufWinEnter <buffer>\r
64 +                   \ call s:folders_refresh()\r
65 +       augroup END\r
66  endfunction\r
67  \r
68  "" root\r
69 -- \r
70 1.9.3\r
71 \r