From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7626: 23.2.91; Rmail shows incorrect message encoding in the mode line Date: Sat, 01 Jan 2011 13:20:38 +0200 Message-ID: <83tyhsq395.fsf@gnu.org> References: <83ei9miqef.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1293881027 3062 80.91.229.12 (1 Jan 2011 11:23:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 11:23:47 +0000 (UTC) Cc: 7626@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 12:23:43 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PYzYk-0003a6-UF for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 12:23:43 +0100 Original-Received: from localhost ([127.0.0.1]:56725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYzYk-0002Ft-9T for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 06:23:42 -0500 Original-Received: from [140.186.70.92] (port=47962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYzYe-0002Fa-4c for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2011 06:23:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYzYd-0005Re-5A for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2011 06:23:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYzYd-0005Ra-2E for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2011 06:23:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PYzNS-0001M3-FQ; Sat, 01 Jan 2011 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jan 2011 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7626-submit@debbugs.gnu.org id=B7626.12938802975175 (code B ref 7626); Sat, 01 Jan 2011 11:12:02 +0000 Original-Received: (at 7626) by debbugs.gnu.org; 1 Jan 2011 11:11:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYzN2-0001LL-PE for submit@debbugs.gnu.org; Sat, 01 Jan 2011 06:11:37 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYzMv-0001L6-KN for 7626@debbugs.gnu.org; Sat, 01 Jan 2011 06:11:30 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LEC00H00CH4UV00@a-mtaout22.012.net.il> for 7626@debbugs.gnu.org; Sat, 01 Jan 2011 13:18:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.219.104]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LEC00FIRCQSJKS0@a-mtaout22.012.net.il>; Sat, 01 Jan 2011 13:18:29 +0200 (IST) In-reply-to: <83ei9miqef.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 01 Jan 2011 06:12:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42972 Archived-At: The new Rmail/Rmail-MIME code (revision 100323 on the emacs-23 branch) solved most of the problems originally reported here, but it still has some issues. Here are the problems I see with the new code, based on less than an hour of testing: . 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. . Sometimes, the RMAIL buffer's encoding is set to windows-1252, which is not present anywhere in the message headers. The only source of non-ASCII characters in the 2 messages where I saw this problem was in the RFC 2047 encoded addresses, but those used 8859-1, as in "Jan =?iso-8859-1?Q?Dj=E4rv?=", not windows-1252. `describe-text-properties' indeed shows the charset of the decoded address as windows-1252, so the reason is probably somewhere in `rfc2047-decode-region'. Thanks.