;; 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
;; (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
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")
\f
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)
shift_jis iso-2022-jp-2)
;; (input-method . "japanese")
(features japan-util)
- (sample-text . "Japanese (\e$BF|K\8l\e(B) \e$B$3$s$K$A$O\e(B, \e)IºÝÆÁÊ")\e-A
+ (sample-text . "Japanese (\e$BF|K\8l\e(B) \e$B$3$s$K$A$O\e(B, \e(I:]FAJ\e(B")
(documentation . t)))
;;; japanese.el ends here