;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
;; 02111-1307, USA.
-;;; <li> ja-anthy.mim
-;;;
-;;; Japanese input method using Anthy as a background conversion
-;;; program. It uses the loadable module libmimx-anthy.so to
-;;; communicate with Anthy. For more detail about Anthy, see the page
-;;; http://sourceforge.jp/projects/anthy/.
-
-(description
- "Japanese input method using Anthy as a background conversion program"
- "Typed roma-ji is at first converted to Hiragana,
+(input-method ja anthy)
+
+(description "Japanese input method with Anthy as a kana-kanji converter.
+Typed roma-ji is at first converted to Hiragana,
and Space key converts the Hiragana sequences
-to Kanji-Hiragana mixed sequence.")
+to Kanji-Hiragana mixed sequence.
+
+This input method uses the loadable module libmimx-anthy.so to
+communicate with Anthy. For more detail about Anthy, see the page
+ <http://sourceforge.jp/projects/anthy/>.
+")
(variable
(input-mode
- ("Hiragana or Katakana" "Select Hiragana or Katakana")
+ "Hiragana or Katakana
+Select Hiragana or Katakana"
hiragana
hiragana katakana)
- (zen-han ("Zenkaku or Hankaku")
- zenkaku
- hankaku))
+ (zen-han
+ "Zenkaku or Hankaku"
+ zenkaku
+ hankaku))
(command
(henkan
- "Convert" "Convert Hiragana to Kanji"
+ "Convert
+Convert Hiragana to Kanji"
(\ )
(Henkan)))
(title "aあ")
+
(map
(starter
("a") ("i") ("u") ("e") ("o")
("ff"))
(henkan
- ((Henkan))
- (" "))
+ (" ")
+ ((Henkan)))
(kakutei
((Return))
(state
(init
+ "aあ"
(starter (pushback 1) (shift pre-henkan)))
(pre-henkan
(henkan
"漢"
+ (t (set K @@) (sub K 1))
(henkan-edit)
(change-candidate (call libmimx-anthy change) (show) (shift henkan2))
(kakutei (call libmimx-anthy commit) (shift init))
- (nil (shift init)))
+ (backspace (undo K))
+ (nil (call libmimx-anthy commit) (shift init)))
(henkan2
"漢"
(change-candidate (call libmimx-anthy change) (show))
+ (backspace (undo K))
(nil (hide) (shift henkan)))
(fail