fc2ブログ

Cocoa Emacs.app に skk インストールできた

  1. APEL APEL repository in kanji.zinbun.kyoto-u.ac.jp からAPELをダウンロード
  2. apel-10.7/APEL-CFGに以下を追加
  3. (setq PREFIX "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/")
    (setq LISPDIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/")
    (setq APEL_DIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/apel")
    (setq EMU_DIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/emu")
  4. sudo make EMACS=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs install
  5. SKK Openlabからddskkをダウンロード
  6. ddskk-20090309/SKK-CFGに以下を追記
  7. (setq PREFIX "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp")
    (setq APEL_DIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/apel")
    (setq EMU_DIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/emu")
    (setq SKK_DATADIR "/Applications/MacPorts/Emacs.app/Contents/Resources/etc/skk")
    (setq SKK_INFODIR "/Applications/MacPorts/Emacs.app/Contents/Resources/info")
    (setq SKK_LISPDIR "/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/skk")
    (setq SKK_SET_JISYO t)
  8. sudo make EMACS=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs install
  9. ~/.emacs.d/skk/にSKK-JISYO.Lを配置
  10. .emacsに以下(最小)で動いたかも
  11. (require 'skk-setup)
    (global-set-key "\C-x\C-j" 'skk-mode)
    (global-set-key "\C-xj" 'skk-auto-fill-mode)
    (global-set-key "\C-xt" 'skk-tutorial)
    (setq skk-large-jisyo "~/.emacs.d/skk/SKK-JISYO.L")

この記事へのトラックバックURL

http://memolet.blog22.fc2.com/tb.php/1204-57bd2529

この記事へのトラックバック