[Linux-disciples] Setting the line width in mutt

Adam Rosi-Kessel adam at rosi-kessel.org
Wed Mar 16 09:38:39 EST 2005


Adam Rosi-Kessel wrote:
>>It appears that mutt doesn't set the width of lines when
>>composing messages -- it lets the editor do that. That's
>>normally a good idea, but sometimes I'd like to set the
>>width based on the recipient. E.g., I'd like to have text
>>run on indefinitely when the recipient is a cell phone. Any
>>idea how I might do this?
> Run all outbound messages through a filter (a la shorlfilter) that
> checks the to: and unwraps if the recipient is a cell number.

Another way to do it would be to change the prefix of the temp file mutt
creates with a send-hook when your message is to a cell number; then add
to your .vimrc a Au line that disables wordwrap if the filename matches
the prefix for cell messages.


More information about the Linux-disciples mailing list