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: Sun, 25 Nov 2012 23:10:05 +0200 Message-ID: <8338zxz8wi.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> <20657.63114.521000.806863@gargle.gargle.HOWL> <83d2z1zmyz.fsf@gnu.org> <20658.33101.528000.856021@gargle.gargle.HOWL> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353877815 19718 80.91.229.3 (25 Nov 2012 21:10:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2012 21:10:15 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Uday Reddy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 25 22:10:27 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 1TcjT6-0006pW-G6 for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2012 22:10:24 +0100 Original-Received: from localhost ([::1]:52875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcjSv-0005VA-1H for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2012 16:10:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcjSs-0005V5-FX for emacs-devel@gnu.org; Sun, 25 Nov 2012 16:10:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcjSr-00088q-8n for emacs-devel@gnu.org; Sun, 25 Nov 2012 16:10:10 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:50854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcjSr-00088M-0O for emacs-devel@gnu.org; Sun, 25 Nov 2012 16:10:09 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0ME200C00AEH6C00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 25 Nov 2012 23:09:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME200B7XASJPVC0@a-mtaout20.012.net.il>; Sun, 25 Nov 2012 23:09:56 +0200 (IST) In-reply-to: <20658.33101.528000.856021@gargle.gargle.HOWL> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:155084 Archived-At: > Date: Sun, 25 Nov 2012 20:36:29 +0000 > From: Uday Reddy > Cc: Uday Reddy , > monnier@IRO.UMontreal.CA, > emacs-devel@gnu.org > > Eli Zaretskii writes: > > > I'm confused: is this problem specific to MS-Windows? I don't think > > you ever mentioned Windows in this thread before; did I miss > > something? > > I didn't know it was specific to Windows either. Telling the OS on which problems happen is useful regardless. > It appears that Emacs24 is not treating `buffer-file-type' as buffer-local > variable, at least in some places inside its guts. The Bug Report #12989 > demonstrated that. Why do you (or is it VM?) use that variable at all? > If I set buffer-file-type to nil and try again: > > - find-buffer-file-type-coding-system returns (undecided . undecided). > enable-multibyte-characters is still nil. > > - By the time after-insert-file-set-coding gets called, > enable-multibyte-characters has already been set to t. All is well after > that. The default value of buffer-file-type is nil. How did it get set to something else?