|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2010年07月31日(土) 旧暦 [n年日記] [更新:"2010/08/03 15:31:00"]#1 [Emacs] Can't activate input method `japanese-egg-anthy'
Creating wip/egg-anthy package with tamago + anthy-elisp + egg-anthy (of shirai San).
But having problem now: Can't activate input method `japanese-egg-anthy'
zcat /usr/pkg/share/emacs/23.2/lisp/international/mule-cmds.el.gz | cat -n 1415 (defun activate-input-method (input-method) 1416 "Switch to input method INPUT-METHOD for the current buffer. 1417 If some other input method is already active, turn it off first. 1418 If INPUT-METHOD is nil, deactivate any current input method." 1419 (if (and input-method (symbolp input-method)) 1420 (setq input-method (symbol-name input-method))) 1421 (if (and current-input-method 1422 (not (string= current-input-method input-method))) 1423 (inactivate-input-method)) 1424 (unless (or current-input-method (null input-method)) 1425 (let ((slot (assoc input-method input-method-alist))) 1426 (if (null slot) 1427 (error "Can't activate input method `%s'" input-method)) 1428 (setq current-input-method-title nil) 1429 (let ((func (nth 2 slot))) 1430 (if (functionp func) 1431 (apply (nth 2 slot) input-method (nthcdr 5 slot)) 1432 (if (and (consp func) (symbolp (car func)) (symbolp (cdr func))) 1433 (progn 1434 (require (cdr func)) 1435 (apply (car func) input-method (nthcdr 5 slot))) 1436 (error "Can't activate input method `%s'" input-method)))) 1437 (setq current-input-method input-method) 1438 (or (stringp current-input-method-title) 1439 (setq current-input-method-title (nth 3 slot))) 1440 (unwind-protect 1441 (run-hooks 'input-method-activate-hook) 1442 (force-mode-line-update)))))The value of input-method-alist has about 200 lines and have two lines of its end, ("japanese-egg-sj3" "Japanese" egg-activate-sj3 " .." "Romaji -> Hiragana -> Kanji&Kana" its-select-hiragana) ("japanese-egg-wnn" "Japanese" egg-activate-wnn " .." "Romaji -> Hiragana -> Kanji&Kana" its-select-hiragana)but japanese-egg-anthy is NOT found. anthy-9100h/src-util/leim-list.el has the line (register-input-method "japanese-anthy" "Japanese" 'anthy-leim-activate "[anthy]" "Anthy Kana Kanji conversion system")and this is not activated (yet). Now I am seeing following lines at start of Emacs, Finished loading /usr/pkg/share/emacs/site-lisp/egg/leim-list.el and load others... Loading /usr/pkg/share/emacs/23.2/leim/leim-list.el (source)... Loading /usr/pkg/share/emacs/23.2/leim/leim-list.el (source)...doneand seems anthy part is missing. with emacs-23.2, I'm seeing following message: Loading /usr/pkg/share/emacs/site-lisp/anthy/anthy.el (source)...done Loading `anthy': old-style backquotes detected!above from anthy/anthy.el. If rename this file, then egg/egg/anthy.el came out, and getting arround of backquotes problem, but: anthy-egg/anthyipc/anthy-agent: nilBy the way, (not japanese-egg-anthy, the original) japanese-anthy now works. ( つっこみ )
|
最近の日記 2025年01月15日 ・今更 advent calendar 2025年01月12日 ・金柑収穫 2025年01月07日 ・sh: 1: not found ・sh: 1: not found 2025年01月02日 ・geography/R-s2 | ||