使用道具 举报
Post by zhou3345 楼主将.emacs贴出来好了,分享一下:)
您需要 登录 才可以下载或查看,没有帐号?注册
Post by debianl 现在我的.emacs里基本上没有配置字体和coding system的东西
Post by debianl 这个不需要在.emacs里写的,现在我的.emacs里基本上没有配置字体和coding system的东西,我的第一帖里不是已经帖出方法了吗?现在emacs 23对文件的编码识别也非常智能,根据编码系统的优先级自动匹配,现在我可以同时打开GBK编码、UTF-8编码的中文文档并正确显示,如果需要调整编码系统的优先级可以用prefer-coding-system来做。 为什么称此帖为YY帖?因为现在emacs采用xft来渲染字体显示效果这么漂亮不YY一下如何甘心,希望兄弟们同乐!
Post by deepwater 原來如此,一直在用emacs 22 cvs,因爲聽説emacs 23還很不穩定所以一直沒有試。debianl兄(看名字好像是位debian叛徒 )用下來的感覺呢?
Post by debianl emacs 23感觉没什么不稳定的,一直没有出现过问题。至于我的ID:debianl与debian发行版没有必然的联系,更谈不上debian叛徒,我一直都是使用gentoo的,很少使用其它发行版。
Post by kevinliu Add the following to .emacs to enable chinese display ;;; enable the input of chinese in emacs (set-language-environment 'Chinese-GB) (set-keyboard-coding-system 'euc-cn) (set-clipboard-coding-system 'euc-cn) (set-terminal-coding-system 'euc-cn) (set-buffer-file-coding-system 'euc-cn) (set-selection-coding-system 'euc-cn) (modify-coding-system-alist 'process "*" 'euc-cn) (setq default-process-coding-system '(euc-cn . euc-cn)) (setq-default pathname-coding-system 'euc-cn)
本版积分规则 发表回复 回帖后跳转到最后一页