-
Notifications
You must be signed in to change notification settings - Fork 42
/
skk-vars.el
5425 lines (4617 loc) · 216 KB
/
skk-vars.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; skk-vars.el --- common vars and consts in SKK -*- coding: iso-2022-7bit-ss2 -*-
;; Copyright (C) 1999-2010 SKK Development Team
;; Author: SKK Development Team
;; Maintainer: SKK Development Team
;; URL: https://github.com/skk-dev/ddskk
;; Keywords: japanese, mule, input method
;; This file is part of Daredevil SKK.
;; This program 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 3 of
;; the License, or (at your option) any later version.
;; This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;; Code:
(require 'wid-edit)
(eval-when-compile
;; shut down compiler warnings.
(defvar charset-list)
(defvar word-across-newline)
(defvar emacs-beta-version)
(defvar mule-version))
(require 'skk)
(declare-function skk-lookup-get-content "skk-lookup.el")
;; Functions needed prior to loading skk-macs.el.
(defun skk-find-window-system ()
(let ((frames (frame-list))
val)
(while (and (not val) frames)
;; $BJQ?t(B window-system $B$O(B frame local $BCM$r;}$D!#(B
;; $BNc$($P(B window system $B$H(B "emacsclient -nw" $B$NJ;MQ;~$J$I(B
;; $B$$$:$l$+$N(B frame $B$,(B window system $B2<$GF0$$$F$$$k$3$H$r(B
;; $B3NG'$9$k!#(B
(setq val (window-system (car frames))
frames (cdr frames)))
val))
(defun skk-jisyo (&optional coding)
"CODING $B$,(B nil $B$G$"$l$P!"8D?M<-=q$N(B PATH $B$rJV$9(B ($BJQ?t(B `skk-jisyo' $B$,J8;zNs$G(B
$B$"$l$P$=$NCM$r!"%3%s%9%;%k$G$"$l$P(B car $B$rJV$9(B).
CODING $B$,(B non-nil $B$G$"$l$P!"8D?M<-=q$KE,MQ$5$l$k(B CODING $B$rJV$9(B ($BJQ?t(B `skk-jisyo' $B$,(B
$BJ8;zNs$G$"$l$PJQ?t(B `skk-jisyo-code' $B$NCM$r!"%3%s%9%;%k$G$"$l$P(B cdr $B$rJV$9(B)."
(let ((p (if (consp skk-jisyo) (car skk-jisyo) skk-jisyo))
(c (if (consp skk-jisyo) (cdr skk-jisyo) skk-jisyo-code)))
(if coding c p)))
;;;###autoload
(put 'skk-deflocalvar 'lisp-indent-function 'defun)
(defmacro skk-deflocalvar (symbol initvalue &optional docstring)
(if docstring
`(progn
(defvar ,symbol ,initvalue ,docstring)
(make-variable-buffer-local ',symbol))
`(progn
(defvar ,symbol ,initvalue)
(make-variable-buffer-local ',symbol))))
;;;; Custom group definitions
(defgroup skk nil "$BF|K\8lF~NO%7%9%F%`(B SKK $B$N%+%9%?%^%$%:(B"
:group 'mule
:group 'applications)
;;; by function
(defgroup skk-basic nil "SKK $B4pK\$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-dictionary nil "SKK $B<-=q$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-private nil "SKK $B8D?M<-=q$N<h$j07$$(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-input-basic nil "SKK $BF~NOF0:n$N4pK\@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-input-enhanced nil "SKK $BF~NOF0:n$N3HD%@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-henkan nil "SKK $BJQ49F0:n$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-kakutei nil "SKK $BJQ498uJd3NDjF0:n$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-okurigana nil "SKK $BAw$j$,$J$N<h$j07$$(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-misc nil "SKK $B$=$NB>$$$m$$$m(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-visual nil "SKK $B$N8+$?L\$r%+%9%?%^%$%:(B"
:prefix "skk-"
:group 'skk)
;;; by filename
(defgroup skk-annotation nil "SKK $B%"%N%F!<%7%g%sI=<((B/$BJT=8$N@_Dj(B"
:prefix "skk-annotation-"
:group 'skk)
(defgroup skk-auto nil "SKK $B<+F0Aw$j$,$J5!G=$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-cdb nil "SKK CDB $B<-=q8!:w5!G=$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-comp nil "SKK $BJd405!G=$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-server-completion nil "$B<-=q%5!<%PJd405!G=$K4X$9$k@_Dj(B"
:group 'skk)
(defgroup skk-cursor nil "SKK $B%+!<%=%k@)8f$N@_Dj(B"
:prefix "skk-cursor-"
:group 'skk)
(defgroup skk-dcomp nil "SKK $BF0E*Jd40$N@_Dj(B"
:prefix "skk-dcomp-"
:group 'skk)
(defgroup skk-gadget nil "SKK $B<B9TJQ495!G=(B (gadget) $B$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-hint nil "SKK $B%R%s%HIU$-JQ495!G=$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-isearch nil "SKK $B%$%s%/%j%a%s%?%k!&%5!<%A$N@_Dj(B"
:prefix "skk-isearch-"
:group 'skk)
(defgroup skk-jisx0201 nil "SKK JIS X 0201 ($B$*$b$KH>3Q%+%J(B) $B4XO"$N@_Dj(B"
:prefix "skk-jisx0201-"
:group 'skk)
(defgroup skk-jisx0213 nil "SKK JIS X 0213 $B4XO"$N@_Dj(B"
:group 'skk)
(defgroup skk-jisyo-edit-mode nil "SKK $B$N<-=qJT=85!G=$N@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-kakasi nil "SKK $B$+$i(B kakasi $B$r;H$&@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-kcode nil "SKK $BJ8;z%3!<%I$r07$&@_Dj(B"
:prefix "skk-"
:group 'skk)
(defgroup skk-look nil "SKK $B$+$i(B look $B%3%^%s%I$rMxMQ$9$k@_Dj(B"
:prefix "skk-look-"
:group 'skk)
(defgroup skk-lookup nil "SKK $B$+$i(B Lookup $B%Q%C%1!<%8$rMxMQ$9$k@_Dj(B"
:prefix "skk-lookup-"
:group 'skk)
(defgroup skk-num nil "SKK $B$G?t;z$r07$&$?$a$N@_Dj(B"
:prefix "skk-num-"
:group 'skk)
(defgroup skk-server nil "$B<-=q%5!<%P$H$NDL?.$K4X$9$k@_Dj(B"
:prefix "skk-server-"
:group 'skk)
(defgroup skk-sticky nil "SKK $BJQ490LCV;XDjJ}<0$N@_Dj(B"
:prefix "skk-sticky-"
:group 'skk)
(defgroup skk-study nil "SKK $B3X=,5!G=$N@_Dj(B"
:prefix "skk-study-"
:group 'skk)
(defgroup skk-tankan nil "SKK $BC14A;zJQ495!G=$N@_Dj(B"
:prefix "skk-tankan-"
:group 'skk)
(defgroup skk-tooltip nil "SKK $B%D!<%k%F%#%C%WI=<($N@_Dj(B"
:prefix "skk-tooltip-"
:group 'skk)
(defgroup skk-tut nil "SKK $B%A%e!<%H%j%"%k$N@_Dj(B"
:prefix "skk-tut-"
:group 'skk)
(defgroup skk-viper nil "SKK/Viper $B4XO"$N@_Dj(B"
:prefix "skk-viper-"
:group 'skk)
(defgroup skk-act nil "SKK $B$G3HD%%m!<%^;zF~NO(B ACT $B$r;H$&@_Dj(B"
:prefix "skk-act-"
:group 'skk-input-enhanced)
(defgroup skk-azik nil "SKK $B$G3HD%%m!<%^;zF~NO(B AZIK $B$r;H$&@_Dj(B"
:prefix "skk-azik-"
:group 'skk-input-enhanced)
(defgroup skk-kanagaki nil "SKK $B$+$JF~NO$N@_Dj(B"
:prefix "skk-kanagaki-"
:group 'skk-input-enhanced)
(defgroup skk-nicola nil "SKK $B?F;X%7%U%HF~NO$N@_Dj(B"
:prefix "skk-nicola-"
:group 'skk-kanagaki)
;;; skk-vars.el related.
(defcustom skk-background-mode
;; from font-lock-make-faces of font-lock.el Welcome!
(or frame-background-mode
(cond ((and window-system (x-display-color-p))
(let ((bg-resource (x-get-resource ".backgroundMode"
"BackgroundMode"))
(params (frame-parameters)))
(cond (bg-resource
(intern (downcase bg-resource)))
((and (eq system-type 'windows-nt)
(not (fboundp 'x-color-values)))
(if (string-match "light"
(cdr (assq 'background-color params)))
'light
'dark))
((not (null (cdr (assq 'background-mode params))))
;; Emacs20.x (Meadow)
(cdr (assq 'background-mode params)))
((< (apply '+ (x-color-values
(cdr (assq 'background-color params))))
(/ (apply '+ (x-color-values "white")) 3))
'dark)
(t
'light))))
(t
nil)))
"*SKK $B$NI8=`$N%U%'%$%9?'$r7h$a$k$?$a$NGX7J?'$K4X$9$k>pJs!#(B
$BI8=`$G$O(B `frame-background-mode' $B$r@_Dj$7$F$$$k>l9g$O$=$l$K=>$$!"(B
$B@_Dj$7$F$$$J$$>l9g$OFH<+$NJ}K!$G(B `light' $B$+(B `dark' $B$+$r7h$a$k!#(B
$B$?$@$7!"%?!<%_%J%k$G(B Emacs $B$rMxMQ$7$F$$$k>l9g$OH=Dj$G$-$:!"(B
$B%f!<%6$N0U?^$H9g$o$J$$$+$b$7$l$J$$$N$G!"$3$N%*%W%7%g%s$+(B
`frame-background-mode' $B$r$"$i$+$8$a@_Dj$7$F$*$/$3$H$,K>$^$7$$!#(B
$B$3$N%*%W%7%g%s$O(B ~/.skk $B$K@_Dj$7$F$bH?1G$5$l$J$$!#(B~/.emacs.d/init.el $B$+(B
\\[customize] $B$K$F!"(BSKK $B$,FI$_9~$^$l$kA0$K@_Dj$9$k$3$H$,I,MW!#(B"
:type '(choice (const dark)
(const light)
(const :tag "$B<+F0$G7h$a$k(B" nil))
:group 'skk-basic
:group 'skk-visual)
;;; skk.el related.
(defcustom skk-user-directory nil
"*SKK $B$N@_Dj%U%!%$%k$J$I$rCV$/%G%#%l%/%H%jL>!#(B
$B3F<o@_Dj%U%!%$%k$r$R$H$D$N%G%#%l%/%H%j$K$^$H$a$?$$>l9g$K@_Dj$9$k!#(B
($BNc(B) (setq skk-user-directory \"~/.ddskk\")
"
:type '(radio (directory :tag "$B%G%#%l%/%H%jL>(B" "~/.ddskk")
(const :tag "$B@_Dj$7$J$$(B" nil))
:group 'skk-basic)
(defcustom skk-init-file (if skk-user-directory
(expand-file-name "init" skk-user-directory)
(convert-standard-filename "~/.skk"))
"*SKK $B$N=i4|@_Dj$r5-=R$9$k%U%!%$%kL>!#(BSKK $B$r5/F0$7$?:G=i$N0lEY$@$1FI$_(B
$B9~$^$l$k!#$3$N%U%!%$%k$K5-=R$9$kBe$o$j$K(B ~/.emacs.d/init.el $B$K(B SKK $B$N3F<o=i4|@_Dj$r(B
$B5-=R$9$k$3$H$b2DG=$@$,!"8e<T$N>l9g$O(B \\[skk-restart] $B$G$OH?1G$5$l$J$$!#(B
~/.emacs.d/init.el $B$G(B $BJQ?t(B `skk-byte-compile-init-file' $B$r@_Dj$9$k$3$H$G(B `skk-init-file' $B$r(B
$B<+F0E*$K%P%$%H%3%s%Q%$%k$9$k$3$H$b2DG=!#(B"
;;"*Name of the SKK initialization file.
;;From skk.el 9.x on all customization may be done in ~/.emacs."
:type '(file :tag "$B%U%!%$%kL>(B")
:group 'skk-basic)
(defcustom skk-japanese-message-and-error nil
"*Non-nil $B$G$"$l$P!"(BSKK $B$N%a%C%;!<%8$H%(%i!<$rF|K\8l$GI=<($9$k!#(B
nil $B$G$"$l$P!"1Q8l$GI=<($9$k!#(B"
:type 'boolean
:group 'skk-basic)
(defcustom skk-version-codename-ja nil
"*Non-nil $B$G$"$l$P!"4X?t(B `skk-version' $B$G$N%3!<%I%M!<%`$rF|K\8l$GI=<($9$k!#(B"
:type 'boolean
:group 'skk-basic)
(defcustom skk-jisyo-fix-order nil
"*Non-nil $B$G$"$l$P!"3NDj$N:]$K8D?M<-=q$NF12;8l$N=g=x$rJQ99$;$:!"(B
$B8D?M<-=q$K?75,DI2C$9$k:]$O4{=P8l$N8e$KDI2C$9$k!#(B"
:type 'boolean
:group 'skk-dictionary)
(defcustom skk-kakutei-jisyo nil
;; $B%=!<%H$5$l$F$$$kI,MW$,$"$k$+$I$&$+$O@_Dj<!Bh$@$,!"$=$3$^$G@bL@$9$k$N$OLLE](B
;; (FILE . CODE) $B$N7A<0$b$$$1$k$O$:(B ($B$=$N$h$&$J@_Dj$N$7$+$?$ONI$/$J$$(B?)
"*$B!V3NDjJQ49!W$G8!:w$9$k<-=q!#(B
$B8+=P$78l$O!"%=!<%H$5$l$F$$$J$1$l$P$J$i$J$$!#(B
Non-nil $B$G$"$l$P!";XDj$5$l$?<-=q$r%P%C%U%!$KFI$_9~$_!"8!:w$r9T$&!#(B
$B3F8+=P$78l$N:G=i$N%(%s%H%j$G3NDj$5$l$k!#(B
$B3NDj%"%s%I%%;~$K$O(B 2 $BHVL\0J9_$N%(%s%H%j$bMxMQ$G$-$k$,!"(B
$B$3$N;EMM$OJQ99$5$l$k2DG=@-$b$"$j!"$^$?3NDj<-=q$NK\<A$HL54X78$G$"$k!#(B
$B4X?t(B `skk-search-kakutei-jisyo-file' $B$N0z?t$H$7$F;HMQ$5$l$k!#(B
$B3NDjJQ495!G=$rMxMQ$9$k>l9g$K$O!"(B
(skk-search-kakutei-jisyo-file skk-kakutei-jisyo 10000 t)
$B$N$h$&$JMWAG$r(B `skk-search-prog-list' $B$N@hF,$KG[CV$9$k$3$H!#(B"
;; "*The first dictionary to be searched.
;;If non-nil, and this variable is used as a component of
;;`skk-search-prog-list', the indicated dictionary is read into a
;;buffer and searched.
;;The keys must be sorted.
;;Only the first entry in each key is checked; if several entries are
;;present the second and following entries are ignored.
;;By setting the value of `skk-search-prog-list' the dictionaries
;;searched and the order of search can be changed."
:type '(radio (file :tag "$B<-=q%U%!%$%kL>(B")
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-dictionary)
(defcustom skk-initial-search-jisyo nil
;; $B%=!<%H$5$l$F$$$kI,MW$,$"$k$+$I$&$+$O@_Dj<!Bh$@$,!"$=$3$^$G@bL@$9$k$N$OLLE](B
;; (FILE . CODE) $B$N7A<0$b$$$1$k$O$:(B
"*$B8D?M<-=q$N8!:w$NA0$K8!:w$9$k<-=q!#(B
$B8+=P$78l$O!"%=!<%H$5$l$F$$$J$1$l$P$J$i$J$$!#(B
Non-nil $B$G$"$l$P!";XDj$5$l$?<-=q$r8!:w$N$?$a%P%C%U%!$KFI$_9~$_!"8!:w$r9T$&!#(B
`skk-search-prog-list' $B$K$*$$$F!"(B
(skk-search-jisyo-file skk-initial-search-jisyo 10000 t)
$B$N$h$&$JMWAG$,(B
(skk-search-jisyo-file skk-jisyo 0 t)
$B$h$j@h$KG[CV$5$l$F$$$k;v$K$h$j$=$N0UL#$r@.$7$F$$$k!#(B"
;; "*This dictionary is searched before the user's personal dictionary.
;;The keys must be sorted.
;;If non-nil, and this variable is used as a component of
;;`skk-search-prog-list', the indicated dictionary is read into a
;;buffer and searched.
;;By setting the value of `skk-search-prog-list' the dictionaries
;;searched and the order of search can be changed."
:type '(radio (file :tag "$B<-=q%U%!%$%kL>(B")
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-dictionary)
(defcustom skk-large-jisyo nil
;; (FILE . CODE) $B$N7A<0$b$$$1$k$O$:(B
"*$B8D?M<-=q$N8!:w$N8e$K8!:w$9$k<-=q!#(B
$B8+=P$78l$O!"%=!<%H$5$l$F$$$J$1$l$P$J$i$J$$!#(B
Non-nil $B$G$"$l$P!";XDj$5$l$?<-=q$r8!:w$N$?$a%P%C%U%!$KFI$_9~$_!"8!:w$r9T$&!#(B"
:type `(radio (file :tag "$B<-=q%U%!%$%kL>(B"
,(or (locate-file "skk/SKK-JISYO.L"
(list (expand-file-name "../../.."
data-directory)))
(locate-file "skk/SKK-JISYO.L"
(list data-directory))
""))
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-dictionary)
(defcustom skk-aux-large-jisyo nil
;; (FILE . CODE) $B$N7A<0$b$$$1$k$O$:(B
"*$B<-=q%5!<%P$,;H$($J$$;~$K!"Be$o$j$K8!:w$9$k<-=q!#(B
$B8+=P$78l$O!"%=!<%H$5$l$F$$$J$1$l$P$J$i$J$$!#(B
Non-nil $B$G$"$l$P!"<-=q%5!<%P$,(B active $B$G$J$$;~$K!"(B
$B;XDj$5$l$?<-=q$r%P%C%U%!$KFI$_9~$_!"8!:w$r9T$&!#(B"
:type `(radio (file :tag "$B<-=q%U%!%$%kL>(B"
,(or (locate-file "skk/SKK-JISYO.L"
(list (expand-file-name "../../.."
data-directory)))
(locate-file "skk/SKK-JISYO.L"
(list data-directory))
""))
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-dictionary
:group 'skk-server)
(defcustom skk-inhibit-ja-dic-search nil
"*$B!V(BGNU Emacs $BIUB0$N<-=q$rMQ$$$?8!:w!W$N6X;_$r;X<($9$k%*%W%7%g%s!#(B
GNU Emacs $B$K$O(B SKK-JISYO.L $B$r85$KJQ49$5$l$?(B ja-dic.el $B$H$$$&<-=q$,IUB0$9$k!#(B
$B$3$l$rMQ$$$FDL>o$N$+$J4A;zJQ49(B ($BAw$j$"$j!"Aw$j$J$7!"@\F,<-!"@\Hx<-(B) $B$,2DG=(B
$B$G$"$k(B ($B$?$@$7(B SKK-JISYO.L $B$K$h$k1Q?tJQ49!"?tCMJQ49$J$I$O$G$-$J$$(B)$B!#(B
DDSKK 14.2 $B$h$j!V(Bja-dic.el $B8!:w5!G=(B `skk-search-ja-dic'$B!W$,DI2C$5$l$?!#(B
$B$3$N(B `skk-search-ja-dic' $B$O!"(B `skk-large-jisyo'$B!"(B`skk-aux-large-jisyo'$B!"(B
`skk-cdb-large-jisyo' $B5Z$S(B `skk-server-host' $B$NA4$F$,L58z$J>l9g$KM-8z$H$J$k(B
$B$,!"$"$i$f$k>lLL$G6X;_$7$?$$>l9g$O!"$3$NJQ?t$r(B Non-nil $B$K@_Dj$9$k!#(B"
:type 'boolean
:group 'skk-dictionary)
(defcustom skk-extra-jisyo-file-list nil
"*$B%a%$%s<-=q$NB>$K8!:w$9$k<-=q$N%j%9%H$r;XDj$9$k!#(B
$B$$$:$l$N<-=q$b!"8+=P$78l$O%=!<%H$5$l$F$$$J$1$l$P$J$i$J$$!#(B
(setq skk-extra-jisyo-file-list
(list '(\"/usr/share/skk/SKK-JISYO.JIS3_4\" . euc-jisx0213)
\"/usr/share/skk/SKK-JISYO.zipcode\"))
SKK $B<-=q$K$O(B SKK OpenLab $B$GG[I[$7$F$$$k$b$N!"Bh;0<T$K$h$k$b$N$J$IB??t$"$k$,!"(B
$B%a%$%s<-=q(B (SKK-JISYO.L $B$d<-=q%5!<%P$J$I(B) $B$NB>$K8!:w$7$?$$<-=q$N%U%!%$%kL>$N(B
$B%j%9%H$r;XDj$9$k!#%U%!%$%kL>$NBe$o$j$K!"%U%!%$%kL>$H%3!<%I7O$N%Z%"$r;XDj$9$k(B
$B$3$H$b$G$-$k!#<-=q$O;XDj$5$l$?=g$K8!:w$5$l$k!#(B"
:type '(repeat (file :tag "$B<-=q%U%!%$%kL>(B"))
:group 'skk-dictionary)
(defcustom skk-itaiji-jisyo nil
"$B0[BN;z<-=q(B `SKK-JISYO.itaiji', `SKK-JISYO.itaiji.JIS3_4' $B$X$N%Q%9$r;XDj$9$k!#(B"
:type '(radio (file :tag "$B<-=q%U%!%$%kL>(B")
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-dictionary)
(defcustom skk-search-prog-list
'((skk-search-kakutei-jisyo-file skk-kakutei-jisyo 10000 t)
(skk-tankan-search 'skk-search-jisyo-file skk-large-jisyo 10000)
(skk-search-jisyo-file skk-initial-search-jisyo 10000 t)
(skk-search-jisyo-file skk-jisyo 0 t)
(skk-okuri-search)
(skk-search-cdb-jisyo skk-cdb-large-jisyo)
(skk-search-jisyo-file skk-large-jisyo 10000)
(skk-search-server skk-aux-large-jisyo 10000)
(skk-search-ja-dic-maybe)
(skk-search-extra-jisyo-files)
(skk-search-katakana-maybe)
(skk-search-sagyo-henkaku-maybe)
(skk-search-itaiji))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
$B$3$NJQ?t$NCM$r<jF0$GJQ99$9$k$H!"(BSKK $B$NF0:n$K1F6A$9$k2DG=@-$,$"$k$N$GCm0U$rMW$9$k!#(B
$BJQ49$7$?8uJd$rJV$9(B S $B<0$r%j%9%H$N7A$KI=5-$7$?$b$N!#(B
$B4X?t(B `skk-search' $B$,(B `skk-search-prog-list' $B$N(B car $B$+$i8eJ}8~$X=gHV$K(B S $B<0$r(B
$BI>2A$9$k$3$H$K$h$C$F$+$J4A;zJQ49$r<B9T$9$k!#(B
$BI,MW$K1~$8$F(B
(skk-okuri-search)
(skk-look)
(skk-search-server skk-aux-large-jisyo 10000)
$B$3$l$i$N%W%m%0%i%`!JMWAG!K$,<+F0E*$KDI2C$5$l$k!#(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-1 nil
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-1 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-2 nil
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-2 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-3 nil
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-3 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-4 nil
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-4 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-5 '((skk-search-tankanji))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-5 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-6 '((skk-search-identity))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-6 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-7 '((skk-search-katakana))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-7 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-8 '((skk-search-hankaku-katakana))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-8 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-9 '((skk-search-jisx0208-romaji))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-9 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-search-prog-list-0 '((skk-search-romaji))
"*$B8!:w4X?t!"8!:wBP>]$N<-=q$r7hDj$9$k$?$a$N%j%9%H!#(B
C-0 SPC $B$G;HMQ$5$l$k(B"
:type '(repeat (sexp :tag "S$B<0(B"))
:group 'skk-dictionary)
(defcustom skk-count-jisyo-candidates-function
'skk-count-jisyo-candidates-original
"*`skk-count-jisyo-candidates' $B$G;HMQ$9$k4X?t!#(B"
:type 'function
:group 'skk-dictionary)
(defcustom skk-public-jisyo-to-be-searched-function
'skk-public-jisyo-to-be-searched-original
"*`skk-public-jisyo-has-word-p' $B$G;HMQ$9$k4X?t!#(B"
:type 'function
:group 'skk-dictionary)
(defcustom skk-jisyo (if skk-user-directory
(expand-file-name "jisyo" skk-user-directory)
(convert-standard-filename "~/.skk-jisyo"))
"*SKK $B$N8D?M<-=q!#(B"
:type '(radio (file :tag "$B<-=q%U%!%$%kL>(B")
(cons :tag "`skk-jisyo-code' $B$H0[$J$kJ8;z%3!<%I$r;HMQ$9$k>l9g(B"
(file :tag "PATH/TO/FILE")
(coding-system :tag "CODING-SYSTEM-NAME")))
:group 'skk-private)
(defcustom skk-backup-jisyo (if skk-user-directory
(expand-file-name "jisyo.bak"
skk-user-directory)
(convert-standard-filename "~/.skk-jisyo.BAK"))
"*SKK $B$N8D?M<-=q$N%P%C%/%"%C%W%U%!%$%k!#(B"
:type '(file :tag "$B<-=q%U%!%$%kL>(B")
:group 'skk-private)
(defcustom skk-jisyo-code nil
;; $B8=:_$N<BAu$K$Y$C$?$j$J@bL@$ONI$/$J$$$+$b(B
"*$B<-=q%P%C%U%!$N%3!<%G%#%s%0%7%9%F%`!#(B
$B4pK\E*$K$O(B coding system $BL>$r;XDj$9$k!#(B
$BJ8;zNs(B \"euc\", \"ujis\", \"sjis\", \"jis\" $B$N;XDj$b<u$1IU$1$k(B (`skk-coding-system-alist')$B!#(B
$B%G%U%)%k%H$O(B nil $B$G$"$j!"<-=q%P%C%U%!$N%3!<%G%#%s%0%7%9%F%`$O(B euc-jis-2004 $B$H$J$k(B (`skk-find-coding-system')$B!#(B
$B8D?M<-=q$b$3$N%3!<%G%#%s%0%7%9%F%`$GJ]B8$5$l$k!#(B"
:type '(radio coding-system
(radio :tag "$B%3!<%I$NDL>N(B"
(const "euc")
(const "ujis")
(const "sjis")
(const "jis"))
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-private)
(defcustom skk-share-private-jisyo nil "\
*Non-nil $B$G$"$l$P!"8D?M<-=q$r99?7$9$k:]$K!VJ#?t$N(B SKK $B%W%m%;%9$,FCDj$N8D(B
$B?M<-=q$r6&M-$7$F$$$k!W$r9MN8$7$?>e$G=hM}$r9T$&!#(B
SKK $B5/F08e$K$3$NJQ?t$NCM$rJQ99$7$?>l9g$O(B \\[skk-restart] $B$GH?1G$5$;$k;v!#(B"
:type 'boolean
:group 'skk-basic
:group 'skk-private)
(defcustom skk-jisyo-save-count 50
"*$B?tCM$G$"$l$P!"$=$N2s?t$@$18D?M<-=q$,99?7$5$l$?$H$-$K<+F0E*$K%;!<%V$9$k!#(B
nil $B$G$"$l$P!"8D?M<-=q$N%*!<%H%;!<%V$r9T$o$J$$!#(B
SKK $B5/F08e$G!"JQ?t(B `skk-share-private-jisyo' $B$,(B non-nil $B$J>l9g(B
$B$K(B `skk-jisyo-save-count' $B$NCM$rJQ99$7$?>l9g$O(B
\\[skk-restart] $B$GH?1G$5$;$k;v!#(B"
:type '(radio (integer :tag "$B@0?t(B" 50)
(const :tag "$B;XDj$7$J$$(B" nil))
:group 'skk-private)
(defcustom skk-count-private-jisyo-candidates-exactly nil
"*Non-nil $B$G$"$l$P!"(BEmacs $B$r=*N;$9$k$H$-$K(B `skk-record-file' $B$KJ]B8$5$l(B
$B$kE}7W>pJs$N!V8l?t!W$r@53N$K?t$($k!#(B
nil $B$G$"$l$P!"(B1 $B9T$KJ#?t$N8uJd$,$"$C$F$b(B 1 $B8uJd$H$7$F?t$($k!#(B"
:type 'boolean
:group 'skk-private)
(defcustom skk-compare-jisyo-size-when-saving t
"*Non-nil $B$G$"$l$P!"(B`skk-jisyo' $B$N%;!<%V;~$K%U%!%$%k%5%$%:$r%A%'%C%/$9$k!#(B
$BA02s%;!<%V$7$?(B `skk-jisyo' $B$H:#2s%;!<%V$7$h$&$H$9$k<-=q$H$N%5%$%:$rHf3S$7!"(B
$B8e<T$NJ}$,Bg$-$$$H$-$K%f!<%6!<$K%;!<%V$rB3$1$k$+$I$&$+$N3NG'$r5a$a$k!#(B"
:type 'boolean
:group 'skk-private)
(defcustom skk-search-excluding-word-pattern-function nil
"*$B!V!H8D?M<-=q$K<h$j9~$^$J$$J8;zNs$N%Q%?!<%s!I$r8!:w$9$k>r7o!W$r;XDj$9$k!#(B
$B$3$NJQ?t$K$O!"0z?t#18D$N4X?t!JKt$O4X?t$N%j%9%H!K$rBeF~$9$k!#(B
$BBeF~$7$?4X?t$O!"3NDj$7$?J8;zNs$r0z?t$K(B `skk-update-jisyo-p' $BFb$G(B `funcall' $B$5$l$k!#(B
$B$3$NJQ?t$N%G%U%)%k%H$O(B nil $B$G$"$k$?$a!"4X?t(B `skk-update-jisyo-p' $B$O(B t $B$rJV$9!#(B
$B4pK\E*$K!"$3$NJQ?t$O%U%C%/JQ?t$G$"$j!"$=$NCM$r@_Dj$7$?$$>l9g$K$O(B `add-hook'
$B$GDI2C$9$k$+(B `remove-hook' $B$G:o=|$9$k!#(B
SKK $B$G$O!"$+$J4A;zJQ49!&3NDj$r9T$C$?J8;zNs$OA4$F8D?M<-=q$K<h$j9~$^$l$k$,!"(B
$B$3$NJQ?t$G;XDj$5$l$?4X?t$,(B non-nil $B$rJV$9$H!"$=$NJ8;zNs$O8D?M<-=q$K<h$j9~(B
$B$^$l$J$$!#(B
$BNc$($P!"$3$NJQ?t$K2<5-$N$h$&$J(B lambda $B4X?t$r;XDj$9$k$H!"$+$J4A;zJQ49$K$h(B
$B$C$F(B (SKK abbrev mode $B$G$NJQ49$r=|$/(B) $B%+%?%+%J$N$_$+$i@.$kJ8;zNs$rF@$F3N(B
$BDj$7$F$b!"$=$l$r8D?M<-=q$K<h$j9~$^$J$$!#(B
(add-hook 'skk-search-excluding-word-pattern-function
(lambda (kakutei-word)
;; $B$3$N4X?t$,(B non-nil $B$rJV$7$?$H$-$O!"$=$NJ8;zNs$O8D?M(B
;; $B<-=q$K<h$j9~$^$l$J$$!#(B
(and
;; $BAw$j$J$7JQ49$G!"(B
(not skk-okuri-char)
;; $B3NDj8l$,%+%?%+%J$N$_$+$i9=@.$5$l$F$$$F!"(B
(string-match \"^[$B!<%!(B-$B%s(B]+$\" kakutei-word)
;; SKK abbrev mode $B0J30$G$NJQ49$+!"(B
(or (not skk-abbrev-mode)
;; $B8+=P$78l$,%+%?%+%J!"$R$i$,$J0J30$N$H$-!#(B
;; ($B8e$G"&%^!<%/$rIU$1$?$H$-$O!"8+=P$78l$,1QJ8;z$G$b!"(B
;; skk-abbrev-mode$B$,(B t $B$K$J$C$F$$$J$$(B)$B!#(B
(not (string-match \"^[^$B!<%!(B-$B%s$!(B-$B$s(B]+$\"
skk-henkan-key))))))
$B!V$+$J4A;zJQ49$K$h$C$F%+%?%+%J$r5a$a$?$$$,!"8D?M<-=q$K$O%+%?%+%J$N$_$N8u(B
$BJd$r<h$j9~$_$?$/$J$$!W$J$I!"8D?M<-=q$,I,MW0J>e$KKD$l$k$N$rM^$($kL\E*$K;H(B
$BMQ$G$-$k!#(B
$B$J$*!"8D?M<-=q$K<h$j9~$^$J$$8+=P$78l$K$D$$$F$O!"Jd40$,8z$+$J$$$N$GCm0U$9(B
$B$k$3$H!#(B"
:type 'hook
:group 'skk-private)
(defcustom skk-update-jisyo-function 'skk-update-jisyo-original
"*$B$3$NJQ?t$,;X$94X?t$O!"4X?t(B `skk-update-jisyo' $B$K$F(B funcall $B$G<B9T$5$l$k!#(B"
:type 'function
:group 'skk-private)
(defcustom skk-save-jisyo-function 'skk-save-jisyo-original
"*$B$3$NJQ?t$,;X$94X?t$O!"(B $B4X?t(B `skk-save-jisyo' $B$K$F(B funcall $B$G<B9T$5$l$k!#(B"
:type 'function
:group 'skk-private)
(defcustom skk-update-end-function nil
"*$B8D?M<-=q$N99?7=*N;;~$K%3!<%k$5$l$k4X?t!#(B
HENKAN-BUFFER, MIDASI, OKURIGANA, WORD, PURGE $B$N(B 5 $B0z?t$rH<$J$C$F%3!<%k$5$l$k!#(B
$B$3$N4X?t$O!"<-=q%P%C%U%!$G%3!<%k$5$l$k$N$G!"JQ49$r9T$C$?%P%C%U%!%m!<%+%k$J(B
$B>pJs$r<h$j=P$7$?$$$H$-$O!"(BHENKAN-BUFFER $B$rMxMQ$9$k!#(B
`skk-kakutei-initialize' $B$,%3!<%k$5$l$kA0$K$3$N4X?t$,%3!<%k$5$l$k$N$G!":G8e$N(B
$B3NDj$K4X$9$k%U%i%0N`$O!"$3$N4X?t$NCf$+$i;2>H$9$k$3$H$,$G$-$k!#(B"
:type '(list symbol)
:group 'skk-private)
(defcustom skk-learn-combined-word nil
"*$B@\F,<-!"@\Hx<-$NF~NO$N7k2L$r<+F0E*$K3X=,$9$k$+$I$&$+$r@_Dj$9$k!#(B
Non-nil $B$J$i$P!"@\F,<-$^$?$O@\Hx<-F~NO$N:]!"@\F,<-$^$?$O@\Hx<-$H7k9g$7$?(B
$B8l$r<+F0E*$K3X=,$9$k!#(B"
:type 'boolean
:group 'skk-private)
(defcustom skk-save-jisyo-instantly nil
"*non-nil $B$G$"$l$P!"C18lEPO?!JC18l:o=|!K$NETEY!"8D?M<-=q$rJ]B8$9$k!#(B"
:type 'boolean
:group 'skk-private)
(defvar skk-jisyo-updated nil
"`skk-henkan-in-minibuff' ($BC18lEPO?(B) $B$5$l$l$P(B t $B$H$J$k!#(B
`skk-update-jisyo' $B$G;2>H$7$F$$$k!#(B")
(defcustom skk-rom-kana-base-rule-list
'(("a" nil ("$B%"(B" . "$B$"(B"))
("bb" "b" ("$B%C(B" . "$B$C(B"))
("ba" nil ("$B%P(B" . "$B$P(B"))
("be" nil ("$B%Y(B" . "$B$Y(B"))
("bi" nil ("$B%S(B" . "$B$S(B"))
("bo" nil ("$B%\(B" . "$B$\(B"))
("bu" nil ("$B%V(B" . "$B$V(B"))
("bya" nil ("$B%S%c(B" . "$B$S$c(B"))
("bye" nil ("$B%S%'(B" . "$B$S$'(B"))
("byi" nil ("$B%S%#(B" . "$B$S$#(B"))
("byo" nil ("$B%S%g(B" . "$B$S$g(B"))
("byu" nil ("$B%S%e(B" . "$B$S$e(B"))
("cc" "c" ("$B%C(B" . "$B$C(B"))
("cha" nil ("$B%A%c(B" . "$B$A$c(B"))
("che" nil ("$B%A%'(B" . "$B$A$'(B"))
("chi" nil ("$B%A(B" . "$B$A(B"))
("cho" nil ("$B%A%g(B" . "$B$A$g(B"))
("chu" nil ("$B%A%e(B" . "$B$A$e(B"))
("cya" nil ("$B%A%c(B" . "$B$A$c(B"))
("cye" nil ("$B%A%'(B" . "$B$A$'(B"))
("cyi" nil ("$B%A%#(B" . "$B$A$#(B"))
("cyo" nil ("$B%A%g(B" . "$B$A$g(B"))
("cyu" nil ("$B%A%e(B" . "$B$A$e(B"))
("dd" "d" ("$B%C(B" . "$B$C(B"))
("da" nil ("$B%@(B" . "$B$@(B"))
("de" nil ("$B%G(B" . "$B$G(B"))
("dha" nil ("$B%G%c(B" . "$B$G$c(B"))
("dhe" nil ("$B%G%'(B" . "$B$G$'(B"))
("dhi" nil ("$B%G%#(B" . "$B$G$#(B"))
("dho" nil ("$B%G%g(B" . "$B$G$g(B"))
("dhu" nil ("$B%G%e(B" . "$B$G$e(B"))
("di" nil ("$B%B(B" . "$B$B(B"))
("do" nil ("$B%I(B" . "$B$I(B"))
("du" nil ("$B%E(B" . "$B$E(B"))
("dya" nil ("$B%B%c(B" . "$B$B$c(B"))
("dye" nil ("$B%B%'(B" . "$B$B$'(B"))
("dyi" nil ("$B%B%#(B" . "$B$B$#(B"))
("dyo" nil ("$B%B%g(B" . "$B$B$g(B"))
("dyu" nil ("$B%B%e(B" . "$B$B$e(B"))
("e" nil ("$B%((B" . "$B$((B"))
("ff" "f" ("$B%C(B" . "$B$C(B"))
("fa" nil ("$B%U%!(B" . "$B$U$!(B"))
("fe" nil ("$B%U%'(B" . "$B$U$'(B"))
("fi" nil ("$B%U%#(B" . "$B$U$#(B"))
("fo" nil ("$B%U%)(B" . "$B$U$)(B"))
("fu" nil ("$B%U(B" . "$B$U(B"))
("fya" nil ("$B%U%c(B" . "$B$U$c(B"))
("fye" nil ("$B%U%'(B" . "$B$U$'(B"))
("fyi" nil ("$B%U%#(B" . "$B$U$#(B"))
("fyo" nil ("$B%U%g(B" . "$B$U$g(B"))
("fyu" nil ("$B%U%e(B" . "$B$U$e(B"))
("gg" "g" ("$B%C(B" . "$B$C(B"))
("ga" nil ("$B%,(B" . "$B$,(B"))
("ge" nil ("$B%2(B" . "$B$2(B"))
("gi" nil ("$B%.(B" . "$B$.(B"))
("go" nil ("$B%4(B" . "$B$4(B"))
("gu" nil ("$B%0(B" . "$B$0(B"))
("gya" nil ("$B%.%c(B" . "$B$.$c(B"))
("gye" nil ("$B%.%'(B" . "$B$.$'(B"))
("gyi" nil ("$B%.%#(B" . "$B$.$#(B"))
("gyo" nil ("$B%.%g(B" . "$B$.$g(B"))
("gyu" nil ("$B%.%e(B" . "$B$.$e(B"))
;;("h" "" ("$B%*(B" . "$B$*(B"))
("ha" nil ("$B%O(B" . "$B$O(B"))
("he" nil ("$B%X(B" . "$B$X(B"))
("hi" nil ("$B%R(B" . "$B$R(B"))
("ho" nil ("$B%[(B" . "$B$[(B"))
("hu" nil ("$B%U(B" . "$B$U(B"))
("hya" nil ("$B%R%c(B" . "$B$R$c(B"))
("hye" nil ("$B%R%'(B" . "$B$R$'(B"))
("hyi" nil ("$B%R%#(B" . "$B$R$#(B"))
("hyo" nil ("$B%R%g(B" . "$B$R$g(B"))
("hyu" nil ("$B%R%e(B" . "$B$R$e(B"))
("i" nil ("$B%$(B" . "$B$$(B"))
("jj" "j" ("$B%C(B" . "$B$C(B"))
("ja" nil ("$B%8%c(B" . "$B$8$c(B"))
("je" nil ("$B%8%'(B" . "$B$8$'(B"))
("ji" nil ("$B%8(B" . "$B$8(B"))
("jo" nil ("$B%8%g(B" . "$B$8$g(B"))
("ju" nil ("$B%8%e(B" . "$B$8$e(B"))
("jya" nil ("$B%8%c(B" . "$B$8$c(B"))
("jye" nil ("$B%8%'(B" . "$B$8$'(B"))
("jyi" nil ("$B%8%#(B" . "$B$8$#(B"))
("jyo" nil ("$B%8%g(B" . "$B$8$g(B"))
("jyu" nil ("$B%8%e(B" . "$B$8$e(B"))
("kk" "k" ("$B%C(B" . "$B$C(B"))
("ka" nil ("$B%+(B" . "$B$+(B"))
("ke" nil ("$B%1(B" . "$B$1(B"))
("ki" nil ("$B%-(B" . "$B$-(B"))
("ko" nil ("$B%3(B" . "$B$3(B"))
("ku" nil ("$B%/(B" . "$B$/(B"))
("kya" nil ("$B%-%c(B" . "$B$-$c(B"))
("kye" nil ("$B%-%'(B" . "$B$-$'(B"))
("kyi" nil ("$B%-%#(B" . "$B$-$#(B"))
("kyo" nil ("$B%-%g(B" . "$B$-$g(B"))
("kyu" nil ("$B%-%e(B" . "$B$-$e(B"))
("ma" nil ("$B%^(B" . "$B$^(B"))
("me" nil ("$B%a(B" . "$B$a(B"))
("mi" nil ("$B%_(B" . "$B$_(B"))
("mo" nil ("$B%b(B" . "$B$b(B"))
("mu" nil ("$B%`(B" . "$B$`(B"))
("mya" nil ("$B%_%c(B" . "$B$_$c(B"))
("mye" nil ("$B%_%'(B" . "$B$_$'(B"))
("myi" nil ("$B%_%#(B" . "$B$_$#(B"))
("myo" nil ("$B%_%g(B" . "$B$_$g(B"))
("myu" nil ("$B%_%e(B" . "$B$_$e(B"))
("n" nil ("$B%s(B" . "$B$s(B"))
("n'" nil ("$B%s(B" . "$B$s(B"))
("na" nil ("$B%J(B" . "$B$J(B"))
("ne" nil ("$B%M(B" . "$B$M(B"))
("ni" nil ("$B%K(B" . "$B$K(B"))
("nn" nil ("$B%s(B" . "$B$s(B"))
("no" nil ("$B%N(B" . "$B$N(B"))
("nu" nil ("$B%L(B" . "$B$L(B"))
("nya" nil ("$B%K%c(B" . "$B$K$c(B"))
("nye" nil ("$B%K%'(B" . "$B$K$'(B"))
("nyi" nil ("$B%K%#(B" . "$B$K$#(B"))
("nyo" nil ("$B%K%g(B" . "$B$K$g(B"))
("nyu" nil ("$B%K%e(B" . "$B$K$e(B"))
("o" nil ("$B%*(B" . "$B$*(B"))
("pp" "p" ("$B%C(B" . "$B$C(B"))
("pa" nil ("$B%Q(B" . "$B$Q(B"))
("pe" nil ("$B%Z(B" . "$B$Z(B"))
("pi" nil ("$B%T(B" . "$B$T(B"))
("po" nil ("$B%](B" . "$B$](B"))
("pu" nil ("$B%W(B" . "$B$W(B"))
("pya" nil ("$B%T%c(B" . "$B$T$c(B"))
("pye" nil ("$B%T%'(B" . "$B$T$'(B"))
("pyi" nil ("$B%T%#(B" . "$B$T$#(B"))
("pyo" nil ("$B%T%g(B" . "$B$T$g(B"))
("pyu" nil ("$B%T%e(B" . "$B$T$e(B"))
("rr" "r" ("$B%C(B" . "$B$C(B"))
("ra" nil ("$B%i(B" . "$B$i(B"))
("re" nil ("$B%l(B" . "$B$l(B"))
("ri" nil ("$B%j(B" . "$B$j(B"))
("ro" nil ("$B%m(B" . "$B$m(B"))
("ru" nil ("$B%k(B" . "$B$k(B"))
("rya" nil ("$B%j%c(B" . "$B$j$c(B"))
("rye" nil ("$B%j%'(B" . "$B$j$'(B"))
("ryi" nil ("$B%j%#(B" . "$B$j$#(B"))
("ryo" nil ("$B%j%g(B" . "$B$j$g(B"))
("ryu" nil ("$B%j%e(B" . "$B$j$e(B"))
("ss" "s" ("$B%C(B" . "$B$C(B"))
("sa" nil ("$B%5(B" . "$B$5(B"))
("se" nil ("$B%;(B" . "$B$;(B"))
("sha" nil ("$B%7%c(B" . "$B$7$c(B"))
("she" nil ("$B%7%'(B" . "$B$7$'(B"))
("shi" nil ("$B%7(B" . "$B$7(B"))
("sho" nil ("$B%7%g(B" . "$B$7$g(B"))
("shu" nil ("$B%7%e(B" . "$B$7$e(B"))
("si" nil ("$B%7(B" . "$B$7(B"))
("so" nil ("$B%=(B" . "$B$=(B"))
("su" nil ("$B%9(B" . "$B$9(B"))
("sya" nil ("$B%7%c(B" . "$B$7$c(B"))
("sye" nil ("$B%7%'(B" . "$B$7$'(B"))
("syi" nil ("$B%7%#(B" . "$B$7$#(B"))
("syo" nil ("$B%7%g(B" . "$B$7$g(B"))
("syu" nil ("$B%7%e(B" . "$B$7$e(B"))
("tt" "t" ("$B%C(B" . "$B$C(B"))
("ta" nil ("$B%?(B" . "$B$?(B"))
("te" nil ("$B%F(B" . "$B$F(B"))
("tha" nil ("$B%F%!(B" . "$B$F$!(B"))
("the" nil ("$B%F%'(B" . "$B$F$'(B"))
("thi" nil ("$B%F%#(B" . "$B$F$#(B"))
("tho" nil ("$B%F%g(B" . "$B$F$g(B"))
("thu" nil ("$B%F%e(B" . "$B$F$e(B"))
("ti" nil ("$B%A(B" . "$B$A(B"))
("to" nil ("$B%H(B" . "$B$H(B"))
("tsu" nil ("$B%D(B" . "$B$D(B"))
("tu" nil ("$B%D(B" . "$B$D(B"))
("tya" nil ("$B%A%c(B" . "$B$A$c(B"))
("tye" nil ("$B%A%'(B" . "$B$A$'(B"))
("tyi" nil ("$B%A%#(B" . "$B$A$#(B"))
("tyo" nil ("$B%A%g(B" . "$B$A$g(B"))
("tyu" nil ("$B%A%e(B" . "$B$A$e(B"))
("u" nil ("$B%&(B" . "$B$&(B"))
("vv" "v" ("$B%C(B" . "$B$C(B"))
("va" nil ("$B%t%!(B" . "$B$&!+$!(B"))
("ve" nil ("$B%t%'(B" . "$B$&!+$'(B"))
("vi" nil ("$B%t%#(B" . "$B$&!+$#(B"))
("vo" nil ("$B%t%)(B" . "$B$&!+$)(B"))
("vu" nil ("$B%t(B" . "$B$&!+(B"))
("ww" "w" ("$B%C(B" . "$B$C(B"))
("wa" nil ("$B%o(B" . "$B$o(B"))
("we" nil ("$B%&%'(B" . "$B$&$'(B"))
("wi" nil ("$B%&%#(B" . "$B$&$#(B"))
("wo" nil ("$B%r(B" . "$B$r(B"))
("wu" nil ("$B%&(B" . "$B$&(B"))
("xx" "x" ("$B%C(B" . "$B$C(B"))
("xa" nil ("$B%!(B" . "$B$!(B"))
("xe" nil ("$B%'(B" . "$B$'(B"))
("xi" nil ("$B%#(B" . "$B$#(B"))
("xka" nil ("$B%u(B" . "$B$+(B"))
("xke" nil ("$B%v(B" . "$B$1(B"))
("xo" nil ("$B%)(B" . "$B$)(B"))
("xtsu" nil ("$B%C(B" . "$B$C(B"))
("xtu" nil ("$B%C(B" . "$B$C(B"))
("xu" nil ("$B%%(B" . "$B$%(B"))
("xwa" nil ("$B%n(B" . "$B$n(B"))
("xwe" nil ("$B%q(B" . "$B$q(B"))
("xwi" nil ("$B%p(B" . "$B$p(B"))
("xya" nil ("$B%c(B" . "$B$c(B"))
("xyo" nil ("$B%g(B" . "$B$g(B"))
("xyu" nil ("$B%e(B" . "$B$e(B"))
("yy" "y" ("$B%C(B" . "$B$C(B"))
("ya" nil ("$B%d(B" . "$B$d(B"))
("ye" nil ("$B%$%'(B" . "$B$$$'(B"))
("yo" nil ("$B%h(B" . "$B$h(B"))
("yu" nil ("$B%f(B" . "$B$f(B"))
("zz" "z" ("$B%C(B" . "$B$C(B"))
("z " nil "$B!!(B")
("z*" nil "$B"((B")
("z," nil "$B!E(B")
("z-" nil "$B!A(B")
("z." nil "$B!D(B")
("z/" nil "$B!&(B")
("z0" nil "$B!{(B")
("z:" nil "$(O!,(B")
("z;" nil "$(O!+(B")
("z@" nil "$B!}(B")
("z[" nil "$B!X(B")
("z]" nil "$B!Y(B")
("z{" nil "$B!Z(B")
("z}" nil "$B![(B")
("z(" nil "$B!J(B")
("z)" nil "$B!K(B")
("za" nil ("$B%6(B" . "$B$6(B"))
("ze" nil ("$B%<(B" . "$B$<(B"))
("zh" nil "$B"+(B")
("zi" nil ("$B%8(B" . "$B$8(B"))
("zj" nil "$B"-(B")
("zk" nil "$B",(B")
("zl" nil "$B"*(B")
("zL" nil "$B"M(B")
("zn" nil "$B!<(B")
("zo" nil ("$B%>(B" . "$B$>(B"))
("zu" nil ("$B%:(B" . "$B$:(B"))
("zya" nil ("$B%8%c(B" . "$B$8$c(B"))
("zye" nil ("$B%8%'(B" . "$B$8$'(B"))
("zyi" nil ("$B%8%#(B" . "$B$8$#(B"))
("zyo" nil ("$B%8%g(B" . "$B$8$g(B"))
("zyu" nil ("$B%8%e(B" . "$B$8$e(B"))
("." nil skk-auto-kutouten)
("," nil skk-auto-kutouten)
("-" nil skk-auto-kutouten)
(":" nil "$B!'(B")
(";" nil "$B!((B")
("?" nil "$B!)(B")
("[" nil "$B!V(B")
("]" nil "$B!W(B")
("l" nil skk-latin-mode)
("q" nil skk-toggle-characters)
("L" nil skk-jisx0208-latin-mode)
("Q" nil skk-set-henkan-point-subr)
("X" nil skk-purge-from-jisyo)
("/" nil skk-abbrev-mode)
("$" nil skk-display-code-for-char-at-point)
("@" nil skk-today)
("\\" nil skk-input-by-code-or-menu)
(skk-kakutei-key nil skk-kakutei)
;; XXX
;;("\t" nil skk-insert)
;;("," nil skk-previous-candidate)
;;("\M-\040" nil skk-comp-start-henkan); M-SPC
;;("\M-\121" nil skk-backward-and-set-henkan-point); M-Q
)
;; $B%3%s%9%?%s%H$K$7$F$7$^$o$J$$$N$O!"%m!<%^;zF~NO$H$OA4$/JL$N@_Dj$r(B
;; $B$9$k?M$b$$$k$+$i$G$9!#(B
"*$B%-!<F~NO$r$$$+$K=hM}$9$k$+$rI=$9!">uBVA+0\5,B'$N%j%9%H!#(B
$B%j%9%H$N3FMWAG$O!"$=$l$>$l$,0l$D$N5,B'$G$"$j!"2<5-$N7A<0$rK~$?$7$F$$$J$1$l$P(B
$B$J$i$J$$!#(B
(INPUT-STATE NEXT-STATE OUTPUT)
SKK $B$O(B INPUT-STATE $B$r8!=P$9$k$H!"(BOUTPUT $B$r%P%C%U%!$KA^F~$7!"B3$$$F(B
NEXT-STATE $B$K>uBV$r0\$7$?$&$($G!"F~NOBT$A>uBV$H$J$k!#(B
$BNc$($P!"(B
(\"a\" nil (\"$B%"(B\" . \"$B$"(B\"))
(\"ki\" nil (\"$B%-(B\" . \"$B$-(B\"))
(\"tt\" \"t\" (\"$B%C(B\" . \"$B$C(B\"))
(\"nn\" nil (\"$B%s(B\" . \"$B$s(B\"))
(\"n'\" nil (\"$B%s(B\" . \"$B$s(B\"))
$B>e5-$N5,B'$O!"$=$l$>$l!"(B
a => $B$"(B
ki => $B$-(B
tt => $B$C(Bt
nn => $B$s(B
n' => $B$s(B
$B$3$N$h$&$K>uBV$,0\$jJQ$o$k$3$H$r0UL#$9$k!#(B
INPUT-STATE $B5Z$S(B NEXT-STATE $B$O!"DL>o(B US-ASCII $BJ8;z$+$i@.$kJ8;zNs$rMQ$$$k!#(B
$B$?$@$7!"FCJL$J>l9g$K$O(B INPUT-STATE $B$K$=$l0J30$NJ8;zNs$r;XDj$9$k$3$H$,$"$k!#(B
OUTPUT $B$K$O!"0J2<$N(B 3$B$D$N7A<0$r;XDj$G$-$k!#(B
$BJ8;zNs(B -- $B$+$J%b!<%I!"%+%J%b!<%I$H$b!"$3$l$,A^F~$5$l$k!#(B
$BJ8;zNs$HJ8;zNs$N%;%k(B ($B%I%C%H%Z%"(B)
-- $B$+$J%b!<%I$K$*$$$F$O(B CDR $B$N!"%+%J%b!<%I$K$*$$$F$O(B CAR $B$NJ8;zNs$,!"(B
$B$=$l$>$lA^F~$5$l$k!#(B
$B4X?tL>%7%s%\%k(B
-- $B4X?t$r<B9T$9$k!#$b$7$=$N4X?t$NJV$jCM$,J8;zNs$J$i$P!"$=$NJ8;zNs$r(B
$BA^F~$9$k!#(B
$BF1MM$N5,B'$rI=$9JQ?t$K(B `skk-rom-kana-rule-list' $B$,$"$k!#(BSKK $B$ON>J}$N5,B'$rMx(B
$BMQ$9$k$,!"(B `skk-rom-kana-rule-list' $B$NJ}$,M%@h$5$l$k!#=>$C$F%f!<%6$,FH<+$N5,(B
$BB'$r@_Dj$7$?$$>l9g$K$O!"(B`skk-rom-kana-rule-list' $B$NJ}$r;H$&$N$,$h$$!#(B"
:type '(repeat
(list :tag "$B%k!<%k(B"
(radio :tag "1 $BF~NO(B"