[mew-int 2668] Re: format=flowed
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
Wed Jan 7 19:02:00 JST 2009
Hello,
> In some cases, turning off longlines-mode in mew-smtp-encode-message
> is too late. If my buffer looks like this:
>
> So longlines-mode needs to be turned off before mew gets to look at
> any headers, I think.
Does the following patch solve your problem?
--Kazu
Index: mew-draft.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-draft.el,v
retrieving revision 1.155
diff -c -r1.155 mew-draft.el
*** mew-draft.el 5 Jan 2009 01:56:00 -0000 1.155
--- mew-draft.el 7 Jan 2009 10:00:50 -0000
***************
*** 765,770 ****
--- 765,771 ----
(mew-draft-process-message 'send))))
(defun mew-draft-process-message (action &optional privacy signer)
+ (if (and (boundp 'longlines-mode) longlines-mode) (longlines-mode -1))
(run-hooks 'mew-make-message-hook)
(let* ((case (or (mew-tinfo-get-case) mew-case-default))
(old-case case)
Index: mew-encode.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-encode.el,v
retrieving revision 1.127
diff -c -r1.127 mew-encode.el
*** mew-encode.el 11 Dec 2008 08:44:58 -0000 1.127
--- mew-encode.el 7 Jan 2009 10:00:50 -0000
***************
*** 375,381 ****
(defun mew-smtp-encode-message (pnm case resentp fcc &optional privacy signer headerp)
(mew-set-buffer-multibyte t)
- (if (and (boundp 'longlines-mode) longlines-mode) (longlines-mode -1))
(if (buffer-modified-p) (save-buffer)) ;; to make backup
(widen)
(let (multip recipients msgid logtime)
--- 375,380 ----
***************
*** 465,471 ****
(defun mew-nntp2-encode-message (pnm case fcc &optional privacy signer headerp)
(mew-set-buffer-multibyte t)
- (if (and (boundp 'longlines-mode) longlines-mode) (longlines-mode -1))
(if (buffer-modified-p) (save-buffer)) ;; to make backup
(widen)
(let (multip newsgroups msgid logtime)
--- 464,469 ----
More information about the Mew-int
mailing list