view leim/quail/symbol-ksc.el @ 18700:cb17c9cd025b

(menu-bar-custom-menu): Add several more menu items. Rename some. Delete "Update this menu".
author Richard M. Stallman <rms@gnu.org>
date Wed, 09 Jul 1997 19:03:09 +0000
parents 751941736224
children a29c7e9a53c8
line wrap: on
line source

;;; quail/symbol-ksc.el --- Quail-package for Korean Symbol (KSC5601)

;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
;; Licensed to the Free Software Foundation.

;; Keywords: multilingual, input method, Korean, Hangul

;; This file is part of GNU Emacs.

;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; 94.10.24   Written for Mule Ver.2.0 (koaunghi.un@zdv.uni-tuebingen.de)
;;; 94.11.04   Updated for Mule Ver.2.1 (koaunghi.un@zdv.uni-tuebingen.de)
;;; 96.09.23   Updated for emacs-19.33-beta (koaunghi.un@zdv.uni-tuebingen.de)


;;; Code:

(require 'quail)

(defun quail-hangul-switch-back (key idx)
  (if (not previous-input-method)
      (toggle-input-method t)
    (quail-delete-region)
    (select-input-method previous-input-method))
  (throw 'quail-tag nil))

(quail-define-package
 "korean-symbol" "Korean" "$(CGQ1[=I9z@T7BG%(B" t
 "$(CGQ1[=I9z@T7BG%(B:
  $(C!<(B($(C!=0}H#?-1b!<(Barrow$(C!=H-;l!<(Bsex$(C!=!N!O!<(Bindex$(C!=C7@Z(B  $(C!<(Baccent$(C!=>G<>F.(B
  $(C!<(B)$(C!=0}H#4]1b!<(Bmusic$(C!=@=>G!<(Bdot$(C!=A!(B  $(C!<(Bquote$(C!=5{?HG%!<(Bxtext$(C!=!W!X"R"."/(B
  $(C!<(BUnit$(C!=!I!J!K"5!<(Bmath$(C!=<vGP1bH#!<(Bpic$(C!=;sG|9.@Z!<(Bline$(C!=<19.@Z(B
  $(C!<(Bunit$(C!=4\@'(B    $(C!<(Bfrac$(C!=:P<v(B    $(C!<(Btextline$(C!=!)!*!+!,!-(B
  $(C!<(Bwn$(C!="_!<(Bks$(C!="^!<(BNo$(C!="`!<"a!="a(B $(C!<(Bdag$(C!="S(B $(C!<(Bddag$(C!="T!<(Bpercent$(C!="6(B
  $(C!<(Bam$(C!="c!<(Bpm$(C!="d!<"b!="b!<(BTel$(C!="e!<(Bwon$(C!=#\(B $(C!<(Byen$(C!=!M(B $(C!<(Bpound$(C!=!L(B
  $(C!<(BEng$(C!=#A#B#C!&(B $(C!<(Benum$(C!=#0#1#2!&(B $(C!<(BRuss$(C!=,",#,$!&!<(BGreek$(C!=%A%B%C!&(B
  $(C!<(Beng$(C!=#a#b#c!&(B $(C!<(Beasc$(C!=?5>n(BASCII$(C!<(Bruss$(C!=,Q,R,S!&!<(Bgreek$(C!=%a%b%c!&(B
  $(C!<(BRom$(C!=%0%1%2!&(B $(C!<(BScan$(C!=("(#($!&(B $(C!<(Bhira$(C!=*"*#*$(B
  $(C!<(Brom$(C!=%!%"%#!&(B $(C!<(Bscan$(C!=)")#)$!&(B $(C!<(Bkata$(C!=+"+#+$(B
  $(C!<(Bojaso$(C!=(1!-(>!<(Bpjaso$(C!=)1!-)>!<(Boeng$(C!=(M!-(f!<(Bpeng$(C!=)M!-)f(B
  $(C!<(Bogana$(C!=(?!-(L!<(Bpgana$(C!=)?!-)L!<(Bonum$(C!=(g!-(u!<(Bpnum$(C!=)g!-)u(B
  $(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)")

(quail-define-rules
 ("\\" quail-hangul-switch-back)

 ("("	"$(C!2!4!6!8!:!<(B")
 (")"	"$(C!3!5!7!9!;!=(B")
 ("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")
 ("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")
 ("arrow"	"$(C!f!g!h!i!j"U"V"W"X"Y(B")
 ("music"	"$(C"["Z"\"](B")
 ("won"	"$(C#\(B")
 ("yen"	"$(C!M(B")
 ("pound"	"$(C!L(B")
 ("xtext"	"$(C!W!X"R"."/(B")
 ("dot"	"$(C!$!%!&!'"0(B")
 ("quote"	"$(C!"!#!(!.!/!0!1!F!G!H"%")(B")
 ("textline"	"$(C!)!*!+!,!-(B")
 ("Unit"	"$(C!I!J!K"5(B")
 ("sex"	"$(C!N!O(B")
 ("accent"	"$(C"&"'"("*"+","-(B")
 ("percent"	"$(C"6(B")
 ("dag"	"$(C"S(B")
 ("ddag"	"$(C"T(B")
 ("wn"	"$(C"_(B")
 ("ks"	"$(C"^(B")
 ("No"	"$(C"`(B")
 ("Co"	"$(C"a(B")
 ("TM"	"$(C"b(B")
 ("am"	"$(C"c(B")
 ("pm"	"$(C"d(B")
 ("Tel"	"$(C"e(B")
 ("easc"	"$(C#"###$#%#&#'#(#)#*#+#,#-#.#/#:#;#<#=#>#?#@#[#]#^#_#`#{#|#}#~(B")
 ("enum"	"$(C#0#1#2#3#4#5#6#7#8#9(B")
 ("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")
 ("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")
 ("r"	"$(C$!(B")
 ("R"	"$(C$"(B")
 ("rt"	"$(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