[mew-int 2904] Re: Wish for mew-use-format-flowed
Harald Hanche-Olsen <[email protected]> Mon, 23 Aug 2010 18:04:57 +0200 (CEST)
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Message-ID | <[email protected]> |
+ Christophe TROESTLER <[email protected]>: > 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