(tramp-handle-verify-visited-file-modtime): `visited-file-modtime' now
[emacs.git] / lisp / language / korean.el
blobd03424ff093403de3fb48e48ca18ac9c6a564b14
1 ;;; korean.el --- support for Korean -*- coding: iso-2022-7bit; no-byte-compile: t -*-
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
6 ;; Keywords: multilingual, Korean
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
25 ;;; Commentary:
27 ;; For Korean, the character set KSC5601 is supported.
29 ;;; Code:
31 (make-coding-system
32 'korean-iso-8bit 2 ?K
33 "ISO 2022 based EUC encoding for Korean KSC5601 (MIME:EUC-KR)."
34 '(ascii korean-ksc5601 nil nil
35 nil ascii-eol ascii-cntl)
36 '((safe-charsets ascii korean-ksc5601)
37 (mime-charset . euc-kr)))
39 (define-coding-system-alias 'euc-kr 'korean-iso-8bit)
40 (define-coding-system-alias 'euc-korea 'korean-iso-8bit)
41 (define-coding-system-alias 'cp949 'korean-iso-8bit)
43 (make-coding-system
44 'iso-2022-kr 2 ?k
45 "ISO 2022 based 7-bit encoding for Korean KSC5601 (MIME:ISO-2022-KR)."
46 '(ascii (nil korean-ksc5601) nil nil
47 nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil
48 designation-bol)
49 '((safe-charsets ascii korean-ksc5601)
50 (mime-charset . iso-2022-kr)))
52 (define-coding-system-alias 'korean-iso-7bit-lock 'iso-2022-kr)
54 (set-language-info-alist
55 "Korean" '((setup-function . setup-korean-environment-internal)
56 (exit-function . exit-korean-environment)
57 (tutorial . "TUTORIAL.ko")
58 (charset korean-ksc5601)
59 (coding-system iso-2022-kr korean-iso-8bit)
60 (input-method . "korean-hangul")
61 (features korea-util)
62 (coding-priority korean-iso-8bit iso-2022-kr)
63 (sample-text . "Hangul (\e$(CGQ1[\e(B) \e$(C>H3gGO<<?d\e(B, \e$(C>H3gGO=J4O1n\e(B")
64 (documentation . "\
65 The following key bindings are available while using Korean input methods:
66 Shift-SPC: toggle-korean-input-mthod
67 Control-F9: quail-hangul-switch-symbol-ksc
68 F9: quail-hangul-switch-hanja")
71 (provide 'korean)
73 ;;; arch-tag: ca7c7348-5ca3-4623-887a-7fd33d725d0e
74 ;;; korean.el ends here