emacs kana-mode with F7 katakana henkan

Posted On June 1, 2008

Filed under anthy, emacs
Tags: ,

Comments Dropped leave a response

get uim, uim-anthy, uim-el

.emacs

(require ‘uim)
(uim-mode-on) ;; for Edgy
(global-set-key “\C-o” ‘uim-mode)
(setq uim-default-im-engine “anthy”)
(uim-mode-off) ;; for Edgy
(setq uim-candidate-display-inline t)
;; apply C-h to backspace
(uim-reset-keymap)

;; uim-mod
;; when on / off, cursor color was changed
;; uim on -> japanese input on
(defadvice uim-this-command-keys (around uim-send-zenkaku-hankaku)
(setq ad-return-value `[zenkaku-hankaku]))
(defadvice uim-mode (around my-uim-mode)
ad-do-it
(setq uim-default-im-engine “anthy”)
(set-face-background ‘cursor (if ad-return-value “blue” “indian red”))
(ad-activate-regexp “uim-send-zenkaku-hankaku”)
(uim-process-input)
(ad-deactivate-regexp “uim-send-zenkaku-hankaku”))
(ad-activate-regexp “my-uim-mode”)

;write this to the end of .emacs

(uim-update-font)

.uim

(define default-widget_anthy_kana_input_method ‘action_anthy_kana)

citation(JP);

http://d.hatena.ne.jp/higepon/20080109/1199866758

fix Ubuntu 8.04 keyboard recognization error; Zenkaku_Hankaku

Posted On April 27, 2008

Filed under anthy, Ubuntu
Tags: ,

Comments Dropped leave a response

When you upgrade 7.10 to 8.04, Zenkaku_Hankaku key can’t be recognized.

# sudo /etc/X11/xorg.conf

Option “XkbVariant” “latin,” -> Option “XkbVariant” “106,”

save it, then reboot.

citation(JP);

http://forum.ubuntulinux.jp/viewtopic.php?pid=11373

emacs katakana

Posted On February 15, 2008

Filed under anthy, emacs
Tags: , ,

Comments Dropped leave a response

input characters

SPACE C-p

scim + anthy 4@ -> vu

Posted On February 15, 2008

Filed under anthy
Tags: , ,

Comments Dropped leave a response

system -> preference -> anthy dictionary

tango ヴ
yomi う゛

4@ -> vu

Posted On February 15, 2008

Filed under anthy, emacs
Tags: , ,

Comments Dropped leave a response

(set-language-environment “Japanese”)
(load-library “anthy”)
(set-input-method “japanese-anthy”)
(toggle-input-method nil)
(anthy-kana-map-mode)
(anthy-change-hiragana-map “4@” “ヴ”)

anthy customize “?” to “nakaguro”

Posted On February 15, 2008

Filed under anthy, emacs
Tags: , ,

Comments Dropped leave a response

In Romaji, “nakaguro” = “z/”.

Kana-Input
M-x anthy-add-word-interactive
“?” to “nakaguro”

anthy commands

Posted On February 15, 2008

Filed under anthy, emacs
Tags: , ,

Comments Dropped leave a response

launch anthy
C-\
katakana <-> hiragana
C-p

.emacs.env

Posted On February 15, 2008

Filed under anthy, emacs
Tags: , ,

Comments Dropped leave a response

.emacs
;; kana input
(anthy-kana-map-mode)

;; font
size -> 12

;;size
width -> 120
height -> 50