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#13977: 24.3.50; buffer-file-coding-system not set correctly Date: Sat, 16 Mar 2013 18:52:49 +0200 Message-ID: <83li9n2sny.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363452824 16512 80.91.229.3 (16 Mar 2013 16:53:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Mar 2013 16:53:44 +0000 (UTC) Cc: 13977@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 16 17:54:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGuMy-0004ca-Hp for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Mar 2013 17:54:08 +0100 Original-Received: from localhost ([::1]:57124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGuMb-0005FJ-K0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Mar 2013 12:53:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGuMW-0005F7-UA for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 12:53:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGuMV-0000rJ-Rm for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 12:53:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGuMV-0000rD-Nc for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 12:53:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGuNq-0003HN-4s for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Mar 2013 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13977-submit@debbugs.gnu.org id=B13977.136345286112555 (code B ref 13977); Sat, 16 Mar 2013 16:55:02 +0000 Original-Received: (at 13977) by debbugs.gnu.org; 16 Mar 2013 16:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:58071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGuNB-0003GS-1L for submit@debbugs.gnu.org; Sat, 16 Mar 2013 12:54:21 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:42829) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGuN7-0003GB-IE for 13977@debbugs.gnu.org; Sat, 16 Mar 2013 12:54:18 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MJR00700ISG4500@a-mtaout23.012.net.il> for 13977@debbugs.gnu.org; Sat, 16 Mar 2013 18:52:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJR006OKIVZZM60@a-mtaout23.012.net.il>; Sat, 16 Mar 2013 18:52:47 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72598 Archived-At: > Date: Sat, 16 Mar 2013 14:49:17 +0000 > From: Richard Copley > > On Windows, visit a plain ASCII text file with LF line endings. The > value of `buffer-file-coding-system' is `iso-latin-1-dos' (should be > `iso-latin-1-unix'). Modify and save the file. The file now has CRLF > line endings. > This was introduced recently in the trunk. I can reproduce this on GNU/Linux, if I first evaluate this: (setq default-buffer-file-coding-system 'iso-latin-1-dos) So I guess some of the latest changes use the default EOL format in preference to the format of the file we are visiting.