hns - 日記自動生成システム - Version 2.19.9

先月 2010年07月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
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)...done
and 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: nil
By the way, (not japanese-egg-anthy, the original) japanese-anthy now works.



最近の日記
2022年07月01日
screen and ssh-agent
2022年06月01日
CTWN at clean install
2022年05月31日
qemu with nvmm
2022年05月29日
9.99.97 download and copied to USB memory
2022年05月22日
cherry-pick
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)