[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))



>>>>> On Thu, 16 May 2002, "cam" == Cam Ellison wrote:

  cam> set editor="emacs '+/^$' \"set textwidth=70\""

Nope. On my system this tells emacs to edit a file named (something like) 
"textwidth=70". Look at your list of buffers when you use this command string.

  cam> What should I do differently?

There's always more than one way to skin any unix cat; here's mine, based on 
the fact that the default fill-column in emacs is 70. Force emacs into text 
mode, and tell it to always use automatic fill in any text mode.  Do all this 
neat stuff by putting these lines in your ~/.emacs:

(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook
            '(lambda () (auto-fill-mode 1)))

Now, in .muttrc just say:

editor="emacs"

Works here....


-- 
Bob Bernstein
at                                               http://www.ruptured-duck.com
Esmond, Rhode Island
USA


  cam> Cam

  cam> -- Cam Ellison Ph.D. R.Psych.  From Roberts Creek on B.C.'s incomparable
  cam> Sunshine Coast camellison@dccnet.com cam@fleuryassociates.com

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







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



Reply to: