DEBIAN/TESTING LOCALES ZH-UTF8 EMACS 不能显示中文,
时间:2006-02-27
来源:互联网
查了一些资料发现都是 针对 LOCALES GBK 的.
如何处理?
谢谢!!!!
作者: leeshasr 发布时间: 2006-02-27
作者: zhangxudong 发布时间: 2006-02-27
apt-get install emacs-snapshot
作者: pluskid 发布时间: 2006-02-27
不过我没有用SID. 正在考虑.
我想 在 TESTING 的 LOCALES 设置上 调整一下.
因为 EMACS 主要用来 写 代码. 全部英文都行.
谁在这方面有经验?
附 LOCALES
lee@debian:~$ 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="zh_CN.UTF-8"
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=
作者: leeshasr 发布时间: 2006-02-28
就是不能用外加输入法输入中文,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:[email protected]") '(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:[email protected]") '(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")))))
作者: hjj 发布时间: 2006-02-28
我对照安装了 上述 包. 并且 在 ~/ 目录下 建了.emacs 文件.完全复制你的文件.
但是 仍然不能显示中文. 我分析是字体的的问题了. 我安装了MS 的 SIMSUN 用的也是 这玩艺.
继续探讨!!!
谢谢!!!1
作者: leeshasr 发布时间: 2006-02-28
因为我还有其他的设定,时间久了,也不知道哪个是关于字体的了。
作者: hjj 发布时间: 2006-03-01
作者: leeshasr 发布时间: 2006-03-01
作者: liatler 发布时间: 2006-07-24
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28