[mew-int 2904] Re: Wish for mew-use-format-flowed

Harald Hanche-Olsen hanche at example.com
Tue Aug 24 01:04:57 JST 2010


+ Christophe TROESTLER <Christophe.Troestler at example.com>:

> I use mew-use-format-flowed set to t — with (setq word-wrap t) on
> drafts buffers — and it works mainly fine.  However, I occasionally
> have to send mails with long lines that I do not want wrapped
> (typically, error messages).  Is there a way to disable
> mew-use-format-flowed for a single message?  A menu entry to perform
> this would be really great.

I have these lines in my ~/.mew.el:

(defun mew-draft-use-format-flowed (arg)
  (interactive "P")
  (make-local-variable 'mew-use-format-flowed)
  (setf mew-use-format-flowed
	(if (null arg)
	    (not (mew-use-format-flowed))
	  (> (prefix-numeric-value arg) 0)))
  (auto-fill-mode (if mew-use-format-flowed -1 1)))
(define-key mew-draft-body-map "\C-cl" 'mew-draft-use-format-flowed)

So C-c l toggles mew-draft-body-map and ses auto-fill accordingly.

- Harald


More information about the Mew-int mailing list