From 251929849bde6a7ccc18d8b08801a85080c2a4eb Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 10 Aug 1997 05:53:45 +0000 Subject: [PATCH] Make coding system iso-2022-jp instead of declaring it as an alias of iso-2022-7bit. --- lisp/language/japanese.el | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index db6209780a9..7285f8a55e9 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el @@ -29,8 +29,14 @@ ;;; Code: -(define-coding-system-alias 'iso-2022-jp 'iso-2022-7bit) -(define-coding-system-alias 'junet 'iso-2022-7bit) +(make-coding-system + 'iso-2022-jp 2 ?J + "ISO 2022 based 7bit encoding for Japanese (MIME:ISO-2022-JP)" + '((ascii japanese-jisx0208-1978 japanese-jisx0208 + latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil + short ascii-eol ascii-cntl seven)) + +(define-coding-system-alias 'junet 'iso-2022-jp) (make-coding-system 'japanese-shift-jis 1 ?S @@ -42,7 +48,8 @@ (make-coding-system 'japanese-iso-7bit-1978-irv 2 ?j "ISO 2022 based 7-bit encoding for Japanese JISX0208-1978 and JISX0201-Roman" - '((ascii t) nil nil nil + '((ascii japanese-jisx0208-1978 japanese-jisx0208 + latin-jisx0201 japanese-jisx0212 katakana-jisx0201 t) nil nil nil short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) (define-coding-system-alias 'iso-2022-jp-1978-irv 'japanese-iso-7bit-1978-irv) @@ -51,8 +58,9 @@ (make-coding-system 'japanese-iso-8bit 2 ?E "ISO 2022 based EUC encoding for Japanese (MIME:EUC-JP)" - '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 - short ascii-eol ascii-cntl nil nil single-shift)) + '((ascii latin-jisx0201) (japanese-jisx0208 japanese-jisx0208-1978) + katakana-jisx0201 japanese-jisx0212 + short ascii-eol ascii-cntl nil nil single-shift)) (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) -- 2.39.2