emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot read koi-8 e-mail: Invalid coding system


From: Kenichi Handa
Subject: Re: cannot read koi-8 e-mail: Invalid coding system
Date: Tue, 8 Oct 2002 10:31:19 +0900 (JST)
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)

In article <address@hidden>, ShengHuo ZHU <address@hidden> writes:

> Sam Steingold <address@hidden> 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
address@hidden

2002-10-08  Kenichi Handa  <address@hidden>

        * 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]