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: Mon, 13 Dec 2010 00:21:12 +0200 Message-ID: <83ei9miqef.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1292192556 1237 80.91.229.12 (12 Dec 2010 22:22:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Dec 2010 22:22:36 +0000 (UTC) To: 7626@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 12 23:22:32 2010 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 1PRuJL-0008T2-06 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Dec 2010 23:22:31 +0100 Original-Received: from localhost ([127.0.0.1]:42588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRuJK-0005Dq-9s for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Dec 2010 17:22:30 -0500 Original-Received: from [140.186.70.92] (port=39358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRuJG-0005B5-MD for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:22:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRuJF-0005Zl-6p for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:22:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRuJF-0005Zf-5R for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:22:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PRuD4-0006Hd-6L; Sun, 12 Dec 2010 17:16: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: Sun, 12 Dec 2010 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129219211124088 (code B ref -1); Sun, 12 Dec 2010 22:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2010 22:15:11 +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 1PRuCA-0006GN-0p for submit@debbugs.gnu.org; Sun, 12 Dec 2010 17:15:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PRuC7-0006Fh-5G for submit@debbugs.gnu.org; Sun, 12 Dec 2010 17:15:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRuI3-0005RK-HT for submit@debbugs.gnu.org; Sun, 12 Dec 2010 17:21:12 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:56360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRuI3-0005RG-FC for submit@debbugs.gnu.org; Sun, 12 Dec 2010 17:21:11 -0500 Original-Received: from [140.186.70.92] (port=43467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRuI2-0004rq-ET for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:21:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRuI1-0005R4-6Z for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:21:10 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRuI1-0005Qv-03 for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2010 17:21:09 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LDC000005TW4J00@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2010 00:20:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.142.197]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LDC00MW562UAP90@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 13 Dec 2010 00:20:56 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 12 Dec 2010 17:16: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:42461 Archived-At: The new rmail-mime feature causes Rmail to set buffer-file-coding-system to an incorrect value. Expected result: buffer-file-coding-system is according to the charset= header, but in fact buffer-file-coding-system is almost always set to undecided. This is a regression from Emacs 23.2.90. Also, once the headers were decoded by rfc2047-decode-region, it would be good to set buffer-file-coding-system to last-coding-system-used, if the buffer's encoding is still undecided. In GNU Emacs 23.2.91.1 (i386-mingw-nt5.1.2600) of 2010-12-11 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: diff-auto-refine-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t Recent input: C-x b I N B M-x r e p o r t Recent messages: setting up indent stuff Indentation variables are now local. Indentation setup for shell type sh Setting up indent for shell type sh setting up indent stuff Indentation variables are now local. Indentation setup for shell type sh Note: file is write protected [3 times] Wrote d:/usr/eli/.emacs.desktop.lock Desktop: 234 buffers restored. Load-path shadows: None found. Features: (shadow mailalias sendmail emacsbug ld-script sh-script executable dired-x dired-aux dired tcl comint ring make-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode arc-mode archive-mode parse-time conf-mode newcomment jka-compr tar-mode add-log diff-mode texinfo generic vc-cvs cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt flyspell ispell org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb org byte-opt warnings bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs noutline outline easy-mmode vc-bzr info rmailsum rmailmm message ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mailabbrev nnheader gnus-util netrc gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums time-date qp mm-util mail-prsvr mail-utils desktop server filecache saveplace generic-x paren battery time tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)