[Uim] Re: What should be done until 0.4.6

YamaKen yamaken at bp.iij4u.or.jp
Sat Jan 8 16:51:05 EET 2005


At Sat, 08 Jan 2005 11:54:31 +0100,
mfabian at suse.de wrote:
> when using default configure options, r165 still crashes for me
> in de_DE.UTF-8 on i386 (ja_JP.UTF-8 works. It doesn't crash on x86_64
> in de_DE.UTF-8 either):
> 
>     mike at kibou:~$ LANG=de_DE.UTF-8 uim-xim
(snip)
>     Supported conversion engines:
(snip)
>       direct ()

This line is weird. It must always show 'direct (*)'.

Please check following 2 status.

1. bottom of direct.scm installed in your environment

  Compare 3rd line of following code fragment.

(register-im
 'direct
 "*"  ;; wildcard language. see i18n.scm
 "UTF-8"
 (N_ "Direct input method mainly used for latin languages")
 #f
 direct-init-handler
 direct-release-handler
 context-mode-handler
 direct-key-press-handler
 direct-key-release-handler
 direct-reset-handler
 direct-get-candidate-handler
 direct-set-candidate-index-handler
 context-prop-activate-handler)


2. run uim-sh and type as below

  $ uim-sh
  uim> (find-im-for-locale "de_DE.UTF-8")

  Proper result is following.

  (direct "*" "UTF-8" "Direct input method mainly used for latin languages" () #<CLOSURE (id im arg) (let ((dc (direct-context-new id im))) dc)> #<CLOSURE (dc) ()> #<CLOSURE (context mode) (let* ((mode-widget (context-find-mode-widget context)) (act-id (and mode-widget (widget-mode-value->action-id mode-widget mode)))) (and act-id (widget-activate! mode-widget act-id)))> #<CLOSURE (dc key state) (im-commit-raw dc)> #<CLOSURE (dc key state) (im-commit-raw dc)> #<CLOSURE (dc) ()> #<CLOSURE (dc idx) ()> #<CLOSURE (dc idx) ()> #<CLOSURE (context message) (let* ((widgets (context-widgets context)) (act-id (string->symbol message)) (activate! (lambda (widget) (let* ((actions (widget-actions widget)) (action (assq act-id actions)) (indicator (widget-indicator widget))) (or (widget-activate! widget action) (widget-activate! widget indicator)))))) (find activate! widgets))>)

-------------------------------
YamaKen  yamaken at bp.iij4u.or.jp



More information about the uim mailing list