Ubuntu 8.10; Emacs input method setting

Posted On November 3, 2008

Filed under emacs, Ubuntu
Tags: ,

Comments Dropped leave a response

I don’t know how to work uim-anthy on Emacs 22.2 of Ubuntu 8.10.
So I use uim-toolbar instead of uim.el.

After installing uim set,
#im-switch -c
then select “uim-toolbar”, then logout and login.

Setting
XIM -> check “Anti-alias”
this check prevents Emacs from character’s jaggies.

Advertisements

LaTeX: set indent space

Posted On September 22, 2008

Filed under emacs, LaTeX
Tags: ,

Comments Dropped 2 responses

\parindent=10pt

Change indents as default : write \parindent=(some)pt to the preamble.

YaTeX; change fill var

Posted On September 4, 2008

Filed under emacs, LaTeX
Tags: , ,

Comments Dropped leave a response

/usr/share/emacs/site-lisp/yatex/yatex.el

locate

(defvar YaTeX-fill-column 72

then reset 72 to which you want to set

rename /usr/share/emacs22/site-lisp/yatex/yatex.elc to yatex.elcold

M-x byte-compile /usr/share/emacs/site-lisp/yatex/yatex.el

emacs fill paragraph

Posted On September 4, 2008

Filed under emacs
Tags: ,

Comments Dropped leave a response

M-q : fill current paragraph

M-x fill-region : fill each paragraphs in the region

How to set default fill column
add this to .emacs
(setq-default fill-column 80)
Default fill parameter is 70.

emacs TAB

Posted On August 24, 2008

Filed under emacs
Tags: ,

Comments Dropped leave a response

C-q TAB

emacs; change character code

Posted On August 12, 2008

Filed under emacs
Tags: ,

Comments Dropped one response

C-x RET f

When you save, the file would be encoded with a new character code.

C-x RET c

Reload the file with the selected character code.

emacs muse color-theme

Posted On July 9, 2008

Filed under emacs
Tags: ,

Comments Dropped 2 responses

some settings of muse-mode prevents M-x color-theme-select.

speedbar; emacs directory tree

Posted On June 22, 2008

Filed under emacs
Tags: ,

Comments Dropped leave a response

boot speedbar; M-x speedbar

exit speedbar ; q

invalid SCIM when emacs is launched

Posted On June 12, 2008

Filed under emacs, Ubuntu
Tags: ,

Comments Dropped leave a response

#gedit .bashrc

alias emacs=’XMODIFIERS=@im=none emacs’

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

« Previous PageNext Page »