[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: Problem with clipboard
From: |
neverov_dg |
Subject: |
Re[2]: Problem with clipboard |
Date: |
Tue, 6 Mar 2007 08:28:33 +0700 |
> Any reason why you should keep the latter two? What is the default
> value of buffer-file-coding-system in "emacs -Q"?
Value of buffer-file-coding-system in "emacs -Q" is undecided-dos.
I try to comment these lines:
(set-buffer-file-coding-system 'windows-1251-dos)
(prefer-coding-system 'windows-1251-dos)
After that file in windows-1251 encoding opened using iso-latin-1-dos
encoding. When I uncoment the last line emacs opens file in
windows-1251. I also change line
(set-input-method "russian-computer")
to
(set-language-environment "Russian")
So now I have:
(set-language-environment "Russian")
(set-default-coding-systems 'windows-1251-dos)
(prefer-coding-system 'windows-1251-dos)