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

Re: Line wrapping with mutt/emacs (was Re: Problems: mutt to Outlook (Express))



Thank you, Richard.  I don't know about the '+/^$' bit either - I cribbed my .muttrc from someone else, and dutifully copied that bit.

So I have followed your advice, andmade the changes.  I had not set up xemacs, and of course it has done its own thing, so we shall see the results now.  I am deliberately running my lines long to see if it works.

Cam

  
* Richard Cobbe (cobbe@airmail.net) wrote:
> Lo, on Thursday, May 16, Cam Ellison did write:
> 
> > * Gary Hennigan (glhenni@sandia.gov) wrote:
> > <snip>
> > > 
> > > And, *please*, for the love of God and country, can you wrap your
> > > lines at 70 characters or so?!
> > > 
> > 
> > I would love to, but every attempt seems to go nowhere.  Not everyone
> > complains, but I see the litle red markers coming back indicating that
> > mutt is wrapping them for me.
> > 
> > So, here's another problem.  I have this in .muttrc:
> > 
> > set editor="emacs '+/^$' \"set textwidth=70\""
> > 
> > 
> > (Let's not have a flamewar about emacs vs vi, please.)  The
> > information I have to date is that this should work.  It obviously
> > doesn't.
> > 
> > What should I do differently?
> 
> I'm not entirely sure what the '+/^$' means---is this perhaps a Mutt
> thing?
> 
> The `set textwidth=70' is almost certainly incorrect.  In Emacs, the
> relevant variable is fill-column, which is 70 by default.  However, this
> only applies if you manually fill each paragraph (M-q) or turn on
> auto-fill-mode.  To do the latter, add the following to your ~/.emacs
> file:
> 
> (add-hook 'FOO-mode-hook 'turn-on-auto-fill)
> 
> where FOO is the major mode in which you edit your mail messages.  And,
> if you're using XEmacs,
> 
> (require 'filladapt)
> (add-hook 'FOO-mode-hook 'turn-on-filladapt-mode)
> 
> So, for instance, I've got
> 
> (require 'filladapt)
> (add-hook 'mail-mode-hook 'turn-on-auto-fill)
> (add-hook 'mail-mode-hook 'turn-on-filladapt-mode)
> 
> You shouldn't need to do this, but while we're at it, to change a
> variable's contents, use something like the following:
> 
> (setq fill-column 72)
> 
> HTH,
> 
> Richard
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
-- 
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
camellison@dccnet.com
cam@fleuryassociates.com


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: