Удалось заставить emacs понимать текст, что ввожу с клавиатуры и записывать в файл. Но читать оттуда не хочет - из слова ТЕСТ получается \320\242\320\225\320\241\320\242. Очень хочется научить emacs писать в файлы и читать оттуда с кодировкой utf-8. Читаю доки но ответа найти не могу.
Мой конфиг .emacs выглядит так:
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(case-fold-search t)
'(character-set "utf-8")
'(coding-system "utf-8")
'(current-language-environment "English")
'(default-input-method "utf-8")
'(global-font-lock-mode t nil (font-lock)))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
)
(set-buffer-file-coding-system coding-category-utf-8)
(set-terminal-coding-system coding-category-utf-8)
(set-keyboard-coding-system coding-category-utf-8)
(set-selection-coding-system coding-category-utf-8)
(set-next-selection-coding-system coding-category-utf-8)
(set-default-coding-systems 'utf-8)
Может есть тут гуру в emacs? :)
Версия emacs: 21.2.1
Денис