219
|
1 ;;; skk-kakasi.el --- KAKASI $B4XO"%W%m%0%i%`(B
|
|
2 ;; Copyright (C) 1996 Mikio Nakajima <minakaji@osaka.email.ne.jp>
|
|
3
|
|
4 ;; Author: Mikio Nakajima <minakaji@osaka.email.ne.jp>
|
|
5 ;; Version: $Id: skk-kakasi.el,v 1.1 1997/12/02 08:48:37 steve Exp $
|
|
6 ;; Keywords: japanese
|
|
7 ;; Last Modified: $Date: 1997/12/02 08:48:37 $
|
|
8
|
|
9 ;; This program is free software; you can redistribute it and/or modify
|
|
10 ;; it under the terms of the GNU General Public License as published by
|
|
11 ;; the Free Software Foundation; either versions 2, or (at your option)
|
|
12 ;; any later version.
|
|
13
|
|
14 ;; This program is distributed in the hope that it will be useful
|
|
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 ;; GNU General Public License for more details.
|
|
18
|
|
19 ;; You should have received a copy of the GNU General Public License
|
|
20 ;; along with SKK, see the file COPYING. If not, write to the Free
|
|
21 ;; Software Foundation Inc., 59 Temple Place - Suite 330, Boston,
|
|
22 ;; MA 02111-1307, USA.
|
|
23
|
|
24 ;;; Commentary:
|
|
25
|
|
26 ;; skk-kakasi.el $B$O(B KAKASI $B$r(B SKK $B$NCf$+$i;H$&%$%s%?!<%U%'%$%9$G$9!#(BKAKASI $B$O!"(B
|
|
27 ;; $B9b66M5?.$5$s(B <takahasi@tiny.or.jp> $B$K$h$k!"!V4A;z$+$J$^$8$jJ8$r$R$i$,$JJ8$d(B
|
|
28 ;; $B%m!<%^;zJ8$KJQ49$9$k$3$H$rL\E*$H$7$F:n@.$7$?%W%m%0%i%`$H<-=q$NAm>N!W$G$9!#(B
|
|
29 ;; $B;d<+?H$,%K%e!<%9$d%a!<%k$rFI$s$G$$$F!"F|>oFI$_$,J,$i$J$/$FCQ$:$+$7$$;W$$$r(B
|
|
30 ;; $B$9$k$3$H$,B?$$$N$G!"5U0z$-$r$7$?$/$F:n$j$^$7$?!#(B
|
|
31 ;;
|
|
32 ;; $B!L$3$N$N%$%s%9%H!<%kJ}K!!M(B
|
|
33 ;; skk.el 9.4 $B$+$i$O@_DjITMW$K$J$kM=Dj$G$9$,!"$=$l0JA0$N%P!<%8%g%s$N(B skk.el
|
|
34 ;; $B$r$*;H$$$N>l9g$O!"2<5-$N%U%)!<%`$rI>2A$9$l$P(B OK $B$G$9!#(BEmacs $B$N5/F0Kh$K$3$N(B
|
|
35 ;; $B@_Dj$,M-8z$K$J$k$h$&$K$9$k$?$a$K$O!"(B~/.emacs $B$K2<5-%U%)!<%`$rA^F~$7$F$7$^$&(B
|
|
36 ;; $B$N$,$*<j7Z$G$9!#(B
|
|
37 ;;
|
|
38 ;; (autoload 'skk-gyakubiki-katakana-message "skk-kakasi" nil t)
|
|
39 ;; (autoload 'skk-gyakubiki-katakana-region "skk-kakasi" nil t)
|
|
40 ;; (autoload 'skk-gyakubiki-message "skk-kakasi" nil t)
|
|
41 ;; (autoload 'skk-gyakubiki-region "skk-kakasi" nil t)
|
|
42 ;; (autoload 'skk-hurigana-katakana-message "skk-kakasi" nil t)
|
|
43 ;; (autoload 'skk-hurigana-katakana-region "skk-kakasi" nil t)
|
|
44 ;; (autoload 'skk-hurigana-message "skk-kakasi" nil t)
|
|
45 ;; (autoload 'skk-hurigana-region "skk-kakasi" nil t)
|
|
46 ;; (autoload 'skk-romaji-message "skk-kakasi" nil t)
|
|
47 ;; (autoload 'skk-romaji-region "skk-kakasi" nil t)
|
|
48 ;;
|
|
49 ;; KAKASI $B$O!"(B1996 $BG/(B 4 $B7n(B 25 $BF|8=:_!"(B
|
|
50 ;; sunsite.sut.ac.jp:/pub/asia-info/japanese-src/packages/kakasi-2.2.5.tar.gz
|
|
51 ;; sunsite.sut.ac.jp:/pub/asia-info/japanese-src/packages/kakasidict.940620.gz
|
|
52 ;; $B$K$"$j(B anonymous ftp $B$GF~<j$G$-$^$9!#(B
|
|
53 ;;
|
|
54 ;; $BAG@2$7$$%W%m%0%i%`(B KAKASI $B$r$*:n$j$K$J$C$?9b66$5$s$H!"(BKAKASI $B$r(B anonymous
|
|
55 ;; ftp $B$GF~<j2DG=$H$7$F$$$k(B sunsite.sut.ac.jp $B$K46<U$$$?$7$^$9!#(B
|
|
56
|
|
57 ;;; Change log:
|
|
58
|
|
59 ;;; Code:
|
|
60 (require 'skk-foreword)
|
|
61 (require 'skk-vars)
|
|
62
|
|
63 ;;;; VARIABLES
|
|
64
|
|
65 ;; --- user variable
|
|
66
|
|
67 (defvar skk-use-kakasi
|
|
68 (or (and (file-exists-p "/usr/local/bin/kakasi")
|
|
69 (file-executable-p "/usr/local/bin/kakasi") )
|
|
70 (eq (call-process "which" nil nil nil "kakasi") 0) )
|
|
71 ;; tcsh $B$O(B built-in $B%3%^%s%I$H$7$F(B which $B$r;}$C$F$$$k!#(BLinux $B$@$H(B sh ($B<B$O<B(B
|
|
72 ;; $BBN$O(B bash) $B$G$b(B /usr/bin/which $B$,;H$($k!#B>$N%7%9%F%`$G$O$I$&$9$Y$-!)(B
|
|
73 "*Non-nil $B$G$"$l$P(B KAKASI $B$r;H$C$?JQ49$r9T$J$&!#(B" )
|
|
74
|
|
75 (defvar skk-romaji-*-by-hepburn t
|
|
76 "*Non-nil $B$G$"$l$P(B KAKASI $B$r;H$C$?%m!<%^;z$X$NJQ49MM<0$K%X%\%s<0$rMQ$$$k!#(B
|
|
77 $BNc$($P!"(B
|
|
78 \"$B$7(B\" -> \"shi\"
|
|
79
|
|
80 nil $B$G$"$l$P!"71Na<0(B \"($B!VF|K\<0!W$H$b8@$&$h$&$@(B)\" $B$rMQ$$$k!#(B
|
|
81 $BNc$($P!"(B
|
|
82 \"$B$7(B\" -> \"si\"
|
|
83
|
|
84 $B><OB(B 29 $BG/(B 12 $B7n(B 9 $BF|IUFb3U9p<(Bh0l9f$K$h$l$P!"86B'E*$K71Na<0(B \"($BF|K\<0(B)\" $B$r(B
|
|
85 $BMQ$$$k$+$N$h$&$K5-:\$5$l$F$$$k$,!":#F|0lHLE*$J5-:\J}K!$O!"$`$7$m!"%X%\%s<0$G$"(B
|
|
86 $B$k$h$&$K;W$&!#(B" )
|
|
87
|
|
88 (defvar skk-kakasi-load-hook nil
|
|
89 "*skk-kakasi.el $B$,%m!<%I$5$l$?$H$-$N%U%C%/!#(B" )
|
|
90
|
|
91 (if skk-mule3
|
|
92 (modify-coding-system-alist 'process "kakasi"
|
|
93 '(undecided . euc-japan) ))
|
|
94
|
|
95 ;;;; FUNCTIONS
|
|
96 ;;;###skk-autoload
|
|
97 (defun skk-gyakubiki-region (start end &optional all)
|
|
98 "$B%j!<%8%g%s$N4A;z!"Aw$j2>L>$rA4$F$R$i$,$J$KJQ49$9$k!#(B
|
|
99 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
100 $B$/$C$FI=<($9$k!#(B
|
|
101 $BNc$($P!"(B
|
|
102 $BCfEg(B -> {$B$J$+$7$^(B|$B$J$+$8$^(B}"
|
|
103 (interactive "*r\nP")
|
|
104 (let ((str (skk-gyakubiki-1 start end all)))
|
|
105 (combine-after-change-calls
|
|
106 (delete-region start end)
|
|
107 (goto-char start)
|
|
108 (insert str) )
|
|
109 (skk-set-cursor-properly) ))
|
|
110
|
|
111 ;;;###skk-autoload
|
|
112 (defun skk-gyakubiki-message (start end &optional all)
|
|
113 "$B%j!<%8%g%s$N4A;z!"Aw$j2>L>$rA4$F$R$i$,$J$KJQ498e!"%(%3!<$9$k!#(B
|
|
114 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
115 $B$/$C$FI=<($9$k!#(B
|
|
116 $BNc$($P!"(B
|
|
117 $BCfEg(B -> {$B$J$+$7$^(B|$B$J$+$8$^(B}"
|
|
118 (interactive "r\nP")
|
|
119 (let ((str (skk-gyakubiki-1 start end all)))
|
|
120 (save-match-data
|
|
121 (if (string-match "^[ $B!!(B\t]+" str)
|
|
122 ;; $B@hF,$N6uGr$r<h$j=|$/!#(B
|
|
123 (setq str (substring str (match-end 0))) ))
|
|
124 (message str)
|
|
125 (skk-set-cursor-properly) ))
|
|
126
|
|
127
|
|
128 ;;;###skk-autoload
|
|
129 (defun skk-gyakubiki-katakana-region (start end &optional all)
|
|
130 "$B%j!<%8%g%s$N4A;z!"Aw$j2>L>$rA4$F%+%?%+%J$KJQ49$9$k!#(B
|
|
131 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
132 $B$/$C$FI=<($9$k!#(B
|
|
133 $BNc$($P!"(B
|
|
134 $BCfEg(B -> {$B%J%+%7%^(B|$B%J%+%8%^(B}"
|
|
135 (interactive "*r\P")
|
|
136 (let ((str (skk-gyakubiki-1 start end all 'katakana)))
|
|
137 (combine-after-change-calls
|
|
138 (delete-region start end)
|
|
139 (goto-char start)
|
|
140 (insert str) )
|
|
141 (skk-set-cursor-properly) ))
|
|
142
|
|
143 ;;;###skk-autoload
|
|
144 (defun skk-gyakubiki-katakana-message (start end &optional all)
|
|
145 "$B%j!<%8%g%s$N4A;z!"Aw$j2>L>$rA4$F%+%?%+%J$KJQ498e!"%(%3!<$9$k!#(B
|
|
146 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
147 $B$/$C$FI=<($9$k!#(B
|
|
148 $BNc$($P!"(B
|
|
149 $BCfEg(B -> {$B%J%+%7%^(B|$B%J%+%8%^(B}"
|
|
150 (interactive "r\nP")
|
|
151 (let ((str (skk-gyakubiki-1 start end all 'katakana)))
|
|
152 (save-match-data
|
|
153 (if (string-match "^[ $B!!(B\t]+" str)
|
|
154 ;; $B@hF,$N6uGr$r<h$j=|$/!#(B
|
|
155 (setq str (substring str (match-end 0))) ))
|
|
156 (message str)
|
|
157 (skk-set-cursor-properly) ))
|
|
158
|
|
159 (defun skk-gyakubiki-1 (start end all &optional katakana)
|
|
160 ;; skk-gyakubiki-* $B$N%5%V%k!<%A%s!#(B
|
|
161 ;; $B%*%W%7%g%J%k0z?t$N(B KATAKANA $B$,(B non-nil $B$G$"$l$P!"%+%?%+%J$XJQ49$9$k!#(B
|
|
162 (let ((arg (if katakana '("-JK") '("-JH"))))
|
|
163 (if skk-allow-spaces-newlines-and-tabs
|
|
164 (setq arg (cons "-c" arg)) )
|
|
165 (if all
|
|
166 (setq arg (cons "-p" arg)) )
|
|
167 (skk-kakasi-region start end arg)) )
|
|
168
|
|
169 ;;;###skk-autoload
|
|
170 (defun skk-hurigana-region (start end &optional all)
|
|
171 "$B%j!<%8%g%s$N4A;z$KA4$F$U$j$,$J$rIU$1$k!#(B
|
|
172 $BNc$($P!"(B
|
|
173 \"$BJQ49A0$N4A;z$NOF$K(B\" -> \"$BJQ49A0(B[$B$X$s$+$s$^$((B]$B$N4A;z(B[$B$+$s$8(B]$B$NOF(B[$B$o$-(B]$B$K(B\"
|
|
174
|
|
175 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
176 $B$/$C$FI=<($9$k!#(B
|
|
177 $BNc$($P!"(B
|
|
178 $BCfEg(B -> {$B$J$+$7$^(B|$B$J$+$8$^(B}"
|
|
179 (interactive "*r\nP")
|
|
180 (let ((str (skk-hurigana-1 start end all)))
|
|
181 (combine-after-change-calls
|
|
182 (delete-region start end)
|
|
183 (goto-char start)
|
|
184 (insert str) )
|
|
185 (skk-set-cursor-properly) ))
|
|
186
|
|
187 ;;;###skk-autoload
|
|
188 (defun skk-hurigana-message (start end &optional all)
|
|
189 "$B%j!<%8%g%s$N4A;z$KA4$F$U$j$,$J$rIU$1!"%(%3!<$9$k!#(B
|
|
190 $BNc$($P!"(B
|
|
191 \"$BJQ49A0$N4A;z$NOF$K(B\" -> \"$BJQ49A0(B[$B$X$s$+$s$^$((B]$B$N4A;z(B[$B$+$s$8(B]$B$NOF(B[$B$o$-(B]$B$K(B\"
|
|
192
|
|
193 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
194 $B$/$C$FI=<($9$k!#(B
|
|
195 $BNc$($P!"(B
|
|
196 $BCfEg(B -> {$B$J$+$7$^(B|$B$J$+$8$^(B}"
|
|
197 (interactive "r\nP")
|
|
198 (message (skk-hurigana-1 start end all))
|
|
199 (skk-set-cursor-properly) )
|
|
200
|
|
201 ;;;###skk-autoload
|
|
202 (defun skk-hurigana-katakana-region (start end &optional all)
|
|
203 "$B%j!<%8%g%s$N4A;z$KA4$F%U%j%,%J$rIU$1$k!#(B
|
|
204 $BNc$($P!"(B
|
|
205 \"$BJQ49A0$N4A;z$NOF$K(B\" -> \"$BJQ49A0(B[$B%X%s%+%s%^%((B]$B$N4A;z(B[$B%+%s%8(B]$B$NOF(B[$B%o%-(B]$B$K(B\"
|
|
206
|
|
207 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
208 $B$/$C$FI=<($9$k!#(B
|
|
209 $BNc$($P!"(B
|
|
210 $BCfEg(B -> {$B%J%+%7%^(B|$B%J%+%8%^(B}"
|
|
211 (interactive "*r\nP")
|
|
212 (let ((str (skk-hurigana-1 start end all 'katakana)))
|
|
213 (combine-after-change-calls
|
|
214 (delete-region start end)
|
|
215 (goto-char start)
|
|
216 (insert str) )
|
|
217 (skk-set-cursor-properly) ))
|
|
218
|
|
219 ;;;###skk-autoload
|
|
220 (defun skk-hurigana-katakana-message (start end &optional all)
|
|
221 "$B%j!<%8%g%s$N4A;z$KA4$F%U%j%,%J$rIU$1!"%(%3!<$9$k!#(B
|
|
222 $BNc$($P!"(B
|
|
223 \"$BJQ49A0$N4A;z$NOF$K(B\" -> \"$BJQ49A0(B[$B%X%s%+%s%^%((B]$B$N4A;z(B[$B%+%s%8(B]$B$NOF(B[$B%o%-(B]$B$K(B\"
|
|
224
|
|
225 $B%*%W%7%g%J%k0z?t$N(B ALL $B$,(B non-nil $B$J$i$P!"J#?t$N8uJd$,$"$k>l9g$O!"(B\"{}\" $B$G$/(B
|
|
226 $B$/$C$FI=<($9$k!#(B
|
|
227 $BNc$($P!"(B
|
|
228 $BCfEg(B -> {$B%J%+%7%^(B|$B%J%+%8%^(B}"
|
|
229 (interactive "r\nP")
|
|
230 (message (skk-hurigana-1 start end all 'katakana))
|
|
231 (skk-set-cursor-properly) )
|
|
232
|
|
233 (defun skk-hurigana-1 (start end all &optional katakana)
|
|
234 ;; skk-hurigana-* $B$N%5%V%k!<%A%s!#(B
|
|
235 ;; $B%*%W%7%g%J%k0z?t$N(B KATAKANA $B$,(B non-nil $B$G$"$l$P!"%+%?%+%J$XJQ49$9$k!#(B
|
|
236 (let ((arg (if katakana '("-JK" "-f") '("-JH" "-f")))
|
|
237 str )
|
|
238 (if skk-allow-spaces-newlines-and-tabs
|
|
239 (setq arg (cons "-c" arg)) )
|
|
240 (if all
|
|
241 (setq arg (cons "-p" arg)) )
|
|
242 (skk-kakasi-region start end arg)) )
|
|
243
|
|
244 ;;;###skk-autoload
|
|
245 (defun skk-romaji-region (start end)
|
|
246 "$B%j!<%8%g%s$N4A;z!"$R$i$,$J!"%+%?%+%J!"A41QJ8;z$rA4$F%m!<%^;z$KJQ49$9$k!#(B
|
|
247 $BJQ49$K$O!"%X%\%s<0$rMQ$$$k!#(B
|
|
248 $BNc$($P!"(B
|
|
249 \"$B4A;z$+$J:.$8$jJ8$r%m!<%^;z$KJQ49(B\"
|
|
250 -> \" kan'zi kana ma ziri bun' woro-ma zi ni hen'kan' \"
|
|
251
|
|
252 skk-romaji-*-by-hepburn $B$,(B nil $B$G$"$l$P!"%m!<%^;z$X$NJQ49MM<0$r71Na<0$KJQ99$9(B
|
|
253 $B$k!#Nc$($P!"(B\"$B$7(B\" $B$O%X%\%s<0$G$O(B \"shi\" $B$@$,!"71Na<0$G$O(B \"si\" $B$H$J$k!#(B"
|
|
254 (interactive "*r")
|
|
255 (let ((arg '("-Ha" "-Ka" "-Ja" "-Ea" "-ka" "-s"))
|
|
256 str )
|
|
257 (if skk-allow-spaces-newlines-and-tabs
|
|
258 (setq arg (cons "-c" arg)) )
|
|
259 (if (not skk-romaji-*-by-hepburn)
|
|
260 (setq arg (cons "-rk" arg)) )
|
|
261 (setq str (skk-kakasi-region start end arg))
|
|
262 (combine-after-change-calls
|
|
263 (delete-region start end)
|
|
264 (goto-char start)
|
|
265 (insert str) )
|
|
266 (skk-set-cursor-properly) ))
|
|
267
|
|
268 ;;;###skk-autoload
|
|
269 (defun skk-romaji-message (start end)
|
|
270 "$B%j!<%8%g%s$N4A;z!"$R$i$,$J!"%+%?%+%J!"A41QJ8;z$rA4$F%m!<%^;z$KJQ49$7!"%(%3!<$9$k!#(B
|
|
271 $BJQ49$K$O!"%X%\%s<0$rMQ$$$k!#(B
|
|
272 $BNc$($P!"(B
|
|
273 \"$B4A;z$+$J:.$8$jJ8$r%m!<%^;z$KJQ49(B\"
|
|
274 -> \" kan'zi kana ma ziri bun' woro-ma zi ni hen'kan' \"
|
|
275
|
|
276 skk-romaji-*-by-hepburn $B$,(B nil $B$G$"$l$P!"%m!<%^;z$X$NJQ49MM<0$r71Na<0$KJQ99$9(B
|
|
277 $B$k!#Nc$($P!"(B\"$B$7(B\" $B$O%X%\%s<0$G$O(B \"shi\" $B$@$,!"71Na<0$G$O(B \"si\" $B$H$J$k!#(B"
|
|
278 (interactive "r")
|
|
279 (let ((arg '("-Ha" "-Ka" "-Ja" "-Ea" "-ka" "-s")))
|
|
280 (if skk-allow-spaces-newlines-and-tabs
|
|
281 (setq arg (cons "-c" arg)) )
|
|
282 (if (not skk-romaji-*-by-hepburn)
|
|
283 (setq arg (cons "-rk" arg)) )
|
|
284 (message (skk-kakasi-region start end arg))
|
|
285 (skk-set-cursor-properly) ))
|
|
286
|
|
287 (defun skk-kakasi-region (start end arglist)
|
|
288 ;; START $B$H(B END $B4V$N%j!<%8%g%s$KBP$7(B kakasi $B%3%^%s%I$rE,MQ$9$k!#(BARGLIST $B$r(B
|
|
289 ;; kakasi $B$N0z?t$H$7$FEO$9!#(Bkakasi $B$N=PNO$rJV$9!#(B
|
|
290 (if (not skk-use-kakasi)
|
|
291 (skk-error "KAKASI $B$,%$%s%9%H!<%k$5$l$F$$$J$$$+!";HMQ$7$J$$@_Dj$K$J$C$F$$$^$9!#(B"
|
|
292 "KAKASI was not installed, or skk-use-kakasi is nil" ) )
|
|
293 (let ((str (skk-buffer-substring start end)))
|
|
294 ;; $BIQEY>pJs$r;H$C$F2?$+$*$b$7$m$$;H$$J}$,$G$-$k$+$J!)(B $B8=>u$G$O;H$C$F(B
|
|
295 ;; $B$$$J$$!#(B
|
|
296 ;;(hindo-file (skk-make-temp-file "skkKKS"))
|
|
297 (with-temp-buffer
|
|
298 ;; current buffer $B$,(B read-only $B$N$H$-$K(B current buffer $B$G(B call-process
|
|
299 ;; $B$r8F$V$H(B destination buffer $B$rJL$K;XDj$7$F$$$F$b%(%i!<$K$J$k$N$G!"%j!<(B
|
|
300 ;; $B%8%g%s$NJ8;zNs$r%o!<%/%P%C%U%!$KB`Hr$9$k!#(B
|
|
301 (insert str)
|
|
302 (if (and (eq (apply 'call-process-region (point-min) (point) "kakasi"
|
|
303 ;; kakasi-2.2.5.hindo.diff $B$,Ev$C$F$$$k$HI8=`%(%i!<(B
|
|
304 ;; $B=PNO$KIQEY>pJs$,=PNO$5$l$k!#(B
|
|
305 'delete-original-text
|
|
306 ;;(list t hindo-file)
|
|
307 '(t nil)
|
|
308 nil arglist )
|
|
309 0 )
|
|
310 (> (buffer-size) 0) )
|
|
311 (buffer-string)
|
|
312 (skk-error "$BJQ49$G$-$^$;$s(B" "Cannot convert!") ))))
|
|
313
|
|
314 (run-hooks 'skk-kakasi-load-hook)
|
|
315 (provide 'skk-kakasi)
|
|
316 ;;; skk-kakasi.el ends here
|