0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Windows版GNU EmacsのI-search(インクリメンタルサーチ)でIMEから文字列を入力すると、最初の1文字がヒットしたところで [Symbol' s function definition is void: nil] となって終わってしまう。

しかしこれは最初の1回だけで、それ以降はIMEからの入力でもちゃんと検索できる。

そこで~/.emacs/init.elにこう書いてみた。

(setq default-input-method "W32-IME")
(w32-ime-initialize)
;; I-searchでIMEから入力しても失敗しないためのおまじない
(activate-input-method "W32-IME")
(deactivate-input-method)

うまくいきました。

なお、私は tr-ime を使わせていただいております。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?