C-s to activate the i-search mode.
C-k to turn on i-search extensions.
C-\ to begin
Japanese input. You should see a Japanese hiragana character
[ ] brackets in the lower left hand corner.
Type in the romanji
characters handoutai. The characters should appear
Press the space bar to convert the hiragana into kanji
Press the return key to accept the kanji. Finally, press the
return key again to accept the search.
In order to get Canna to function under Emacs 20.2, you must patch Emacs 20.2 to support dynamic loading of the libraries. The patch can be found at
First, patch the Emacs 20.2 source. In this example the source for emacs-20.2 is in /usr/src/ and the patch emacs-20.0.91-dl.diff is in /usr/src/.
% cd /usr/src/emacs-20.2 % patch -p1 < /usr/src/emacs-20.0.91-dl.diff % ./configure % make % make install
In order to use the canna.el program, APEL must first be installed. APEL can be obtained from
Edit the Makefile
definitions to indicate the place of the Emacs src and Canna include
Copy the canna.so file into the Emacs 20.2 exec-directory.
Copy canna.el into your Emacs load-path. For example,
you can probably use
Byte compile canna.el.
~/.emacs file, add
XEmacs 20 and above can be compiled with mule support. I used wnn when I compiled XEmacs. The following flags were used for the compile.
--with-mule=yes --with-wnn=yes --wnn-includes=/usr/include/wnn
Steve Dunham helped me to get egg to load when the wnn option was compiled in. The following is the .emacs addition he sent me that works great.
(when (featurep 'wnn) (require 'egg-wnn) (setq egg-default-startup-file "eggrc-wnn")) (setenv "JSERVER" "localhost")
Of course, you must start the Wnn jserver on your local machine if you are using the last elisp line.
The screen capture below shows XEmacs and Wnn. The commands are the same as they are with mule.
XEmacs 20 Inputting Japanese with Wnn