18673
|
1 ;;; quail/symbol-ksc.el --- Quail-package for Korean Symbol (KSC5601)
|
|
2
|
|
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
|
|
4 ;; Licensed to the Free Software Foundation.
|
|
5
|
|
6 ;; Keywords: multilingual, input method, Korean, Hangul
|
|
7
|
|
8 ;; This file is part of GNU Emacs.
|
|
9
|
|
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.
|
|
14
|
|
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.
|
|
19
|
|
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.
|
|
24
|
|
25 ;;; 94.10.24 Written for Mule Ver.2.0 (koaunghi.un@zdv.uni-tuebingen.de)
|
|
26 ;;; 94.11.04 Updated for Mule Ver.2.1 (koaunghi.un@zdv.uni-tuebingen.de)
|
|
27 ;;; 96.09.23 Updated for emacs-19.33-beta (koaunghi.un@zdv.uni-tuebingen.de)
|
|
28
|
|
29
|
|
30 ;;; Code:
|
|
31
|
|
32 (require 'quail)
|
|
33
|
|
34 (defun quail-hangul-switch-back (key idx)
|
19414
|
35 (if (not input-method-history)
|
18673
|
36 (toggle-input-method t)
|
|
37 (quail-delete-region)
|
19414
|
38 (activate-input-method (car input-method-history)))
|
18673
|
39 (throw 'quail-tag nil))
|
|
40
|
|
41 (quail-define-package
|
|
42 "korean-symbol" "Korean" "$(CGQ1[=I9z@T7BG%(B" t
|
|
43 "$(CGQ1[=I9z@T7BG%(B:
|
|
44 $(C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
55 $(C!<(Bogana$(C!=(?!-(L!<(Bpgana$(C!=)?!-)L!<(Bonum$(C!=(g!-(u!<(Bpnum$(C!=)g!-)u(B
|
|
56 $(C!<@Z<R!=(B2$(C9z=D(B + $(C$U(B(S) $(C$o(B(t_) $(C$p(B(DD) $(C$q(B(D) $(C$v(B(G) $(C$u(B(GG) $(C$}(B(uk)")
|
|
57
|
|
58 (quail-define-rules
|
|
59 ("\\" quail-hangul-switch-back)
|
|
60
|
|
61 ("(" "$(C!2!4!6!8!:!<(B")
|
|
62 (")" "$(C!3!5!7!9!;!=(B")
|
|
63 ("math" "$(C!>!?!@!A!B!C!D!E!P!Q!R!S!T!U!V!k!l!m!n!o!p!q!r!s!t!u!v!w!x!y!z!{!|!}!~"""#"$"1"2"3(B")
|
|
64 ("pic" "$(C!Y![!Z!\!]!^!_!`!a!b!c!d!e"7"8"9":";"<"=">"?"@"A"B"C"D"E"F"G"H"I"J"K"L"M"N"O"P"Q"4(B")
|
|
65 ("arrow" "$(C!f!g!h!i!j"U"V"W"X"Y(B")
|
|
66 ("music" "$(C"["Z"\"](B")
|
|
67 ("won" "$(C#\(B")
|
|
68 ("yen" "$(C!M(B")
|
|
69 ("pound" "$(C!L(B")
|
|
70 ("xtext" "$(C!W!X"R"."/(B")
|
|
71 ("dot" "$(C!$!%!&!'"0(B")
|
|
72 ("quote" "$(C!"!#!(!.!/!0!1!F!G!H"%")(B")
|
|
73 ("textline" "$(C!)!*!+!,!-(B")
|
|
74 ("Unit" "$(C!I!J!K"5(B")
|
|
75 ("sex" "$(C!N!O(B")
|
|
76 ("accent" "$(C"&"'"("*"+","-(B")
|
|
77 ("percent" "$(C"6(B")
|
|
78 ("dag" "$(C"S(B")
|
|
79 ("ddag" "$(C"T(B")
|
|
80 ("wn" "$(C"_(B")
|
|
81 ("ks" "$(C"^(B")
|
|
82 ("No" "$(C"`(B")
|
|
83 ("Co" "$(C"a(B")
|
|
84 ("TM" "$(C"b(B")
|
|
85 ("am" "$(C"c(B")
|
|
86 ("pm" "$(C"d(B")
|
|
87 ("Tel" "$(C"e(B")
|
|
88 ("easc" "$(C#"###$#%#&#'#(#)#*#+#,#-#.#/#:#;#<#=#>#?#@#[#]#^#_#`#{#|#}#~(B")
|
|
89 ("enum" "$(C#0#1#2#3#4#5#6#7#8#9(B")
|
|
90 ("Eng" "$(C#A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z(B")
|
|
91 ("eng" "$(C#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#z(B")
|
|
92 ("r" "$(C$!(B")
|
|
93 ("R" "$(C$"(B")
|
|
94 ("rt" "$(C$#(B")
|
|
95 ("s" "$(C$$(B")
|
|
96 ("sw" "$(C$%(B")
|
|
97 ("sg" "$(C$&(B")
|
|
98 ("e" "$(C$'(B")
|
|
99 ("E" "$(C$((B")
|
|
100 ("f" "$(C$)(B")
|
|
101 ("fr" "$(C$*(B")
|
|
102 ("fa" "$(C$+(B")
|
|
103 ("fq" "$(C$,(B")
|
|
104 ("ft" "$(C$-(B")
|
|
105 ("fx" "$(C$.(B")
|
|
106 ("fv" "$(C$/(B")
|
|
107 ("fg" "$(C$0(B")
|
|
108 ("a" "$(C$1(B")
|
|
109 ("q" "$(C$2(B")
|
|
110 ("Q" "$(C$3(B")
|
|
111 ("qt" "$(C$4(B")
|
|
112 ("t" "$(C$5(B")
|
|
113 ("T" "$(C$6(B")
|
|
114 ("d" "$(C$7(B")
|
|
115 ("w" "$(C$8(B")
|
|
116 ("W" "$(C$9(B")
|
|
117 ("c" "$(C$:(B")
|
|
118 ("z" "$(C$;(B")
|
|
119 ("x" "$(C$<(B")
|
|
120 ("v" "$(C$=(B")
|
|
121 ("g" "$(C$>(B")
|
|
122 ("k" "$(C$?(B")
|
|
123 ("o" "$(C$@(B")
|
|
124 ("i" "$(C$A(B")
|
|
125 ("I" "$(C$B(B")
|
|
126 ("j" "$(C$C(B")
|
|
127 ("p" "$(C$D(B")
|
|
128 ("u" "$(C$E(B")
|
|
129 ("P" "$(C$F(B")
|
|
130 ("h" "$(C$G(B")
|
|
131 ("hk" "$(C$H(B")
|
|
132 ("ho" "$(C$I(B")
|
|
133 ("hl" "$(C$J(B")
|
|
134 ("y" "$(C$K(B")
|
|
135 ("n" "$(C$L(B")
|
|
136 ("nh" "$(C$M(B")
|
|
137 ("np" "$(C$N(B")
|
|
138 ("nl" "$(C$O(B")
|
|
139 ("b" "$(C$P(B")
|
|
140 ("m" "$(C$Q(B")
|
|
141 ("ml" "$(C$R(B")
|
|
142 ("l" "$(C$S(B")
|
|
143 ("S" "$(C$U(B")
|
|
144 ("se" "$(C$V(B")
|
|
145 ("st" "$(C$W(B")
|
|
146 ("st_" "$(C$X(B")
|
|
147 ("frt" "$(C$Y(B")
|
|
148 ("fqt" "$(C$[(B")
|
|
149 ("fe" "$(C$Z(B")
|
|
150 ("ft_" "$(C$\(B")
|
|
151 ("fG" "$(C$](B")
|
|
152 ("aq" "$(C$^(B")
|
|
153 ("at" "$(C$_(B")
|
|
154 ("at_" "$(C$`(B")
|
|
155 ("aD" "$(C$a(B")
|
|
156 ("qr" "$(C$b(B")
|
|
157 ("qe" "$(C$c(B")
|
|
158 ("qtr" "$(C$d(B")
|
|
159 ("qte" "$(C$e(B")
|
|
160 ("qw" "$(C$f(B")
|
|
161 ("qx" "$(C$g(B")
|
|
162 ("qD" "$(C$h(B")
|
|
163 ("QD" "$(C$i(B")
|
|
164 ("tr" "$(C$j(B")
|
|
165 ("ts" "$(C$k(B")
|
|
166 ("te" "$(C$l(B")
|
|
167 ("tq" "$(C$m(B")
|
|
168 ("tw" "$(C$n(B")
|
|
169 ("t_" "$(C$o(B")
|
|
170 ("DD" "$(C$p(B")
|
|
171 ("D" "$(C$q(B")
|
|
172 ("Dw" "$(C$r(B")
|
|
173 ("Dt_" "$(C$s(B")
|
|
174 ("vD" "$(C$t(B")
|
|
175 ("GG" "$(C$u(B")
|
|
176 ("G" "$(C$v(B")
|
|
177 ("yi" "$(C$w(B")
|
|
178 ("yO" "$(C$x(B")
|
|
179 ("yl" "$(C$y(B")
|
|
180 ("bu" "$(C$z(B")
|
|
181 ("bP" "$(C${(B")
|
|
182 ("bl" "$(C$|(B")
|
|
183 ("uk" "$(C$}(B")
|
|
184 ("ukl" "$(C$~(B")
|
|
185 ("Rom" "$(C%0%1%2%3%4%5%6%7%8%9(B")
|
|
186 ("rom" "$(C%!%"%#%$%%%&%'%(%)%*(B")
|
|
187 ("Greek" "$(C%A%B%C%D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X(B")
|
|
188 ("greek" "$(C%a%b%c%d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x(B")
|
|
189 ("line" "$(C&"&#&$&%&&&'&(&)&*&+&,&-&.&/&0&1&2&3&4&5&6&7&8&9&:&;&<&=&>&?&@&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&Y&[&Z&\&]&^&_&`&a&b&c&d(B")
|
|
190 ("unit" "$(C'"'#'$'%'&'''(')'*'+','-'.'/'0'1'2'3'4'5'6'7'8'9':';'<'='>'?'@'A'B'C'D'E'F'G'H'I'J'K'L'M'N'O'P'Q'R'S'T'U'V'W'X'Y'['Z'\']'^'_'`'a'b'c'd'e'f'g'h'i'j'k'l'm'n'o(B")
|
|
191 ("Scan" "$(C("(#($(&((()(*(+(,(-(.(/(B")
|
|
192 ("ojaso" "$(C(1(2(3(4(5(6(7(8(9(:(;(<(=(>(B")
|
|
193 ("ogana" "$(C(?(@(A(B(C(D(E(F(G(H(I(J(K(L(B")
|
|
194 ("oeng" "$(C(M(N(O(P(Q(R(S(T(U(V(W(X(Y(Z([(\(](^(_(`(a(b(c(d(e(f(B")
|
|
195 ("onum" "$(C(g(h(i(j(k(l(m(n(o(p(q(r(s(t(u(B")
|
|
196 ("frac" "$(C(v(w(x(y(z({(|(}(~(B")
|
|
197 ("scan"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