Shammer's Philosophy

My private adversaria

Install Emacs 24.3 on Debian 7.4

I install Emacs 24.3 on Debian 7.4. I referenced my blog on 2013/03/05. In my memory, target OS was Debian Squeeze at that time. But now, current OS is Debian wheezy. I guess the procedure is almost same, though something will be different.

  1. apt-get install ttf-inconsolata
  2. apt-get install build-essential
  3. apt-get install xorg-dev
  4. apt-get install libgtk2.0-dev
  5. apt-get install libjpeg-dev
  6. apt-get install libgif-dev
  7. apt-get install libtiff-dev
  8. apt-get install libncurses-dev
  9. apt-get install autoconf
  10. wget
  11. tar xvfz emacs-24.3.tar.gz
  12. cd emacs-24.3
  13. ./configure
  14. make
  15. make install

In my environment, the command "apt-get install autoconf" is required.
After installation would be finished, install skk.

  1. su -
  2. check the skk latest version
  3. wget means latest version)
  4. tar xvzf ddskk-15.1.tar.gz
  5. cd ddskk-15.1
  6. make what-where, check the install locations.(cf:
  7. make install
  8. exit root
  9. mkdir -p $/HOME/.emacs.d/share/skk
  10. cd $HOME/.emacs.d/share/skk
  11. wget

After installing ddskk, generate $HOME/.emacs.d/init.el. The following is my least configurations.

(when window-system
  (tool-bar-mode -1)
  (create-fontset-from-ascii-font "Inconsolata:slant=normal" nil "myfavoritefont")
  (set-fontset-font "fontset-myfavoritefont"
                    'japanese-jisx0208 ;'unicode
                    (font-spec :family "Inconsolata" :size 12)
  (add-to-list 'default-frame-alist '(font . "fontset-myfavoritefont")))

(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-large-jisyo "~/.emacs.d/share/skk/SKK-JISYO.L")
(setq skk-tut-file    "/usr/local/share/skk/SKK.tut")
(setq skk-user-directory "~/.emacs.d/share/skk")
(setq skk-previous-candidate-keys (list "x"))

(delete-selection-mode t)
(setq auto-save-default nil)
(setq-default make-backup-files nil)
(setq line-number-mode t)
(require 'linum)
(setq linum-format "%5d ")
(setq column-number-mode t)