2009年1月 7日

[mew-dist 28813] Re: [mew-int 2667] Re: format=flowed

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


投稿者 xml-rpc : 2009年1月 7日 19:02
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/80824
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。