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: Emacs24 coding system problems Date: Mon, 26 Nov 2012 19:16:22 +0200 Message-ID: <83txscxp21.fsf@gnu.org> References: <20627.33570.796000.901596@gargle.gargle.HOWL> <20649.12724.125000.858979@gargle.gargle.HOWL> <83k3tizkl2.fsf@gnu.org> <20649.61758.750000.69012@gargle.gargle.HOWL> <20657.53134.989000.793074@gargle.gargle.HOWL> <874nkdrjhc.wl%%xmue@d1.dion.ne.jp> <20658.30817.183000.810770@gargle.gargle.HOWL> <831ufhz8pl.fsf@gnu.org> <20658.43946.898000.250218@gargle.gargle.HOWL> <83y5hpxc6y.fsf@gnu.org> <87zk24davy.wl%%xmue@d1.dion.ne.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353950237 16309 80.91.229.3 (26 Nov 2012 17:17:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 17:17:17 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, usr.vm.rocks@gmail.com, emacs-devel@gnu.org To: Kazuhiro Ito Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 18:17:28 2012 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 1Td2J3-000339-EJ for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2012 18:17:17 +0100 Original-Received: from localhost ([::1]:44667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Td2Is-0003Sk-Ei for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2012 12:17:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Td2Ij-0003SH-2t for emacs-devel@gnu.org; Mon, 26 Nov 2012 12:17:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Td2Ic-0007OR-VK for emacs-devel@gnu.org; Mon, 26 Nov 2012 12:16:57 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:45513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Td2Ic-0007Nq-NV for emacs-devel@gnu.org; Mon, 26 Nov 2012 12:16:50 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME300300UGS5700@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 26 Nov 2012 19:16:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME3002BDUMYQFA0@a-mtaout22.012.net.il>; Mon, 26 Nov 2012 19:16:10 +0200 (IST) In-reply-to: <87zk24davy.wl%%xmue@d1.dion.ne.jp> 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:155094 Archived-At: > Date: Mon, 26 Nov 2012 17:30:25 +0900 > From: Kazuhiro Ito > Cc: Uday Reddy , monnier@IRO.UMontreal.CA, > emacs-devel@gnu.org > > At Mon, 26 Nov 2012 05:41:57 +0200, > Eli Zaretskii wrote: > > > > > Date: Sun, 25 Nov 2012 23:37:14 +0000 > > > From: Uday Reddy > > > Cc: Uday Reddy , > > > kzhr@d1.dion.ne.jp, > > > monnier@IRO.UMontreal.CA, > > > emacs-devel@gnu.org > > > > > > Hmm. Eli, it looks like you haven't read Kazuhiro's bug report closely. > > > find-file-noselect is setting the variable. > > > > It does? Can you show me where? > > find-file-not-found-set-buffer-file-coding-system in lisp/dos-w32.el. > lisp/dos-w32.el adds find-file-not-found-set-buffer-file-coding-system > to find-file-not-found-functions. Thanks. I committed to the emacs-24 branch changes that should fix this. In particular, buffer-file-type should be buffer-local again. Please test (revision 110960). There are still places in the Lisp sources that set buffer-file-type, but with that variable buffer local, this should no longer affect the other buffers. I will remove the other references to this variable on the trunk, as doing that might destabilize Emacs, due to the complexities of the issues involved.