From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: utf-translate-cjk-mode question Date: Fri, 02 May 2003 09:22:01 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84vfwt3jae.fsf@lucy.is.informatik.uni-duisburg.de> References: <84adej4tmj.fsf@lucy.is.informatik.uni-duisburg.de> <200305010445.NAA14835@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051860268 20590 80.91.224.249 (2 May 2003 07:24:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 May 2003 07:24:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 02 09:24:26 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BUuA-0005Ly-00 for ; Fri, 02 May 2003 09:24:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19BUvb-0008AL-00 for ; Fri, 02 May 2003 09:25:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BUvE-0004w7-02 for emacs-devel@quimby.gnus.org; Fri, 02 May 2003 03:25:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BUuQ-0004e4-00 for emacs-devel@gnu.org; Fri, 02 May 2003 03:24:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BUuN-0004TD-00 for emacs-devel@gnu.org; Fri, 02 May 2003 03:24:40 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BUuM-0004Qf-00 for emacs-devel@gnu.org; Fri, 02 May 2003 03:24:38 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BUt8-0005Iq-00 for ; Fri, 02 May 2003 09:23:22 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BUt6-0005IY-00 for ; Fri, 02 May 2003 09:23:20 +0200 Original-Lines: 42 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:jgSEMnqtsdVR0J3A3rHNmfw0sYA= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13614 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13614 Kenichi Handa writes: > In article <84adej4tmj.fsf@lucy.is.informatik.uni-duisburg.de>, kai.grossjohann@gmx.net (Kai Großjohann) writes: > >> Emacs tells me that it can't encode the Chinese characters, and it >> tried iso-latin-1 and utf-8 as encodings, and now it's suggesting >> gb2312 as the encoding to use. > >> Is utf-translate-cjk-mode supposed to enable me to store the file as >> utf-8? > > Yes, and this bug is my fault. My previous change to > find-coding-systems-region-internal was incomplete. I've > just installed a fix. Please try again with the latest > HEAD. I waited a bit until head would compile again. This morning, it did, and I tested, and it works! Thanks a lot. >> The second question contains the code itself. I tried to just copy >> and paste it from the original defcustom. But maybe I did something >> wrong. After loading all the subst-foo files, there is a let >> statement that binds the symbol `table'. But after this, nothing is >> done with that symbol -- it does not appear to be accessed after >> being populated. I also looked in version 1.27 (the last version >> before my change), and there, too, the symbol `table' does not appear >> to be accessed. > > This is also my fault. When I made register-char-codings > obsolete, I forgot to delete this unnecessary code. Ah, it's gone now. And it works to turn utf-translate-cjk-mode on, and it also works to turn it off. That's good. I'm sorry to cause you so much work; I wish I grokked the Mule code better to fix it myself. -- file-error; Data: (Opening input file no such file or directory ~/.signature)