From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#7626: 23.2.91; Rmail shows incorrect message encoding in the mode line Date: Tue, 18 Jan 2011 20:44:21 +0900 Message-ID: References: <83ei9miqef.fsf@gnu.org> <83tyhsq395.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295351699 12897 80.91.229.12 (18 Jan 2011 11:54:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2011 11:54:59 +0000 (UTC) Cc: 7626@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 18 12:54:55 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 1PfA9G-0004cx-JG for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 12:54:54 +0100 Original-Received: from localhost ([127.0.0.1]:40711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfA9E-00029c-J3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 06:54:52 -0500 Original-Received: from [140.186.70.92] (port=45967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfA8z-00027j-II for bug-gnu-emacs@gnu.org; Tue, 18 Jan 2011 06:54:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfA8x-0001gS-Ut for bug-gnu-emacs@gnu.org; Tue, 18 Jan 2011 06:54:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfA8x-0001gI-R5 for bug-gnu-emacs@gnu.org; Tue, 18 Jan 2011 06:54:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pf9ry-0003fj-Mk; Tue, 18 Jan 2011 06:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jan 2011 11:37: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.129535060214086 (code B ref 7626); Tue, 18 Jan 2011 11:37:02 +0000 Original-Received: (at 7626) by debbugs.gnu.org; 18 Jan 2011 11:36:42 +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 1Pf9rd-0003f9-MJ for submit@debbugs.gnu.org; Tue, 18 Jan 2011 06:36:41 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pf9rb-0003ev-52 for 7626@debbugs.gnu.org; Tue, 18 Jan 2011 06:36:40 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p0IBiMwN026525; Tue, 18 Jan 2011 20:44:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p0IBiMbS001043; Tue, 18 Jan 2011 20:44:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p0IBiLDi029676; Tue, 18 Jan 2011 20:44:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1Pf9z3-0003sm-MS; Tue, 18 Jan 2011 20:44:21 +0900 In-Reply-To: (message from Eli Zaretskii on Mon, 17 Jan 2011 07:24:12 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 18 Jan 2011 06:37: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:43423 Archived-At: In article , Eli Zaretskii writes: > That's a separate issue. I just don't like seeing a buffer whose file > was read with no-conversion show ":" as the EOL mnemonic. After the change of rmail to mbox-base, the buffer whose file was read with no-conversion is " *message-viewer RMAIL*", and the buffer "RMAIL" is what showing the decoding result of a part of " *message-viewer RMAIL*". Even if you see "-1:" or "-1(unix)" in the modeline, it doesn't mean the mbox file is read with iso-8859-1. So, I don't understand why you so much care EOL part even if you don't care that the text-encoding part is shown as "1" (meaning iso-8859-1) instead of "=" (meaning no-conversion). > It's not a > catastrophe, I just don't see why we should change this aspect of > Rmail which is how it behaved for several Emacs releases. I haven't realized that the change results in the actual difference on screen on Windows. On GNU/Linux, both *-unix and undecided are indicated by ":". Anyway, if Windows users are already familiar with seeing "(unix)" in the modeline of RMAIL buffer, don't want to change it, and want to make M-x write-region to write out a region of RMAIL buffer with Unix-style EOL as before, I'll change the current behavior. > > The reason I decided to leave EOL type undecided is for the > > case of M-x write-region on rmail buffer. In that case, I > > think, following system_eol_type is the right thing. > But we don't behave like that with buffers that visit files, do we? Of course no, because in that case, it's the right thing to follow the file's EOL format. But, when you open a new buffer, write a few lines of text, and save some region into a file, the EOL type of the saved file is CRLF on Windows. > Why is this use-case different? As I wrote above, RMAIL buffer's buffer-file-coding-system doesn't reflect how the corresponding mbox file is read. --- Kenichi Handa handa@m17n.org