diff options
| author | Kenichi Handa | 1997-05-12 07:00:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-05-12 07:00:13 +0000 |
| commit | 710b5fab9f53139df529ca47565c882289494ee3 (patch) | |
| tree | 68feae8a5f45b92afdf7adead48583568ee9f504 | |
| parent | 3ce72daee18d626d0ba3309476f9536980c3f244 (diff) | |
| download | emacs-710b5fab9f53139df529ca47565c882289494ee3.tar.gz emacs-710b5fab9f53139df529ca47565c882289494ee3.zip | |
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Bug fixed in making coding system iso-2022-kr.
| -rw-r--r-- | lisp/language/korean.el | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lisp/language/korean.el b/lisp/language/korean.el index 2aec2cefc74..e096db9cb40 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el | |||
| @@ -41,11 +41,9 @@ | |||
| 41 | "MIME ISO-2022-KR" | 41 | "MIME ISO-2022-KR" |
| 42 | '(ascii (nil korean-ksc5601) nil nil | 42 | '(ascii (nil korean-ksc5601) nil nil |
| 43 | nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil | 43 | nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil |
| 44 | 'designation-bol)) | 44 | designation-bol)) |
| 45 | 45 | ||
| 46 | (register-input-method | 46 | (register-input-method |
| 47 | "Korean" '("hanterm" encoded-kbd-select-terminal euc-kr)) | ||
| 48 | (register-input-method | ||
| 49 | "Korean" '("quail-hangul" quail-use-package "quail/hangul")) | 47 | "Korean" '("quail-hangul" quail-use-package "quail/hangul")) |
| 50 | (register-input-method | 48 | (register-input-method |
| 51 | "Korean" '("quail-hangul3" quail-use-package "quail/hangul3")) | 49 | "Korean" '("quail-hangul3" quail-use-package "quail/hangul3")) |
| @@ -57,6 +55,9 @@ | |||
| 57 | "Korean" '("quail-hanja-jis" quail-use-package "quail/hanja-jis")) | 55 | "Korean" '("quail-hanja-jis" quail-use-package "quail/hanja-jis")) |
| 58 | 56 | ||
| 59 | (defun setup-korean-environment () | 57 | (defun setup-korean-environment () |
| 58 | "Setup multilingual environment (MULE) for Korean." | ||
| 59 | (interactive) | ||
| 60 | (setup-english-environment) | ||
| 60 | (setq coding-category-iso-8-2 'euc-kr) | 61 | (setq coding-category-iso-8-2 'euc-kr) |
| 61 | 62 | ||
| 62 | (set-coding-priority | 63 | (set-coding-priority |
| @@ -69,12 +70,18 @@ | |||
| 69 | (setq default-input-method '("Korean" . "quail-hangul")) | 70 | (setq default-input-method '("Korean" . "quail-hangul")) |
| 70 | ) | 71 | ) |
| 71 | 72 | ||
| 73 | (defun describe-korean-support () | ||
| 74 | "Describe How Emacs supports Korean." | ||
| 75 | (interactive) | ||
| 76 | (describe-language-support-internal "Korean")) | ||
| 77 | |||
| 72 | (set-language-info-alist | 78 | (set-language-info-alist |
| 73 | "Korean" '((setup-function . setup-korean-environment) | 79 | "Korean" '((setup-function . setup-korean-environment) |
| 80 | (describe-function . describe-korean-support) | ||
| 74 | (tutorial . "TUTORIAL.kr") | 81 | (tutorial . "TUTORIAL.kr") |
| 75 | (charset . (korean-ksc5601)) | 82 | (charset . (korean-ksc5601)) |
| 76 | (coding-system . (euc-kr iso-2022-kr)) | 83 | (coding-system . (euc-kr iso-2022-kr)) |
| 77 | (documentation . t) | 84 | (sample-text . "Hangul ($(CGQ1[(B) $(C>H3gGO<<?d(B, $(C>H3gGO=J4O1n(B") |
| 78 | (sample-text . "Hangul ($(CGQ1[(B) $(C>H3gGO<<?d(B, $(C>H3gGO=J4O1n(B"))) | 85 | (documentation . nil))) |
| 79 | 86 | ||
| 80 | ;;; korean.el ends here | 87 | ;;; korean.el ends here |