mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
Input method module `Canna' for Emacs with dynamic loading enhancement.
|
|
|
|
This is an input method module Canna for Emacs.
|
|
|
|
|
|
*** Setting for Fontset on Emacs20 ***
|
|
|
|
To use japanese fonts on emacs20, put in your $HOME/.emacs as follows:
|
|
|
|
(set-language-environment "Japanese")
|
|
(setq default-frame-alist
|
|
(append '((font . "fontset-16")) default-frame-alist))
|
|
|
|
And put in your $HOME/.Xdefaults as follows for example:
|
|
|
|
Emacs*Fontset-0: -*-fixed-medium-r-normal--16-*-*-*-*-*-fontset-16,\
|
|
ascii:-*-fixed-medium-r-normal-*-16-*-iso8859-1,\
|
|
japanese-jisx0208:-*-fixed-medium-r-normal-*-16-*-jisx0208*,\
|
|
chinese-gb2312:-*-*-medium-r-normal--16-*-*-*-*-*-gb2312*,\
|
|
korean-ksc5601:-*-*-medium-r-normal--16-*-*-*-*-*-ksc5601*
|
|
|
|
|
|
*** Setting for Canna ***
|
|
|
|
To use Canna, put in your $HOME/.emacs as follows:
|
|
|
|
(load "canna")
|
|
(canna)
|
|
|
|
This input-method toggle key-binding is C-o.
|
|
|
|
or if you want to use canna-leim, as follows:
|
|
|
|
(require 'canna-leim)
|
|
(set-input-method "japanese-canna")
|
|
|
|
This input-method toggle key-binding is C-\.
|
|
|
|
And you must use emacs-dl-20.3 (not emacs-20.3!).
|
|
|
|
This dynamic loading module sources and emacs20 dynamic loading patch
|
|
is placed on the following URL:
|
|
|
|
ftp://ftp.jaist.ac.jp/pub/GNU/elisp/emacs-20-dl/
|
|
|
|
--- Porting by shige <shige@FreeBSD.ORG>.
|