|
|
发表于 2006-2-28 10:53:15
|
显示全部楼层
我也是testing,utf-8环境,显示没问题。
就是不能用外加输入法输入中文,gnome的问题。
用emacs自带的输入法。
locale设定
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES=POSIX
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
安装的包
emacs-goodies-el install
emacs-wiki install
emacs21 install
emacs21-bin-common install
emacs21-common install
emacsen-common install
.emacs中的设定
- (custom-set-variables
- ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
- ;; Your init file should contain only one such instance.
- '(case-fold-search t)
- '(completion-ignored-extensions (quote ("~" ".aux" ".a" ".bbl" ".blg" ".dvi" ".elc" ".hc" ".hi" ".mlc" ".o" ".toc")))
- '(current-language-environment "Chinese-GB")
- '(default-input-method "chinese-py")
- '(emacs-wiki-coding-map (quote ((utf-8 "utf-8") (chinese-iso-8bit "euc-cn"))))
- '(emacs-wiki-footer-date-format "%Y-%02m-%02d %02H:%02M:%02S")
- '(emacs-wiki-maintainer "mailto:hjj@163.com")
- '(emacs-wiki-mode-hook (quote (emacs-wiki-use-font-lock emacs-wiki-highlight-buffer footnote-mode)))
- '(emacs-wiki-publishing-transforms nil)
- '(font-lock-maximum-size 512000)
- '(font-lock-mode-hook nil)
- '(frame-title-format (quote ("emacs - " (buffer-file-name "%f" ("%b")))) t)
- '(global-font-lock-mode t nil (font-lock))
- '(load-home-init-file t t)
- '(resize-minibuffer-mode t t)
- '(save-place nil nil (saveplace))
- '(show-paren-mode t nil (paren))
- '(time-stamp-format "%:y-%02m-%02d %02H:%02M:%02S %U")
- '(tooltip-gud-tips-p t)
- '(tooltip-use-echo-area t)
- '(uniquify-buffer-name-style nil))
- (custom-set-faces
- ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
- ;; Your init file should contain only one such instance.
- '(tooltip ((((class color)) (:background "lightyellow")))))
- (custom-set-variables
- ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
- ;; Your init file should contain only one such instance.
- '(case-fold-search t)
- '(completion-ignored-extensions (quote ("~" ".aux" ".a" ".bbl" ".blg" ".dvi" ".elc" ".hc" ".hi" ".mlc" ".o" ".toc")))
- '(current-language-environment "Chinese-GB")
- '(default-input-method "chinese-py")
- '(emacs-wiki-coding-map (quote ((utf-8 "utf-8") (chinese-iso-8bit "euc-cn"))))
- '(emacs-wiki-footer-date-format "%Y-%02m-%02d %02H:%02M:%02S")
- '(emacs-wiki-maintainer "mailto:hjj@163.com")
- '(emacs-wiki-mode-hook (quote (emacs-wiki-use-font-lock emacs-wiki-highlight-buffer footnote-mode)))
- '(emacs-wiki-publishing-transforms nil)
- '(font-lock-maximum-size 512000)
- '(font-lock-mode-hook nil)
- '(frame-title-format (quote ("emacs - " (buffer-file-name "%f" ("%b")))) t)
- '(global-font-lock-mode t nil (font-lock))
- '(load-home-init-file t t)
- '(resize-minibuffer-mode t t)
- '(save-place nil nil (saveplace))
- '(show-paren-mode t nil (paren))
- '(time-stamp-format "%:y-%02m-%02d %02H:%02M:%02S %U")
- '(tooltip-gud-tips-p t)
- '(tooltip-use-echo-area t)
- '(uniquify-buffer-name-style nil))
- (custom-set-faces
- ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
- ;; Your init file should contain only one such instance.
- '(tooltip ((((class color)) (:background "lightyellow")))))
复制代码 |
|