Author: yamakenz
Date: Sun Sep 16 08:25:34 2007
New Revision: 4971

Modified:
   trunk/scm/japanese.scm

Log:
* This commit completes the kana-input hack by Yusuke. Now the
  distinction between kana_RO key and yen sign key are correctly
  working for GTK+ bridge

* scm/japanese.scm
  - (ja-rk-rule-basic, japanese-roma-set-yen-representation): Replace
    fullwidth yen sign for romaji-halfwidth-kana-mode and
    alphanumeric-mode since users just expect to input character code
    134 rather than yen sign symbol


Modified: trunk/scm/japanese.scm
==============================================================================
--- trunk/scm/japanese.scm      (original)
+++ trunk/scm/japanese.scm      Sun Sep 16 08:25:34 2007
@@ -63,7 +63,13 @@
     ((("?"). ())("��" "��" "?"))
     ((("/"). ())("��" "��" "/"))
     ((("_"). ())("��" "��" "_"))
-    ((("yen"). ())("��" "��" "��")) ;; XXX
+    ;; Since ordinary Japanese users press the "yen sign" key on
+    ;; Japanese keyboard in romaji-halfwidth-kana-mode "to input
+    ;; character code 134" rather than "to input yen sign symbol", I
+    ;; changed the fullwidth yen sign with backslash.
+    ;;   -- YamaKen 2007-09-17
+    ;; ((("yen"). ())("��" "��" "��")) ;; XXX
+    ((("yen"). ())("��" "��" "\\"))
 
     ((("1"). ())("1" "1" "1"))
     ((("2"). ())("2" "2" "2"))
@@ -901,7 +907,13 @@
 
 (define japanese-roma-set-yen-representation
   (lambda ()
-    (set-symbol-value! 'yen "��"))) ;; XXX
+    ;; Since ordinary Japanese users press the "yen sign" key on
+    ;; Japanese keyboard in alphanumeric-mode "to input character code
+    ;; 134" rather than "to input yen sign symbol", I changed the
+    ;; fullwidth yen sign with backslash.  -- YamaKen 2007-09-17
+    ;;(set-symbol-value! 'yen "��")  ;; XXX
+    (set-symbol-value! 'yen "\\")
+    ))
 
 ;;
 (require "rk.scm")

Reply via email to