Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / b6 / 74b7de68120161b60a5b48a360ea80adb10ab8
1 Return-Path: <alpine.art.de@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 D5E14431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 18 Oct 2014 13:37:31 -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.799\r
10 X-Spam-Level: \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 dPVAMVNwigWi for <notmuch@notmuchmail.org>;\r
17         Sat, 18 Oct 2014 13:37:24 -0700 (PDT)\r
18 Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com\r
19         [209.85.212.182]) (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 63693431FB6\r
22         for <notmuch@notmuchmail.org>; Sat, 18 Oct 2014 13:37:24 -0700 (PDT)\r
23 Received: by mail-wi0-f182.google.com with SMTP id n3so3585091wiv.9\r
24         for <notmuch@notmuchmail.org>; Sat, 18 Oct 2014 13:37:23 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=date:from:to:message-id:in-reply-to:references:subject:mime-version\r
27         :content-type:content-transfer-encoding;\r
28         bh=JVW35spGYZneiGwh8CSMWgsZLJgAvv/veAJb3ybBOd0=;\r
29         b=TPwsKonaEWDvmeVuQLQi77aI6XA0uC4gIOyn9mO9p+D+M6va44nezrkzBgptrhSfJh\r
30         FkI/arqKTuG0zc+9ENBVad8PcYaBhJtK+By4ESZtavgZnZzqCSRJKM0ZE4XEkkUYQX+t\r
31         C0UYewOJheOypaIQwwxKmMGy9RVkht9NhFAj1s7Gkm/gUDJva/NsgltE31ze8ivUE+kP\r
32         fyLOe1cd76yMZkH04PY/C5T2YfEAHHgM8mjNaIXA3qRym2Yvuj0yMwHCzjcZyYYRyooc\r
33         wRXU1qS5bXls1oElnblK1zOw8qSbyCzgKy1/Gg6U+wwb0iURlyDCzxejp8SXnZHjhVTs\r
34         sU4Q==\r
35 X-Received: by 10.194.108.104 with SMTP id hj8mr20820148wjb.28.1413664643322; \r
36         Sat, 18 Oct 2014 13:37:23 -0700 (PDT)\r
37 Received: from localhost (p5B00C687.dip0.t-ipconnect.de. [91.0.198.135])\r
38         by mx.google.com with ESMTPSA id cu9sm6195044wjc.3.2014.10.18.13.37.22\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sat, 18 Oct 2014 13:37:22 -0700 (PDT)\r
42 Date: Sat, 18 Oct 2014 22:37:34 +0200\r
43 From: Franz Fellner <alpine.art.de@gmail.com>\r
44 To: Ian Main <imain@stemwinder.org>, Ian Main <imain@stemwinder.org>, \r
45         notmuch@notmuchmail.org\r
46 Message-ID: <5442cf8e357d4_255f136de94c@TP_L520.notmuch>\r
47 In-Reply-To: <1412183488-12707-1-git-send-email-imain@stemwinder.org>\r
48 References: <1412183488-12707-1-git-send-email-imain@stemwinder.org>\r
49 Subject: RE: [PATCH] VIM: Make starting in 'insert' mode for compose optional\r
50 Mime-Version: 1.0\r
51 Content-Type: text/plain;\r
52  charset=utf-8\r
53 Content-Transfer-Encoding: 7bit\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Sat, 18 Oct 2014 20:37:32 -0000\r
67 \r
68 Ian Main wrote:\r
69 > I found it unusual to be started in insert mode\r
70 Me too.\r
71 Patch LGTM. Works as expected - thx!\r
72 \r
73 Franz\r
74\r
75 >     Ian\r
76 > ---\r
77 >  vim/notmuch.vim | 13 +++++++++++--\r
78 >  1 file changed, 11 insertions(+), 2 deletions(-)\r
79\r
80 > diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
81 > index 331e930..252f16b 100644\r
82 > --- a/vim/notmuch.vim\r
83 > +++ b/vim/notmuch.vim\r
84 > @@ -59,6 +59,7 @@ let s:notmuch_datetime_format_default = '%d.%m.%y %H:%M:%S'\r
85 >  let s:notmuch_reader_default = 'mutt -f %s'\r
86 >  let s:notmuch_sendmail_default = 'sendmail'\r
87 >  let s:notmuch_folders_count_threads_default = 0\r
88 > +let s:notmuch_compose_start_insert_default = 1\r
89 >  \r
90 >  function! s:new_file_buffer(type, fname)\r
91 >       exec printf('edit %s', a:fname)\r
92 > @@ -132,7 +133,9 @@ function! s:show_reply()\r
93 >       let b:compose_done = 0\r
94 >       call s:set_map(g:notmuch_compose_maps)\r
95 >       autocmd BufDelete <buffer> call s:on_compose_delete()\r
96 > -     startinsert!\r
97 > +     if g:notmuch_compose_start_insert\r
98 > +             startinsert!\r
99 > +     end\r
100 >  endfunction\r
101 >  \r
102 >  function! s:compose()\r
103 > @@ -140,7 +143,9 @@ function! s:compose()\r
104 >       let b:compose_done = 0\r
105 >       call s:set_map(g:notmuch_compose_maps)\r
106 >       autocmd BufDelete <buffer> call s:on_compose_delete()\r
107 > -     startinsert!\r
108 > +     if g:notmuch_compose_start_insert\r
109 > +             startinsert!\r
110 > +     end\r
111 >  endfunction\r
112 >  \r
113 >  function! s:show_info()\r
114 > @@ -428,6 +433,10 @@ function! s:set_defaults()\r
115 >               endif\r
116 >       endif\r
117 >  \r
118 > +     if !exists('g:notmuch_compose_start_insert')\r
119 > +             let g:notmuch_compose_start_insert = s:notmuch_compose_start_insert_default\r
120 > +     endif\r
121 > +\r
122 >       if !exists('g:notmuch_custom_search_maps') && exists('g:notmuch_rb_custom_search_maps')\r
123 >               let g:notmuch_custom_search_maps = g:notmuch_rb_custom_search_maps\r
124 >       endif\r
125 > -- \r
126 > 1.9.3\r
127\r
128 > _______________________________________________\r
129 > notmuch mailing list\r
130 > notmuch@notmuchmail.org\r
131 > http://notmuchmail.org/mailman/listinfo/notmuch\r
132 \r
133 \r