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

Re: A stupid question - how to set line wrap in mutt?



Steve Gran <gashuffer09@home.com> writes:

> Well, the subject really says it all, doesn't it?  I've RTFM, and all I can
> find is how to set the display line wrap, but not the send line wrap.  I
> suppose it should be done through the editor?  (I use emacs.)  Sorry for
> such a silly question, but I've mostly been using Balsa up till now, and
> only recently discovered how well mutt handles mail sorting.  I would
> really like to move into it as my usual MUA, but I'd like to set the
> outgoing wrap first, especially as I see that it's generally not well
> received to not do so.
> Thanks in advance,
> Steve

I think the question is really how to set the wrap in the editor you call
from mutt to compose your mail. If it's Vim, then in the sad old days
when I used it I had this in .vimrc  (it isn't mine and can't remember
where I found it, but it works well.

augroup Messages " Mail & news
  autocmd!

  autocmd BufRead
  /tmp/mutt*[0-9],snd.*,.letter,.followup,.article,.article[0-9] set
  textwidth=65 formatoptions=2tcq comments=n:>,n::,n:#,n:%,n:\| digraph

  autocmd BufRead
  /tmp/mutt*[0-9],snd.*,.letter,.followup,.article,.article[0-9] :normal
  ,kqs

   " - Assume 80-column screen width (which is very common), and allow
   "   for our text to be quoted a couple of times without requiring
   "   reformatting to fit in 80-columns.
   " - Attempt to reformat quoted text in messages properly. Recognise
   "   the most common single character quote indicators `>', `:', `#', `%',
   "   `|'. The only other reasonably common quote indicator that this 
   "   doesn't deal with is the stupid ?Supercite? convention `JDOE>',
   "   which ought to be banned for waste of bandwith. 
   " - Enable backspace for digraphs
   " - Kill quoted signature

augroup END



hth


Glyn
-- 

               **************************************************
               *          Here we are then.......               *
               * http://members.tripod.co.uk/Christchurch2000uk *
               **************************************************



Reply to: