From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chun-Chieh Huang Newsgroups: gmane.emacs.devel Subject: Re: Processing Chinese Big5 in Emacs Info reader Date: Sun, 18 Jan 2004 23:28:50 +0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1074446779 15954 80.91.224.253 (18 Jan 2004 17:26:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 17:26:19 +0000 (UTC) Cc: karl@freefriends.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jan 18 18:23:06 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiGdd-0008CX-00 for ; Sun, 18 Jan 2004 18:23:05 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiEwB-0005Pa-00 for ; Sun, 18 Jan 2004 16:34:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AiEvT-0000VW-NR for emacs-devel@quimby.gnus.org; Sun, 18 Jan 2004 10:33:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AiEvN-0000Te-HG for emacs-devel@gnu.org; Sun, 18 Jan 2004 10:33:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AiEur-0000L4-Pw for emacs-devel@gnu.org; Sun, 18 Jan 2004 10:33:16 -0500 Original-Received: from [140.113.144.250] (helo=cmbsd.cm.nctu.edu.tw) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AiEur-0000Kh-1q for emacs-devel@gnu.org; Sun, 18 Jan 2004 10:32:45 -0500 Original-Received: from albert-laptop.cm.nthu.edu.tw (cmbsd.cm.nctu.edu.tw [140.113.144.250]) by cmbsd.cm.nctu.edu.tw (8.12.6/8.12.10) with ESMTP id i0IFWHio036955; Sun, 18 Jan 2004 23:32:18 +0800 (CST) (envelope-from jjhuang@cm.nctu.edu.tw) Original-To: Eli Zaretskii Gcc: nnml+nthu-cs:sent-articles In-Reply-To: (Eli Zaretskii's message of "18 Jan 2004 08:52:26 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by cmbsd.cm.nctu.edu.tw id i0IFWHio036955 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19229 Eli Zaretskii writes: > Thanks. > > However, I wonder why did this work for you at all, and why the > original code didn't. > > Are your Info files kept compressed on the disk, and if so, in what > format? The part of code that you changed is only run for compressed > Info files and doesn't change a bit the case of uncompressed Info > files. [stuff deleted] > So I'm confused how could this change solve your problem, and even > what is the problem (i.e. what happens if you use the original > info.el). Could you please elaborate to show me what I'm missing? After you said that, I'm confused too. My Info file is not compressed. I put a test info file on my web page, which is http://cmbsd.cm.nctu.edu.tw/~jjhuang/files/test.info I used GNU Emacs for many years, but to Emacs Lisp programming, I'm only a rookie. When I read Big5 Info file for testing purpose, I saw undecoded 8bit sequences on my screen. Logically, I guess that's because wrong coding system in info buffer. So I search info.el for any coding-system settings, I found only one, i.e. coding-system-for-write, and I changed it, then it works. The story is that simple, I didn't trace any code. :-) --=20 Chun-Chieh Huang, aka Albert E-mail: jjhuang AT cm.nctu.edu.tw =B6=C0=ABT=B3=C7 =20 Department of Computer Science =20 National Tsing Hua University MIME/ASCII/PDF/PostScript are welcome! HsinChu, Taiwan NO MS WORD DOC FILE, PLEASE!