[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 08:05:33 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 mover at hct.zaq.ne.jp 2005-02-04 22:05 -------
The result of following evaluations.
debian% uim-sh
uim> (retrieve-im 'direct)
(direct "*" "UTF-8" "Direct" "Pass through all user input without any
modification" () #<CLOSURE (id fake-im fake-arg) (let* ((stub-im (retrieve-im
name)) (stub-im-init-handler (and stub-im (im-init-handler stub-im)))) (and
(require-module module-name) (let* ((im (retrieve-im name)) (init-handler
(im-init-handler im)) (arg (im-init-arg im)) (context (if (not (eq?
init-handler stub-im-init-handler)) (init-handler id im arg) (begin (error
"stub IM actualization failed") ())))) context)))> () () () () () () () ()
"direct")
uim> (and (create-context 0 #f 'direct) #t)
1
uim> (retrieve-im 'direct)
(direct "*" "UTF-8" "Direct" "Pass through all user input without any
modification" () #<CLOSURE (id im arg) (let-internal (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))> "direct")
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the uim-bugs
mailing list