Re: OT: not able to set textwidth to 65

2001-10-31 Thread Daniel Eisenbud
On Wed, Oct 31, 2001 at 09:16:46PM -0500, David T-G <[EMAIL PROTECTED]> wrote: > But that would put mutt before kmail, which isn't what he wanted :-) And it would also put irrelevant before mutt, which is why maybe it's time to take this off-list for anyone who still cares. -Daniel -- Daniel

Re: OT: not able to set textwidth to 65

2001-10-31 Thread David T-G
Denis -- ...and then Denis Perelyubskiy said... % * Dave Price <[EMAIL PROTECTED]> [31-Oct-01 03:44 -0800]: % [...] % >> > % >> > should be sorted in this set: % >> > % >> > pine % >> > netscape % >> > kmail % >> > mutt % [...] % >> rev filename | sort | rev % [...] % %

Re: OT: not able to set textwidth to 65

2001-10-31 Thread Denis Perelyubskiy
* Dave Price <[EMAIL PROTECTED]> [31-Oct-01 03:44 -0800]: [...] >> > pine >> > mutt >> > netscape >> > kmail >> > >> > should be sorted in this set: >> > >> > pine >> > netscape >> > kmail >> > mutt [...] >> rev filename | sort | rev [...] am i missing something

Re: OT: not able to set textwidth to 65

2001-10-31 Thread Dave Price
hehehe, thanks aloha, dave On Wed, Oct 31, 2001 at 12:38:15PM +1100, Doug Kearns wrote: > On Tue, Oct 30, 2001 at 07:42:30PM -0500, Matej Cepl wrote: > > On Wed, 31 Oct 2001, Doug Kearns wrote: > > > > > You could replace the awk invocation with +'/^$/+1' > > > > Thanks for the information. M

Re: OT: not able to set textwidth to 65

2001-10-31 Thread Matej Cepl
On Wed, 31 Oct 2001, Doug Kearns wrote: > You could replace the awk invocation with +'/^$/+1' Thanks for the information. May I ask you another question regarding awk, please? My wife is a linguist and she would for some of her research retrograde sort (i.e., sorting by words taken from the othe

Re: OT: not able to set textwidth to 65

2001-10-30 Thread Suresh Ramasubramanian
Doug Kearns [31/10/01 10:32 +1100]: > On Tue, Oct 30, 2001 at 12:39:24PM +0530, Suresh Ramasubramanian wrote: > > # Use mutt.editor as our editor > > set editor="vim +':set textwidth=65' +':set wrap' +\`awk '/^$/ {print i+2; exit} >{i++}' %s\` %s" > > You could replace the awk invocation with

Re: OT: not able to set textwidth to 65

2001-10-30 Thread Doug Kearns
On Tue, Oct 30, 2001 at 07:42:30PM -0500, Matej Cepl wrote: > On Wed, 31 Oct 2001, Doug Kearns wrote: > > > You could replace the awk invocation with +'/^$/+1' > > Thanks for the information. May I ask you another question regarding awk, > please? My wife is a linguist and she would for some of

Re: OT: not able to set textwidth to 65

2001-10-30 Thread Doug Kearns
On Tue, Oct 30, 2001 at 12:39:24PM +0530, Suresh Ramasubramanian wrote: > Matej Cepl [30/10/01 01:20 -0500]: > > Is anybody able to help me (sorry, for OT question, but I guess > > that there are many vim users on this list), please? > > Try this > > # Use mutt.editor as our editor > set editor

Re: OT: not able to set textwidth to 65

2001-10-30 Thread Matej Cepl
On Tue, Oct 30, 2001 at 09:59:50AM +0100, Morten Liebach wrote: > In VIM 6.0 use $VIM/ftplugin/mail.vim to make these settings, > and use "setlocal" instead of "set", e.g. (a mix of my own > stuff and your settings): Thanks. In meantime I found this solution, which at least seems to work. I have

Re: OT: not able to set textwidth to 65

2001-10-30 Thread Morten Liebach
On 30, Oct, 2001 at 01:20:42AM -0500, Matej Cepl wrote: > Hi, > > trying to set textwidth in my $EDITOR (i.e., vim 6.0) to 65, but > even though I have following in my ~/.vimrc, it is always > initially set to 78, when starting vim as a message editor (well, > when started as ANY editor for that

Re: OT: not able to set textwidth to 65

2001-10-29 Thread Suresh Ramasubramanian
Matej Cepl [30/10/01 01:20 -0500]: > Is anybody able to help me (sorry, for OT question, but I guess > that there are many vim users on this list), please? Try this # Use mutt.editor as our editor set editor="vim +':set textwidth=65' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"