Re: 子ocale下Emacs/XEmacs]置 - FAQ
scheme 寫道:
> \Question{中文locale下的Emacs/XEmacs設置}
> \Contributor{Scheme}{scheme@cmmail.com}{2001/09/10}
> 當locale設置LC_ALL為zh_CN或zh_TW等,Emacs/XEmacs的
> dired模式下的buffer不能被正確解讀,導致該模式下的文件系
> 統操作失敗。
> .
> 從Fumitoshi Ukai等朋友處得到幫助後,歸納為如下解決方案:
> .
> 如果使用的是Emacs20,可在~/.emacs文件中加入
> .
> ;; To ensure proper functioning under the dired mode
> ;; with zh_CN/zh_TW locale settings
> (load "ls-lisp")
> .
> 如果使用的是XEmacs21,由于XEmacs21的發布中沒有ls-lisp
> 程序,需要先把ls-lisp.el文件從Emacs20的發布中復制到XEmacs21
> 的路徑下,建議復制到~/.xemacs/下,並在~/.xemacs/init.el
> 中加入以上內容。為了運行提高效率,可以在XEmacs21中編譯
> ls-lisp.el文件。
> .
>
> --
Hi:
I got a work-around for this. Add the 'LC_TIME=C' to your script of setting the locale environment. This setting will reset the date display to English, and make Emacs happy.
Reply to: