Function: kkc-select-from-list
kkc-select-from-list is an interactive and byte-compiled function
defined in kkc.el.gz.
Signature
(kkc-select-from-list)
Documentation
Select one candidate from the list currently shown in echo area.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/international/kkc.el.gz
(defun kkc-select-from-list ()
"Select one candidate from the list currently shown in echo area."
(interactive)
(let (idx)
(if kkc-current-conversions-width
(let ((len (length kkc-show-conversion-list-index-chars))
(maxlen (- (aref (aref kkc-current-conversions-width 0) 1)
(aref (aref kkc-current-conversions-width 0) 0)))
(i 0))
(if (> len maxlen)
(setq len maxlen))
(while (< i len)
(if (= (aref kkc-show-conversion-list-index-chars i)
last-input-event)
(setq idx i i len)
(setq i (1+ i))))))
(if idx
(progn
(setcar kkc-current-conversions
(+ (aref (aref kkc-current-conversions-width 0) 0) idx))
(kkc-show-conversion-list-update)
(kkc-update-conversion))
(setq unread-input-method-events
(cons last-input-event unread-input-method-events))
(kkc-terminate))))