X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fmule%2Fjapanese.el;h=60fc8b9625f34cc7e8dfd5c44453bf31fcb812d5;hb=1ff41b5aa9a8da699c405a4458f827374fdbdc5b;hp=089836639a4c178e1f67ba1b092c4afd42561130;hpb=1e7fd761ecf5fd2208bde8e30fc6f7cbf789b7db;p=chise%2Fxemacs-chise.git diff --git a/lisp/mule/japanese.el b/lisp/mule/japanese.el index 0898366..60fc8b9 100644 --- a/lisp/mule/japanese.el +++ b/lisp/mule/japanese.el @@ -2,7 +2,7 @@ ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. ;; Licensed to the Free Software Foundation. -;; Copyright (C) 1997 MORIOKA Tomohiko +;; Copyright (C) 1997,1999,2002 MORIOKA Tomohiko ;; Keywords: multilingual, Japanese @@ -125,8 +125,11 @@ ;; (setq egg-default-startup-file "eggrc-wnn") (setq-default its:*current-map* (its:get-mode-map "roma-kana")))) -;; stuff for providing gramatic processing of Japanese text +;; stuff for providing grammatic processing of Japanese text ;; something like this should probably be created for all environments... +;; #### Arrgh. This stuff should defvar'd in either fill.el or kinsoku.el. +;; Then the language environment should set these things, probably buffer- +;; locally. (defvar aletter (concat "\\(" ascii-char "\\|" kanji-char "\\)")) (defvar kanji-space-insertable (concat @@ -137,6 +140,7 @@ ascii-alphanumeric kanji-kanji-char "\\|" kanji-kanji-char ascii-alphanumeric )) +;; #### will be moved to fill.el (defvar space-insertable (concat " " aletter "\\|" kanji-space-insertable) "Regexp for finding points that can have spaces inserted into them for justification") @@ -239,6 +243,17 @@ mnemonic "Ja/EUC" )) +(make-coding-system + 'euc-jisx0213 'iso2022 + "Coding-system of Japanese EUC based on JIS X 0213." + '(charset-g0 ascii + charset-g1 japanese-jisx0213-1 + charset-g2 katakana-jisx0201 + charset-g3 japanese-jisx0213-2 + short t + mnemonic "Ja/EUC0213" + )) + ;; (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) ;; (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) ;; (define-coding-system-alias 'euc-jp 'japanese-iso-8bit) @@ -258,7 +273,7 @@ shift_jis iso-2022-jp-2) ;; (input-method . "japanese") (features japan-util) - (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, )IºÝÆÁÊ")-A + (sample-text . "Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B") (documentation . t))) ;;; japanese.el ends here