From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r114533: Revert 114527 Date: Sat, 05 Oct 2013 22:38:36 +0300 Message-ID: <834n8v7bk3.fsf@gnu.org> References: <52505FDE.30106@yandex.ru> <8361tb7d8v.fsf@gnu.org> <52506594.9010408@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381001936 394 80.91.229.3 (5 Oct 2013 19:38:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2013 19:38:56 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 05 21:38:59 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VSXgp-00076f-1n for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2013 21:38:59 +0200 Original-Received: from localhost ([::1]:52840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSXgo-0003nQ-4N for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2013 15:38:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSXgh-0003nG-I9 for emacs-devel@gnu.org; Sat, 05 Oct 2013 15:38:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSXgc-0004ys-LR for emacs-devel@gnu.org; Sat, 05 Oct 2013 15:38:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:47579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSXgc-0004yn-E5 for emacs-devel@gnu.org; Sat, 05 Oct 2013 15:38:46 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MU700300NBBQZ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 05 Oct 2013 22:38:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MU7003J5NWKCIB0@a-mtaout22.012.net.il>; Sat, 05 Oct 2013 22:38:45 +0300 (IDT) In-reply-to: <52506594.9010408@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163893 Archived-At: > Date: Sat, 05 Oct 2013 22:16:36 +0300 > From: Dmitry Gutov > CC: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > If I kill the buffer, then open the file again, > buffer-file-coding-system is now utf-8-unix. If I make a modification > and save the buffer now, the first line is changed to the correct `# -*- > coding: utf-8 -*-'. "Changed"? You mean, there was an existing coding: cookie in the file before you typed the cyrillic characters? If so, what did that original coding cookie say? Also, do you see the same behavior with Emacs 24.3? I think it is OK to silently save the buffer with UTF-8, if that's your default, but the value of buffer-file-coding-system should in that case change to UTF-8.