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, 18 Nov 2012 23:07:21 +0200 Message-ID: <83k3tizkl2.fsf@gnu.org> References: <20627.33570.796000.901596@gargle.gargle.HOWL> <20649.12724.125000.858979@gargle.gargle.HOWL> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353273118 9431 80.91.229.3 (18 Nov 2012 21:11:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 21:11:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uday Reddy Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 22:12:09 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 1TaC9r-0004vs-SH for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 22:12:03 +0100 Original-Received: from localhost ([::1]:48340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaC9h-0008ND-Gz for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 16:11:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaC9c-0008Mu-OD for emacs-devel@gnu.org; Sun, 18 Nov 2012 16:11:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaC9Z-0008CC-Iq for emacs-devel@gnu.org; Sun, 18 Nov 2012 16:11:48 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaC9Z-0008BA-Ah for emacs-devel@gnu.org; Sun, 18 Nov 2012 16:11:45 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MDP00L00BV3OO00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 18 Nov 2012 23:07:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDP00LI0C0YKK40@a-mtaout20.012.net.il>; Sun, 18 Nov 2012 23:07:46 +0200 (IST) In-reply-to: <20649.12724.125000.858979@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:154931 Archived-At: > Date: Sun, 18 Nov 2012 19:06:28 +0000 > From: Uday Reddy > Cc: Uday Reddy > > Thanks for all the responses to this problem. Sorry, I only remember very vaguely what this was about. > > Or maybe the file in question has undecodeable byte sequences. Do you > > see "t" (which stands for 'raw-text') in the mode line, per chance? > > The files are normal unicode text. But, they appear as sequences of octets, > as if they were visited by find-file-literally. > > There is `t' in the modeline. `buffer-file-coding-system' is getting set to > `no-conversion', whereas normally it is `utf-8-unix'. 't' is not no-conversion, 't' is raw-text. I wonder what is going on there. Is there a file and a recipe from "emacs -Q" I could try to reproduce this? > I have made some progress on narrowing down the problem. It happens only if > VM is used along with emacs-w3m for displaying the HTML content. Without > emacs-w3m, everything works fine. If this is so complicated, then the only way to track this down is to set breakpoints on the C level where buffer is decoded (decode-coding-region, I guess), and see what happens there and why. > If you would like to take a look at what w3m does, here is a linke to the > main file: > > http://cvs.namazu.org/Development/emacs-w3m/w3m.el?view=log I doubt that this would be efficient, this stuff you are using probably needs a lot of setup. If you cannot find a simple recipe, then GDB is your friend.