Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 23 / 9a84dc42b4b3e0c7e880c4b8bbeb3540eba474
1 Return-Path: <imain@redhat.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 DB453431FCF\r
6         for <notmuch@notmuchmail.org>; Fri, 10 Oct 2014 11:22:09 -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 iwZTgOa6q-az for <notmuch@notmuchmail.org>;\r
16         Fri, 10 Oct 2014 11:22:01 -0700 (PDT)\r
17 Received: from cmta5.telus.net (cmta5.telus.net [209.171.16.78])\r
18         by olra.theworths.org (Postfix) with ESMTP id BB4FE431FCB\r
19         for <notmuch@notmuchmail.org>; Fri, 10 Oct 2014 11:22:01 -0700 (PDT)\r
20 Received: from ovo.mains.priv ([207.102.88.62]) by cmta5.telus.net with TELUS\r
21         id 1WN01p00A1LiWEf01WN08h; Fri, 10 Oct 2014 12:22:01 -0600\r
22 X-Authority-Analysis: v=2.0 cv=JvIvWrEC c=1 sm=2\r
23         a=EcQDfIwDZEqJA1f7rVUV8Q==:17 a=S-IsBHyFrF4A:10 a=IkcTkHD0fZMA:10\r
24         a=tsa3CZZnAAAA:8 a=7343-z1_AAAA:8 a=AqL7Eh603jEDRpnR9qwA:9\r
25         a=QEXdDO2ut3YA:10\r
26         a=P87eogJZi2UA:10 a=0c-eHkXYtrgA:10 a=EcQDfIwDZEqJA1f7rVUV8Q==:117\r
27 X-Telus-Outbound-IP: 207.102.88.62\r
28 Received: from ovo.mains.priv (localhost.localdomain [127.0.0.1])\r
29         by ovo.mains.priv (8.14.8/8.14.8) with ESMTP id s9AILwbi025236;\r
30         Fri, 10 Oct 2014 11:21:58 -0700\r
31 Received: (from imain@localhost)\r
32         by ovo.mains.priv (8.14.8/8.14.8/Submit) id s9AILvBL025235;\r
33         Fri, 10 Oct 2014 11:21:57 -0700\r
34 X-Authentication-Warning: ovo.mains.priv: imain set sender to imain@redhat.com\r
35         using -f\r
36 Date: Fri, 10 Oct 2014 11:21:57 -0700\r
37 From: Ian Main <imain@stemwinder.org>\r
38 To: Franz Fellner <alpine.art.de@gmail.com>\r
39 Message-ID: <543823c57b0e9_46ad163fe8863@ovo.mains.priv.notmuch>\r
40 In-Reply-To: <20141010112122.GB28601@TP_L520.localdomain>\r
41 References: <1412579537-7921-1-git-send-email-imain@stemwinder.org>\r
42         <1412618116-27586-1-git-send-email-imain@stemwinder.org>\r
43         <20141010112122.GB28601@TP_L520.localdomain>\r
44 Subject: Re: [PATCH] VIM: Improve moving between messages in a thread\r
45 Mime-Version: 1.0\r
46 Content-Type: text/plain;\r
47  charset=utf-8\r
48 Content-Transfer-Encoding: 7bit\r
49 Cc: notmuch@notmuchmail.org\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 10 Oct 2014 18:22:10 -0000\r
63 \r
64 Franz Fellner wrote:\r
65 > Patch works fine for me. It also would be nice to have a "move to next\r
66 > unread message" function.\r
67 > Most beautiful would be a treeview of the thread structure. Currently\r
68 > threads are rendered as plain list, so you can't immediately see and\r
69 > jump to the quoted mail. Bower IMHO uses the best approach here. I tried\r
70 > emacs treeview but did not really like it (partly because I failed badly\r
71 > to implement a solution that shows treeview by default). Indent the\r
72 > whole large Message view IMHO also is not a good (at least to me)\r
73 > solution.\r
74 \r
75 Yeah I agree.  This is a start anyway.  As I use the vim client more my\r
76 plan is to just keep fixing things that get in my way.\r
77 \r
78 Thanks for catching the vim_puts. :)\r
79 \r
80 Thanks for you're reviews!!\r
81 \r
82     Ian\r
83 \r
84 > On Mon,  6 Oct 2014 10:55:16 -0700, Ian Main <imain@stemwinder.org> wrote:\r
85 > > @@ -113,6 +114,22 @@ EOF\r
86 > >     call s:kill_this_buffer()\r
87 > >  endfunction\r
88 > >  \r
89 > > +function! s:show_prev_msg()\r
90 > > +ruby << EOF\r
91 > > +   r, c = $curwin.cursor\r
92 > > +   n = $curbuf.line_number\r
93 > > +   i = $messages.index { |m| n >= m.start && n <= m.end }\r
94 > > +   m = $messages[i - 1] if i > 0\r
95\r
96 > This one\r
97 > > +   vim_puts ("messages index is #{i} and m is #{m}")\r
98 > was missed ;)\r
99\r
100 > > +   if m\r
101 > > +           r = m.body_start + 1\r
102 > > +           scrolloff = VIM::evaluate("&scrolloff")\r
103 > > +           VIM::command("normal #{m.start + scrolloff}zt")\r
104 > > +           $curwin.cursor = r + scrolloff, c\r
105 > > +   end\r
106 > > +EOF\r
107 > > +endfunction\r
108 > > +\r
109 > >  function! s:show_next_msg()\r
110 > >  ruby << EOF\r
111 > >     r, c = $curwin.cursor\r
112 > > @@ -121,8 +138,9 @@ ruby << EOF\r
113 > >     m = $messages[i + 1]\r
114 > >     if m\r
115 > >             r = m.body_start + 1\r
116 > > -           VIM::command("normal #{m.start}zt")\r
117 > > -           $curwin.cursor = r, c\r
118 > > +           scrolloff = VIM::evaluate("&scrolloff")\r
119 > > +           VIM::command("normal #{m.start + scrolloff}zt")\r
120 > > +           $curwin.cursor = r + scrolloff, c\r
121 > >     end\r
122 > >  EOF\r
123 > >  endfunction\r
124 > > -- \r
125 > > 1.9.3\r
126 > > \r
127 > > _______________________________________________\r
128 > > notmuch mailing list\r
129 > > notmuch@notmuchmail.org\r
130 > > http://notmuchmail.org/mailman/listinfo/notmuch\r
131 > _______________________________________________\r
132 > notmuch mailing list\r
133 > notmuch@notmuchmail.org\r
134 > http://notmuchmail.org/mailman/listinfo/notmuch\r
135 \r
136 \r