2005年1月7日

[Linux] Debian on My ThinkPad R40 (3) - joe 及 emacs 的設定檔

Debian 剛建好,編輯器有些不順手的地方,修正如下:
  • joe,加入對 8bit 字碼的支援:
    cat /etc/joe/joerc | sed -e "s/^ -asis/-asis/" > ~/.joerc

  • emacs,改成我慣用的設定檔:
    (custom-set-variables
     '(case-fold-search t)
     '(current-language-environment "Chinese-BIG5")
     '(default-coding-system (quote chinese-big5-dos))
     '(default-input-method "chinese-b5-tsangchi")
     '(global-font-lock-mode t nil (font-lock))
     '(keyboard-coding-system (quote chinese-big5-dos))
     '(show-paren-mode t nil (paren))
     '(transient-mark-mode t))
    (custom-set-faces
     '(default ((t (:background "black" :foreground "white" :height 160 :family "sony-fixed"))))
     '(cursor ((t (:background "white"))))
     '(menu ((((type x-toolkit)) (:height 120 :family "Sans")))))
    (set-terminal-coding-system (quote chinese-big5))


沒有留言: