かわむらです。
一太郎 for Linuxを入れてみました。
これ自体は使えるようになったのですが、付属の ATOK をxemacs
で使用できません。emacsでは漢字変換ができます。
そもそも、~/.xemacs/init.el にはATOKの設定が入っていません。
そこで、.emacs.el を参考に以下のように書いてみました。
--------
(if (or (equal emacs-ime "atokx")
(equal emacs-ime "atokx2"))
(progn
(require 'un-define)
(setq coding-category-utf-8 'utf-8)
(setq iiimcf-server-control-hostlist '("localhost"))
(setq iiimcf-server-control-default-language "ja")
;(setq default-input-method 'iiim-server-control)
(require 'iiimcf-sc)
;; 変換トグルの設定
;(define-key global-map "\C-\\" 'toggle-input-method)
(global-set-key "\C-\\" 'toggle-input-method)
;;モードライン表示をすっきりと
;;(setcar default-mode-line-format "")
)
)
--------
このようにして、xemacsを起動し、C-\ を入力すると、Input method:
を聞かれるので、iiim-server-control を指定します。すると、
Wrong type argument: arrayp, nil
とエラーとなり入力できません。再び、C-\ を入力すると、同様に Input method:
を聞かれますが、今度は
Loading unicode...done
となり、エラーになりません。
しかし、日本語を入力すると、漢字までは表示されますが、確定すると、
Buffer is read-only: #<buffer "*scratch*"> と
Symbol's function definition is void: event-convert-list
が表示され入力できません。
~/.xemacs/init.el の書き方が悪いのだと思いますが、どのようにすれば
使えるようになるでしょうか?
ちなみに、以下のパッケージはインストール済みです。
* Mule-UCS-0.85-0vl1
* IIIMECF-0.6-0vl2