[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: news/mail client and the text borders



* Philipp ??berbacher <hollunder@lavabit.com> [2011-06-13 11:27:57 +0200]:

> Excerpts from Davide Baldini's message of 2011-06-13 04:28:18 +0200:
> > What software do you use for mail/news?
> > I see all your messages are proudly well formatted and perfectly fit in
> > pages of 80 columns, while I have to push return each line. If i forget, 
> > lines gets splitted in my window but then when i send it out i
> > see the big mistake...
> > 
> > is there any margins setting? I use icedove (thunderbird 3.0.11)
> 
> I use a CLI mailer (sup) and vim for text editing, so in my case it's
> vim that does the line wrapping. If memory serves vim is told that what
> it edits is a mail and behaves accordingly, but there certainly are
> manual settings for this stuff too.
 
I'm a mutt user and vim is my editor of choice, if that's the route you 
would like to go then the following will make your life somewhat easier.

chris@stewie.xaerolimit.net:~$ cat .vim/after/ftplugin/mail.vim
syntax on
setlocal wrap
setlocal textwidth=72
" do text=flowed wrapping
setlocal formatoptions+=wr
setlocal formatoptions-=l
" don't autoindent or smartindent, as that just adds weird spaces into 
the
" middle of flowed text paragraphs
setlocal noautoindent nosmartindent
setlocal nopaste
chris@stewie.xaerolimit.net:~$

This is what vim reads when I reply to and/or compose mail to some one. 
If you really want to jump into mutt, I would suggest subscribing to the 
mutt-users mailing list as well and I can share my mutt configuration 
(as can others) to help you along.



-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
>s  http://xkcd.com/84/ | http://xkcd.com/149/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------


Reply to: