[Uim-bugs] [Bug 2471] uim-pref crashes when there's no ~/.uim.d directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 5 10:15:22 EET 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2471          
     




------- Additional Comments From yamaken at bp.iij4u.or.jp  2005-02-05 00:15 -------
> I've found how to reproduce this bug. 
> Please set default IM to "direct" inputmethod from uim-pref-gtk. 
> If not reproduced, please reply. 

Reproduced and fixed. Thank you for cooperation.

(In reply to comment #13)
> $cd scm; svn diff 
> shows nothing about the changes of init.scm 

What I meant is whether the file is actually installed or not (although rare
condition).

> And previous patch also seems to write the output to loader.scm 

Put into loader.scm is intended behavior. But I had forgotten forming the
closure as comment...

Index: scm/im.scm
===================================================================
--- scm/im.scm  (revision 536)
+++ scm/im.scm  (working copy)
@@ -109,8 +109,14 @@
   (lambda (name lang encoding name-label short-desc init-arg init release
                mode key-press key-release reset
                get-candidate set-candidate-index prop)
+    (print (string-append "register-im has been invoked: im="
+                         (symbol->string name)
+                         "\n"))
+    (puts ";; ")
+    (print init)
     (and (or (null? enabled-im-list)  ;; bootstrap
-            (memq name enabled-im-list))
+            (memq name enabled-im-list)
+            (eq? name 'direct))  ;; direct IM must always be enabled
         (let ((im (im-new name lang encoding name-label short-desc
                           init-arg init release
                           mode key-press key-release reset
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the uim-bugs mailing list