[mew-int 2637] Re: Lost space with format=flowed; delsp=yes

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Fri Nov 14 16:46:24 JST 2008


Hello,

> In the message, immediately after the URL is a space encoded as
> =20. That is lost due to the flowed format, which is correct. The line
> after that one begins with two spaces. The first one is lost to space-
> stuffing, again correct, but the second one should have been retained.

Thank you for your bug report. Attached is a patch to fix this.  I had
litte time to think this problem in this week. So, the patch is just a
quick hack. I will take a time to think in the next week. But I you
will kindly test this patch, it would be appreciated.

> PS. Is there a way to generate flowed format messages in mew? And if
> not, are there plans for this functionality? I imagine one would edit
> such messages with auto-fill off and longlines-mode on.

This is the first time to hear such a request. If you strongly wish, 
I will put this on the to-do list.

--Kazu

Index: mew-decode.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-decode.el,v
retrieving revision 1.107
diff -c -r1.107 mew-decode.el
*** mew-decode.el	27 Oct 2008 06:08:09 -0000	1.107
--- mew-decode.el	14 Nov 2008 07:42:51 -0000
***************
*** 736,743 ****
  	    (delete-region (- softbreak adj) softbreak)
  	    (while (and (char-after) (char-equal (char-after) ?>))
  	      (delete-char 1))
! 	    (while (and (char-after) (char-equal (char-after) mew-sp))
! 	      (delete-char 1))))
  	(end-of-line)
  	(if (= (char-before) mew-sp)
  	    (setq softbreak (1+ (point)))
--- 736,743 ----
  	    (delete-region (- softbreak adj) softbreak)
  	    (while (and (char-after) (char-equal (char-after) ?>))
  	      (delete-char 1))
! 	    (if (and (char-after) (char-equal (char-after) mew-sp))
! 		(delete-char 1))))
  	(end-of-line)
  	(if (= (char-before) mew-sp)
  	    (setq softbreak (1+ (point)))



More information about the Mew-int mailing list