From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: cannot read koi-8 e-mail: Invalid coding system Date: Tue, 8 Oct 2002 10:31:19 +0900 (JST) Sender: emacs-devel-admin@gnu.org Message-ID: <200210080131.KAA16187@etlken.m17n.org> References: <2nwuotoi2t.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1034040880 27236 127.0.0.1 (8 Oct 2002 01:34:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2002 01:34:40 +0000 (UTC) Cc: emacs-devel@gnu.org, sds@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yjGg-00075A-00 for ; Tue, 08 Oct 2002 03:34:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17yk41-0006zH-00 for ; Tue, 08 Oct 2002 04:25:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yjEE-0003Z4-00; Mon, 07 Oct 2002 21:32:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yjDv-0003L5-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 21:31:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yjDt-0003Kg-00 for emacs-devel@gnu.org; Mon, 07 Oct 2002 21:31:46 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yjDt-0003KL-00; Mon, 07 Oct 2002 21:31:45 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6/3.7W-20010518204228) with ESMTP id g981VKF25112; Tue, 8 Oct 2002 10:31:20 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.3/3.7W-20010823150639) with ESMTP id g981VJR09847; Tue, 8 Oct 2002 10:31:19 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA16187; Tue, 8 Oct 2002 10:31:19 +0900 (JST) Original-To: zsh@cs.rochester.edu In-reply-to: <2nwuotoi2t.fsf@zsh.cs.rochester.edu> (message from ShengHuo ZHU on Mon, 07 Oct 2002 21:06:02 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8458 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8458 In article <2nwuotoi2t.fsf@zsh.cs.rochester.edu>, ShengHuo ZHU writes: > Sam Steingold writes: >> GNU Emacs 21.3.50.9 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) >> of 2002-10-04 on loiso.podval.org >> >> Debugger entered--Lisp error: (error "Invalid coding system: koi8-r") >> mm-decode-coding-string("Hi!\n\n..." koi8-r) > Before I update Emacs today (it was a month old), this bug didn't > exist, so this bug must be related to some recent changes. The > following codes can reproduce the bug without involving Gnus. > (decode-coding-string "Hi!\n\n..." 'koi8-r) Yes, that's my fault. I forgot to define one translation-table. I've just installed the attached fix. --- Ken'ichi HANDA handa@m17n.org 2002-10-08 Kenichi Handa * international/ucs-tables.el (ucs-translation-table-for-decode): Define it as a translation-table. Index: ucs-tables.el =================================================================== RCS file: /cvs/emacs/lisp/international/ucs-tables.el,v retrieving revision 1.18 retrieving revision 1.19 diff -u -c -r1.18 -r1.19 cvs server: conflicting specifications of output style *** ucs-tables.el 30 Sep 2002 06:38:13 -0000 1.18 --- ucs-tables.el 8 Oct 2002 01:23:10 -0000 1.19 *************** *** 159,164 **** --- 159,166 ---- (defvar translation-table-for-input (make-translation-table)) + (define-translation-table 'ucs-translation-table-for-decode) + ;;; Set up the tables. ;; Most of these tables were derived from ones in Mule-UCS.