[uim-commit] r251 - trunk/scm

ekato@freedesktop.org ekato@freedesktop.org
Tue Jan 11 04:30:17 PST 2005


Author: ekato
Date: 2005-01-11 04:30:10 -0800 (Tue, 11 Jan 2005)
New Revision: 251

Modified:
   trunk/scm/skk.scm
Log:
* scm/skk.scm (skk-proc-state-direct) : Update comment about
  code committed in r246.  Update code on key events with
  modifiers.



Modified: trunk/scm/skk.scm
===================================================================
--- trunk/scm/skk.scm	2005-01-11 11:23:06 UTC (rev 250)
+++ trunk/scm/skk.scm	2005-01-11 12:30:10 UTC (rev 251)
@@ -843,7 +843,8 @@
 	     (set! res (rk-push-key-last! rkc))
 	     #f)
 	   #t)
-       ;; commits with flushing pending rk, and adds explicit newline. 
+       ;; commits "n" as kana according to kana-mode, and send
+       ;; native return
        (if (skk-return-key? key key-state)
 	   (begin
 	     (set! res (rk-push-key-last! rkc))
@@ -918,10 +919,10 @@
 	     #f)
 	   #t)
        ;; bad strategy. see bug #528
-       (if (or
-	    (control-key-mask key-state)
-	    (alt-key-mask key-state)
-	    (= key 32))  ;; "<Control> ", "<Alt> ", and so on
+       ;; "<Control>a", "<Alt> ", "<Meta>b" and so on
+       (if (and
+	     (modifier-key-mask key-state)
+	     (not (shift-key-mask key-state)))
 	   (begin
 	     (skk-flush sc)
 	     (skk-commit-raw-with-preedit-update sc key key-state)



More information about the Uim-commit mailing list