Subject: bug#7626: 23.2.91; Rmail shows incorrect message encoding in the mode line

From: Kenichi Handa <[email-masked]>
Date: Fri, 14 Jan 2011 13:28:10 +0900

In article <[email-masked]>, Eli Zaretskii <[email-masked]> writes:

>  . If the message has an explicit specification of its charset, the
>    EOL type of the RMAIL buffer is left unspecified (displayed as `:'
>    in the mode line).  By contrast, when there's no charset= spec, the
>    EOL type is correctly set to -unix.

I think the buffer-file-coding-system of rmail buffer should
leave the EOL type unspecified in any cases.  So I added
this code:

	  (set-buffer-file-coding-system
	   (coding-system-base rmail-mime-coding-system) t t))

---
Kenichi Handa
[email-masked]