Hello,

In my .muttrc, I've put a line in the way to set my editor:
set editor="vi -c 'set wrap' -c 'set textwidth=0' -c 'set linebreak'"

It works fine. But in some mailing-lists, one asked me to limit the length of my 
messages at 72 characters, because his mail reader didn't wrap correctly too long 
lines.

I've tried to put in my muttrc one of these lines :

send-hook '~t linux-bruxelles' set editor="vi +set textwidth=72"
send-hook '~t linux-bruxelles' set editor="vi '+set textwidth=72'"
send-hook '~t linux-bruxelles' set editor='vi +set textwidth=72'
send-hook '~t linux-bruxelles' set editor='vi "+set textwidth=72"'
send-hook '~t linux-bruxelles' set editor='vi "+set textwidth=72"'

(this way of setting the option to vim avoids to use the
 form -c "set  textwidth=72") 

but in doing so, I always get the message '+set textwidth=72 unknown option'
so I don't understand how to do : I need a first sort of quote around the
option of vi (necessary to combine +set and his argument), a second around all
that comes after editor= , and then ? 

The solution ?

Many thanks.

-- 

 #=---------------------------------------------------=#
 "          ^^      Gauthier Vandemoortele             "
 |   (_____/°°-ç    [EMAIL PROTECTED]         |
 |   |     \_`-"                                       |
 |   )/@mmm||       Chée de Wavre, 135c                |
 |   \nn   \nn      B-1360 Belgique                    |
 |                                                     |
 " FOE-Belgium : http://www.ful.ac.be/hotes/amisterre  |
 #=---------------------------------------------------=#
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            
                                                            

Reply via email to