|
发表于 2005-11-25 08:14:48
|
显示全部楼层
我装的就是sid里的emacs-snapshot-gtk,可以在utf8下输入中文,下面是我的locale和.emacs
locale:
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
.emacs:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(backward-delete-char-untabify-method (quote hungry))
'(c-basic-offset 4)
'(column-number-mode t)
'(current-language-environment "UTF-8")
'(global-font-lock-mode t nil (font-core))
'(kill-read-only-ok t)
'(mouse-wheel-scroll-amount (quote (1 ((shift) . 1) ((control)))))
'(mouse-yank-at-point t)
'(show-paren-mode t)
'(transient-mark-mode t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
) |
|