2

私はこれをすべて試しました:

コーディングシステムの変更:

(prefer-coding-system 'iso-latin-1-unix)

翻訳がないことを確認する:

(add-untranslated-filesystem "C:")
(add-untranslated-filesystem "D:")

マルチバイト文字をnilに設定する:

(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))

私にとってこの仕事はありません。

CygwinでEmacs22.2.1を使用しています。

GNU Emacs 22.2.1 (i386-mingw-nt6.1.7100) of 2008-03-26 on RELEASE

emacsを起動する方法は次のとおりです(%〜dp0は実行中のファイルのdirnameをパス区切り文字で表すことを忘れないでください):

@set PATH=c:\cygwin\bin;%~dp0;%PATH%
@start %~dp0runemacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
4

1 に答える 1

2

Lisp ソリューションについては、このサイトの最初の四角形のコードを確認してください

http://home.att.net/~Tom.Horsley/sitm-emacs.html

(setq inhibit-eol-conversion t)
(progn
  ; Stamp out the obnoxious setting of new files to CR-LF mode by
  ; default on w32 systems. Beacuse the dos-w32 function sets up these
  ; hooks when it is loaded, I need to load it merely so I can stamp out
  ; the hooks (never figured out how to keep it from being loaded in the
  ; first place - sigh....
  (require 'dos-w32)
  (remove-hook 'find-file-not-found-hooks 'find-file-not-found-set-buffer-file-coding-system)
)
于 2009-06-26T19:23:37.870 に答える