Install Emacs 24.4 and other related tools version 20150107
Switching root and execute following steps.
Install Fonts
- Install Monaco
- cd /usr/share/fonts/truetype
- mkdir ttf-monaco
- cd ttf-monaco
- wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
- mkfontdir
- cd ..
- fc-cache
- Install Osaka
- cd /usr/share/fonts/truetype
- mkdir ttc-osaka
- cd ttc-osaka
- wget http://osaka.is.land.to/files/Osaka.zip
- unzip Osaka.zip
- rm Osaka.zip
- mkfontdir
- cd ..
- fc-cache
Install Emacs
- apt-get install build-essential
- apt-get install xorg-dev
- apt-get install libgtk2.0-dev
- apt-get install libjpeg-dev
- apt-get install libgif-dev
- apt-get install libtiff-dev
- apt-get install libncurses-dev
- apt-get install autoconf
- wget http://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.gz
- tar xzf emacs-24.4.tar.gz
- cd emacs-24.4
- ./configure
- make
- make install
Install DDSKK
- wget http://openlab.ring.gr.jp/skk/maintrunk/ddskk-15.2.tar.gz
- tar xzf ddskk-15.2.tar.gz
- make what-where(this command is a checking purpose which directories to be installed)
- make install
Install Other SKK tools
- apt-get install skkdic
- apt-get install skkdic-extra
- apt-get install skkdic-cdb
- apt-get install skktools
- apt-get install dbskkd-cdb
Emacs Configuration, add following contents to $HOME/.emacs.d/init.el.
(when window-system (create-fontset-from-ascii-font "Monaco:pixelsize=14" nil "myfavoritefontset") (set-fontset-font "fontset-myfavoritefontset" 'japanese-jisx0208 ;'unicode (font-spec :family "Osaka" :size 16) nil 'append) (add-to-list 'default-frame-alist '(font . "fontset-myfavoritefontset"))) (require 'skk-autoloads) (setq default-input-method "japanese-skk") (setq skk-preload t) (setq skk-henkan-strict-okuri-precedence t) (setq skk-check-okurigana-on-touroku t) (setq skk-auto-insert-param t) (setq skk-egg-like-newline t) (setq skk-show-annotation t) (setq skk-tut-file "/usr/local/share/skk/SKK.tut") (setq skk-previous-candidate-keys (list "x")) (setq skk-server-host "localhost") (setq skk-server-jisyo "/usr/share/skk/SKK-JISYO.L.cdb") (setq skk-server-prog "/usr/sbin/dbskkd-cdb") (setq skk-server-inhibit-startup-server nil) (delete-selection-mode t) (setq auto-save-default nil) (setq-default make-backup-files nil) (setq line-number-mode t) (require 'linum) (global-linum-mode) (setq linum-format "%5d ") (setq column-number-mode t) (display-time)