2
有沒有什麼我可以放在我的.emacs配置文件來設置新創建的文件的默認行結束樣式?如何在emacs中設置新文件的默認行結束符?
我對Windows使用GNU emacs,但希望新創建的文件默認使用unix樣式(僅限換行)行結束符。
有沒有什麼我可以放在我的.emacs配置文件來設置新創建的文件的默認行結束樣式?如何在emacs中設置新文件的默認行結束符?
我對Windows使用GNU emacs,但希望新創建的文件默認使用unix樣式(僅限換行)行結束符。
我在我的配置我的Windows節:
(setq-default buffer-file-coding-system 'utf-8-unix)
(setq eol-mnemonic-dos "(DOS)")
(setq eol-mnemonic-unix "\\")
謝謝 - (setq默認的緩存文件編碼系統「UTF-8-UNIX)是我一直在尋找。 – Henry 2011-12-28 12:43:16