MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.144.136.254
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/leim/quail/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/leim/quail/hangul.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:12:01 2024
;;; from file /builddir/build/BUILD/emacs-24.3/leim/quail/hangul.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\300\302!\207" [require quail hanja-util] 2)
(defconst hangul-djamo-table '((cho (1 . [1]) (7 . [7]) (18 . [18]) (21 . [21]) (24 . [24])) (jung (39 . [31 32 51]) (44 . [35 36 51]) (49 . [51])) (jong (1 . [1 21]) (4 . [24 30]) (9 . [1 17 18 21 28 29 30]) (18 . [18 21]) (21 . [21]))))
(defconst hangul2-keymap [17 48 26 23 7 9 30 39 33 35 31 51 49 44 32 36 18 1 4 21 37 29 24 28 43 27])
(defconst hangul3-keymap [2 183 24 15 14 8220 120 39 126 8221 43 44 41 46 74 119 30 22 18 78 83 68 73 85 79 52 110 44 62 46 33 10 7 63 27 12 5 11 69 48 55 49 50 51 34 45 56 57 29 16 6 13 54 3 28 20 53 26 40 58 60 61 59 42 23 79 71 86 72 66 84 96 109 115 93 116 122 113 118 121 21 67 4 70 99 74 9 1 101 17 37 92 47 8251])
(defconst hangul390-keymap [24 34 35 36 37 38 120 40 41 42 43 44 45 46 73 119 30 22 18 77 82 67 72 84 78 58 110 50 61 51 63 64 7 33 11 10 27 2 47 39 56 52 53 54 49 48 57 62 29 68 6 59 55 16 28 20 60 26 91 92 93 94 95 96 23 78 70 85 71 65 83 90 109 115 87 116 122 113 118 121 21 66 4 69 99 73 9 1 101 17 123 124 125 126])
#@68 Keymap for Hangul method.  It is used by all Hangul input methods.
(defvar hangul-im-keymap (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\306#\210)\207" [map make-sparse-keymap define-key "" hangul-delete-backward-char [f9] hangul-to-hanja-conversion [Hangul_Hanja]] 4) (#$ . 1608))
(defvar hangul-queue (make-vector 6 0))
(defalias 'notzerop #[(number) "\301!?\207" [number zerop] 2])
(put 'notzerop 'byte-optimizer 'byte-compile-inline-expand)
(defalias 'alphabetp #[(char) "\301Y\203\f\302X\206\303Y\205\304X\207" [char 65 90 97 122] 2])
(put 'alphabetp 'byte-optimizer 'byte-compile-inline-expand)
#@207 Convert CHO, JUNG, JONG to the precomposed `Hangul Syllables' character.
CHO, JUNG, JONG are relative indices in `Hangul Compatibility Jamo' of Unicode.
Return a zero-length string if the conversion fails.
(defalias 'hangul-character #[(cho jung jong) "\303\304\305U\204g	\305U\204g\306\307\211\310W\203\311\202:\312W\203%\313\202:\314W\203/\315\202:\316W\2039\317\202:\320Z\321_	\322Z\323_\n\211\324W\203M\305\202b\n\325W\203W\311\202b\n\326W\203a\313\202b\310Z$\202\205\327\305U\204r\202\204	\305U\204|	\202\204\n\305U?\205\204\n\\\"\206\212\330\207" [cho jung jong decode-char ucs 0 + 44032 3 1 5 2 10 4 20 11 12 588 31 28 8 19 25 12592 ""] 9 (#$ . 2247)])
#@135 Insert characters generated from QUEUES.
Each queue has the same form as `hangul-queue'.
Setup `quail-overlay' to the last character.
(defalias 'hangul-insert-character #[(&rest queues) "\203\213	\203\213\306 \307 |\210\310	\204\n\205\211\311=\203%	\242\311=\202&\203^\312 \203^\313 \203^\f\203A\314\315\f\"\210\310\202^\306 \307 U\204^\316\315!\204U\317\315!\204^\314\315\306 \307 {\"\210\n\204z	\320=\204t	\242\311=\203z	A\204z\310\211\202\211	\242\311=\203\204	A\310\321\322!)\210\323
!\203\231\323
!\324
!|\210!@\"\325\"\326H\327\330\"\326H\"\331H#\\\"\332H\327\333\"\332H\"\334H#\\\"\335H\327\336\"\335H\"\337H#\\#c\210)\340
\323
!`#\210!A\310#\211$\2053$@#\325#\326H\327\330#\326H#\331H#\\#\332H\327\333#\332H#\334H#\\#\335H\327\336#\335H#\337H#\\#c\210\340
\323
!T`#\210$A\211$\204\347\310*\207" [mark-active transient-mark-mode force select-active-regions saved-region-selection quail-overlay region-beginning region-end nil only region-active-p display-selections-p x-set-selection PRIMARY x-selection-owner-p x-selection-exists-p lambda run-hooks deactivate-mark-hook overlay-start overlay-end hangul-character 0 hangul-djamo cho 1 2 jung 3 4 jong 5 move-overlay queues first queue --dolist-tail--] 10 (#$ . 2945)])
#@210 Return the double Jamo index calculated from the arguments.
JAMO is a type of Hangul Jamo; `cho', `jung', or `jong'.
CHAR1 and CHAR2 are Hangul Jamo indices.
Return nil if CHAR1 and CHAR2 can not be combined.
(defalias 'hangul-djamo #[(jamo char1 char2) "\304	\"A\304\n\"A\211\203\nG\305\306\215\206\307)\202\307*\207" [jamo hangul-djamo-table char1 i assoc found (byte-code "\303V\205	\nSHU\203\304\305\"\210S\211\202\207" [i char2 char1 0 throw found] 4) 0] 4 (#$ . 4237)])
#@411 Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 2-Bulsik Jaum.
This function processes a Hangul 2-Bulsik Jaum.
The Hangul 2-Bulsik is composed of a Jaum and a Moum.
The Jaum can be located in a Choseong position and a Jongseong position.
Unless the function inserts CHAR to `hangul-queue',
commit current `hangul-queue' and then set a new `hangul-queue',
and insert CHAR to new `hangul-queue'.
(defalias 'hangul2-input-method-jaum #[(char) "\303\304H!\203\304	I\202\310\303\305H!\2035\303\306H!\2035\307\310\304H	#\303\n!)\2045\305	I\202\310\303\311H!\203\202\306H\303\n!)\204\202	\312U\204\202	\313U\204\202	\314U\204\202\315\304H\307\310\304H\305H#\\\306H\307\316\306H\317H#\\	#\247\203\202\311	I\202\310\303\320H!\203\317\307\321\311H	#\303\n!)\204\317\315\304H\307\310\304H\305H#\\\306H\307\316\306H\317H#\\\311H\307\321\311H	#\\#\247\203\317\320	I\203\317\322!\207\322\323	\304\211\211\211\211&\211\"\207" [hangul-queue char number zerop 0 1 2 hangul-djamo cho 4 8 19 25 hangul-character jung 3 5 jong hangul-insert-character vector] 9 (#$ . 4742)])
(put 'hangul2-input-method-jaum 'byte-optimizer 'byte-compile-inline-expand)
#@236 Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 2-Bulsik Moum.
This function processes a Hangul 2-Bulsik Moum.
The Moum can be located in a Jungseong position.
Other parts are the same as a `hangul2-input-method-jaum'.
(defalias 'hangul2-input-method-moum #[(char) "\304\305H!\203\305	I\2022\304\306H!\2039\304\307H!\2039\310\311\305H	#\304\n!)\2049\306	I\2039\312!\207\313\314\211	\314\211\211&\315H\304\n!)\204]\314\315HI\210\315\314I\210\202t\307H\304\n!)\204t\314\307HI\210\307\314I\210\312\211\")\207" [hangul-queue char number next-char zerop 2 3 4 hangul-djamo jung hangul-insert-character vector 0 5] 7 (#$ . 5948)])
(put 'hangul2-input-method-moum 'byte-optimizer 'byte-compile-inline-expand)
#@323 Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 3-Bulsik Choseong.
This function processes a Hangul 3-Bulsik Choseong.
The Hangul 3-Bulsik is composed of a Choseong, a Jungseong and a Jongseong.
The Choseong can be located in a Choseong position.
Other parts are the same as a `hangul2-input-method-jaum'.
(defalias 'hangul3-input-method-cho #[(char) "\303\304H!\203\303\305H!\203\304	I\202:\303\306H!\203A\303\307H!\203A\310\311\304H	#\303\n!)\204A\306	I\203A\312!\207\312\313	\304\211\211\211\211&\211\"\207" [hangul-queue char number zerop 0 4 1 2 hangul-djamo cho hangul-insert-character vector] 9 (#$ . 6706)])
(put 'hangul3-input-method-cho 'byte-optimizer 'byte-compile-inline-expand)
#@250 Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 3-Bulsik Jungseong.
This function processes a Hangul 3-Bulsik Jungseong.
The Jungseong can be located in a Jungseong position.
Other parts are the same as a `hangul3-input-method-cho'.
(defalias 'hangul3-input-method-jung #[(char) "\303\304H!\203\303\305H!\203\304	I\2022\303\306H!\2039\307\310\304H	#\303\n!)\2049\306	I\2039\311!\207\311\312\313\211	\313\211\211&\211\"\207" [hangul-queue char number zerop 2 4 3 hangul-djamo jung hangul-insert-character vector 0] 9 (#$ . 7442)])
(put 'hangul3-input-method-jung 'byte-optimizer 'byte-compile-inline-expand)
#@250 Store Hangul Jamo indice CHAR in `hangul-queue'.
It is a Hangul 3-Bulsik Jongseong.
This function processes a Hangul 3-Bulsik Jongseong.
The Jongseong can be located in a Jongseong position.
Other parts are the same as a `hangul3-input-method-cho'.
(defalias 'hangul3-input-method-jong #[(char) "\303\304H!\203F\305H\303	!)\204F\306H\303	!)\204F\307\305H\310\311\305H\312H#\\\306H\310\313\306H\314H#\\\n#\247\203F\304\nI\202\214\303\315H!\203\223\310\316\304H\n#\303	!)\204\223\307\305H\310\311\305H\312H#\\\306H\310\313\306H\314H#\\\304H\310\316\304H\n#\\#\247\203\223\315\nI\203\223\317!\207\303\320\321\322\323\"\"!\203\255\317\324\305\211\211\211\n\305&\211!\207\317\324\305\211\211\211\n\305&\211\"\207" [hangul-queue number char zerop 4 0 2 hangul-character hangul-djamo cho 1 jung 3 5 jong hangul-insert-character apply + append nil vector] 9 (#$ . 8091)])
(put 'hangul3-input-method-jong 'byte-optimizer 'byte-compile-inline-expand)
#@53 Delete the previous hangul character by Jaso units.
(defalias 'hangul-delete-backward-char #[nil "\303\211\304V\203\305	H!\203S\211\202	\304I\210)\306\307\310	\311\"\"\305\n!)\2040\312	!\207\313\314!\207" [i hangul-queue number 5 0 zerop apply + append nil hangul-insert-character delete-backward-char 1] 6 (#$ . 9079) nil])
#@152 Convert the previous hangul character to the corresponding hanja character.
When a Korean input method is off, convert the following hangul character.
(defalias 'hangul-to-hanja-conversion #[nil "\305\306\211\307!\203\310!\203\311h!\312\202!\311g!\313\205A	 \210c\210\314\315\305\"\307!\205A\310!\205A\316``#+\207" [hanja-character delete-func echo-keystrokes quail-overlay hangul-queue 0 nil overlayp overlay-start hangul-to-hanja-char #[nil "\300\301!\207" [delete-backward-char 1] 2] #[nil "\300\301!\207" [delete-char 1] 2] make-vector 6 move-overlay] 4 (#$ . 9424) nil])
(defalias 'hangul2-input-method-internal #[(key) "	\306\246SH	\307U\204	\310U\203\311\2029	\312U\2044	\313U\2044	\314U\2044	\315U\2044	\316U\2038\317\2029\320\\\211\321W\203&\n\322\320H!\203R\320\nI\202\322\317H!\203x\322\311H!\203x\323\324\320H\n#\322\f!)\204x\317\nI\202\322\325H!\203\305\311H\322\f!)\204\305\n\326U\204\305\n\327U\204\305\n\330U\204\305\331\320H\323\324\320H\317H#\\\311H\323\332\311H\333H#\\\n#\247\203\305\325\nI\202\322\334H!\203\323\335\325H\n#\322\f!)\204\331\320H\323\324\320H\317H#\\\311H\323\332\311H\333H#\\\325H\323\335\325H\n#\\#\247\203\334\nI\203\336!\202\"\336\337\n\320\211\211\211\211&\211\")\202\246\n\322\311H!\2037\311\nI\202Z\322\333H!\203c\322\325H!\203c\323\332\311H\n#\322\f!)\204c\333\nI\203c\336!\202\245\337\320\211\n\320\211\211&\334H\322\f!)\204\207
\320\334HI\210\334\320I\210\202\236\325H\322\f!)\204\236
\320\325HI\210\325\320I\210\336
\211\")))\207" [hangul2-keymap key char hangul-queue number next-char 32 79 80 2 69 81 82 84 87 1 0 31 zerop hangul-djamo cho 4 8 19 25 hangul-character jung 3 5 jong hangul-insert-character vector] 10])
#@24 2-Bulsik input method.
(defalias 'hangul2-input-method #[(key) "\204	\211\306Y\203\n\307X\206\n\310Y\205\n\311X)\204\"	C\207\312\313!\210\313\314\313\315\316\314\"\317	!\210\320\216\321\322\215,\207" [buffer-read-only key char help-char echo-keystrokes input-method-function 65 90 97 122 quail-setup-overlays nil 0 make-vector 6 hangul2-input-method-internal ((quail-delete-overlays)) exit-input-loop (byte-code "\306\307!\310	\"\307;\203AG\311U\203A\312H\211\203A\211\313Y\203-\f\314X\2066\f\315Y\2056\f\316X)\203A\317!\210\202W\320\n!\203N\321\n!\210\202W\322!\323\324\307\"\210+\202" [seq hangul-im-keymap cmd key char unread-command-events read-key-sequence nil lookup-key 1 0 65 90 97 122 hangul2-input-method-internal commandp call-interactively listify-key-sequence throw exit-input-loop] 4) hangul-queue] 4 (#$ . 11225)])
(defalias 'hangul3-input-method-internal #[(key) "	\306ZH\211\307V\203k\n\310W\203k\n\307Z\311\312H!\203-\311\313H!\203-\312\nI\202P\311\314H!\203Y\311\315H!\203Y\316\317\312H\n#\311\f!)\204Y\314\nI\203Y\320!\202g\320\321\n\312\211\211\211\211&\211\")\202\243\n\322V\203\310\n\323W\203\310\n\324Z\311\315H!\203\222\311\313H!\203\222\315\nI\202\255\311\325H!\203\266\316\326\315H\n#\311\f!)\204\266\325\nI\203\266\320!\202\304\320\321\312\211\n\312\211\211&\211\")\202\243\n\327W\203\223\n\311\313H!\203\312H\311\f!)\204\315H\311\f!)\204\330\312H\316\317\312H\314H#\\\315H\316\326\315H\325H#\\\n#\247\203\313\nI\202\\\311\331H!\203e\316\332\313H\n#\311\f!)\204e\330\312H\316\317\312H\314H#\\\315H\316\326\315H\325H#\\\313H\316\332\313H\n#\\#\247\203e\331\nI\203e\320!\202\217\311\333\334\335\336\"\"!\203\201\320\321\312\211\211\211\n\312&\211!\202\217\320\321\312\211\211\211\n\312&\211\")\202\243\337\340\312\"\341\342\n\"c\210\343
``#)\207" [hangul3-keymap key char hangul-queue number quail-overlay 33 92 123 zerop 0 4 1 2 hangul-djamo cho hangul-insert-character vector 65 87 35 3 jung 31 hangul-character 5 jong apply + append nil make-vector 6 decode-char ucs move-overlay] 10])
#@30 3-Bulsik final input method.
(defalias 'hangul3-input-method #[(key) "\204	\306W\204	\307Y\203	C\207\310\311!\210\311\312\311\313\314\312\"\315	!\210\316\216\317\320\215,\207" [buffer-read-only key help-char echo-keystrokes input-method-function hangul-queue 33 127 quail-setup-overlays nil 0 make-vector 6 hangul3-input-method-internal ((quail-delete-overlays)) exit-input-loop (byte-code "\305\306!\307	\"\306;\2032G\310U\2032\311H\211\2032\312Y\2032\313W\2032\314!\210\202H\315\n!\203?\316\n!\210\202H\317!\320\321\306\"\210+\202" [seq hangul-im-keymap cmd key unread-command-events read-key-sequence nil lookup-key 1 0 33 127 hangul3-input-method-internal commandp call-interactively listify-key-sequence throw exit-input-loop] 3)] 3 (#$ . 13386)])
(defalias 'hangul390-input-method-internal #[(key) "	\306ZH\211\307V\203\n\310W\204\n\311V\203\201\n\312W\203\201\n\211\313W\203)\307\202*\314Z\315\316H!\203C\315\317H!\203C\316\nI\202f\315\320H!\203o\315\321H!\203o\322\323\316H\n#\315\f!)\204o\320\nI\203o\324!\202}\324\325\n\316\211\211\211\211&\211\")\202\271\n\326V\203\336\n\307W\203\336\n\327Z\315\321H!\203\250\315\317H!\203\250\321\nI\202\303\315\330H!\203\314\322\331\321H\n#\315\f!)\204\314\330\nI\203\314\324!\202\332\324\325\316\211\n\316\211\211&\211\")\202\271\n\332W\203\251\n\315\317H!\203,\316H\315\f!)\204,\321H\315\f!)\204,\333\316H\322\323\316H\320H#\\\321H\322\331\321H\330H#\\\n#\247\203,\317\nI\202r\315\334H!\203{\322\335\317H\n#\315\f!)\204{\333\316H\322\323\316H\320H#\\\321H\322\331\321H\330H#\\\317H\322\335\317H\n#\\#\247\203{\334\nI\203{\324!\202\245\315\336\337\340\341\"\"!\203\227\324\325\316\211\211\211\n\316&\211!\202\245\324\325\316\211\211\211\n\316&\211\")\202\271\342\343\316\"\344\345\n\"c\210\346
``#)\207" [hangul390-keymap key char hangul-queue number quail-overlay 33 86 91 96 123 97 92 zerop 0 4 1 2 hangul-djamo cho hangul-insert-character vector 64 34 3 jung 31 hangul-character 5 jong apply + append nil make-vector 6 decode-char ucs move-overlay] 10])
#@28 3-Bulsik 390 input method.
(defalias 'hangul390-input-method #[(key) "\204	\306W\204	\307Y\203	C\207\310\311!\210\311\312\311\313\314\312\"\315	!\210\316\216\317\320\215,\207" [buffer-read-only key help-char echo-keystrokes input-method-function hangul-queue 33 127 quail-setup-overlays nil 0 make-vector 6 hangul390-input-method-internal ((quail-delete-overlays)) exit-input-loop (byte-code "\305\306!\307	\"\306;\2032G\310U\2032\311H\211\2032\312Y\2032\313W\2032\314!\210\202H\315\n!\203?\316\n!\210\202H\317!\320\321\306\"\210+\202" [seq hangul-im-keymap cmd key unread-command-events read-key-sequence nil lookup-key 1 0 33 127 hangul390-input-method-internal commandp call-interactively listify-key-sequence throw exit-input-loop] 3)] 3 (#$ . 15532)])
(defvar hangul-input-method-help-text nil)
(make-variable-buffer-local 'hangul-input-method-help-text)
#@144 Activate Hangul input method INPUT-METHOD.
FUNC is a function to handle input key.
HELP-TEXT is a text set in `hangul-input-method-help-text'.
(defalias 'hangul-input-method-activate #[(input-method func help-text &rest args) "\306\307\n\310 \210\311 \312 =\203\313\314\315\"\210\316\305!\210\f\211\207" [deactivate-current-input-method-function describe-current-input-method-function help-text hangul-input-method-help-text func input-method-function hangul-input-method-deactivate hangul-input-method-help quail-delete-overlays selected-window minibuffer-window add-hook minibuffer-exit-hook quail-exit-from-minibuffer make-local-variable] 3 (#$ . 16433)])
#@45 Deactivate the current Hangul input method.
(defalias 'hangul-input-method-deactivate #[nil "\301\216\302 \210\303 \210\304\211)\207" [describe-current-input-method-function ((byte-code "\300\301!\207" [kill-local-variable input-method-function] 2)) quail-hide-guidance quail-delete-overlays nil] 2 (#$ . 17104) nil])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias hangul-input-method-inactivate hangul-input-method-deactivate nil make-obsolete "24.3"] 4)
#@43 Describe the current Hangul input method.
(defalias 'hangul-input-method-help #[nil "r\306\307!q\210p\310 \210	\311\211\312\211\312\313 \210\314\315!\210+\211\316!\317!\210+\207" [default-directory #1=#:old-dir buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks get-buffer-create "*Help*" kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook princ internal-temp-output-buffer-show inhibit-read-only #2=#:buf standard-output hangul-input-method-help-text] 4 (#$ . 17586) nil])
(provide 'hangul)

MMCT - 2023