Re: Mutt and vim enhancment

2000-10-15 Thread Conor Daly
On Sun, Oct 15, 2000 at 05:48:38AM +0100 or so it is rumoured hereabouts, David T-G thought: > Conor -- > > ...and then Conor Daly said... > % On Fri, Oct 13, 2000 at 09:00:05AM +0800 or thereabouts, Bevan Broun > wrote: > % > on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov > <[EMAIL PRO

Re: Mutt and vim enhancment

2000-10-14 Thread David T-G
Conor -- ...and then Conor Daly said... % On Fri, Oct 13, 2000 at 09:00:05AM +0800 or thereabouts, Bevan Broun wrote: % > on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov <[EMAIL PROTECTED]> wrote: % > > % > > Is it useful for someone besides me? :-) % > % > Im using it. I modified the

Re: Mutt and vim enhancment

2000-10-13 Thread Conor Daly
On Fri, Oct 13, 2000 at 09:00:05AM +0800 or thereabouts, Bevan Broun wrote: > on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov <[EMAIL PROTECTED]> wrote: > > > > Is it useful for someone besides me? :-) > > Im using it. I modified the first one to include the Subject but then > the 2nd on

Re: Mutt and vim enhancment

2000-10-12 Thread Bevan Broun
on Wed, Oct 11, 2000 at 12:39:46PM -0400, Peter Solodov <[EMAIL PROTECTED]> wrote: > > Is it useful for someone besides me? :-) Im using it. I modified the first one to include the Subject but then the 2nd one arrived and I started to modify again but decided to wait for the finished version. Th

Re: Mutt and vim enhancment

2000-10-12 Thread Peter Solodov
Again, there were some "bugs" in the function. Here's the final version. No more "set edit_headers" assumption, no quotation problems. function M_settitle() let i = 1 let line = getline(i) while (match(line, "To:") == -1 && line != "") let i = i + 1

Re: Mutt and vim enhancment

2000-10-12 Thread Conor Daly
On Tue, Oct 10, 2000 at 09:04:54PM -0400 or thereabouts, Peter Solodov wrote: > Hi. > > I've been using mutt and vim for about a year now and was missing something. > Namely I wanted to have xterm title to indicate a recipient of a message. > Finally I came up with a following function: > > func

Re: Mutt and vim enhancment

2000-10-11 Thread Peter Solodov
Hi. I've change a function a little. Now it takes only name of recipient (if it's there) and its address otherwise. If there are multiple recipients in To: field, it takes only first one (the title string can be too long). function M_settitle() let i = 1 let line = getline(i) while (

Mutt and vim enhancment

2000-10-10 Thread Peter Solodov
Hi. I've been using mutt and vim for about a year now and was missing something. Namely I wanted to have xterm title to indicate a recipient of a message. Finally I came up with a following function: function M_settitle() let line_num = 1 let line = getline(line_num) whil