我已经尝试了所有这些:
更改编码系统:
(prefer-coding-system 'iso-latin-1-unix)
确保不翻译:
(add-untranslated-filesystem "C:")
(add-untranslated-filesystem "D:")
将多字节字符设置为零:
(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.
'(desktop-save-mode t)
'(enable-multibyte-characters nil))
这些都不适合我。
我将 Emacs 22.2.1 与 Cygwin 一起使用。
GNU Emacs 22.2.1 (i386-mingw-nt6.1.7100) of 2008-03-26 on RELEASE
这是我启动 emacs 的方式(记住 %~dp0 将执行文件的目录名与路径分隔符放在一起):
@set PATH=c:\cygwin\bin;%~dp0;%PATH%
@start %~dp0runemacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9