From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: neverov_dg@nkmk.ru Newsgroups: gmane.emacs.help Subject: Re[2]: Problem with clipboard Date: Tue, 6 Mar 2007 08:28:33 +0700 Organization: nkmk Message-ID: <1794114477.20070306082833@nkmk.ru> References: <124486459.20070305093410@nkmk.ru> <627791852.20070305115554@nkmk.ru> Reply-To: Неверов Дмитрий NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1173144542 23336 80.91.229.12 (6 Mar 2007 01:29:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 01:29:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 02:28:55 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOOU1-0008Bo-Ju for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 02:28:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOOU1-0003hG-Kv for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Mar 2007 20:28:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOOTp-0003h6-VZ for help-gnu-emacs@gnu.org; Mon, 05 Mar 2007 20:28:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOOTn-0003gj-JI for help-gnu-emacs@gnu.org; Mon, 05 Mar 2007 20:28:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOOTn-0003gg-4h for help-gnu-emacs@gnu.org; Mon, 05 Mar 2007 20:28:39 -0500 Original-Received: from ns.nkmk.ru ([62.231.186.17]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOOTm-0000eS-Ea for help-gnu-emacs@gnu.org; Mon, 05 Mar 2007 20:28:39 -0500 Original-Received: from ns.nkmk.ru (root@localhost) by ns.nkmk.ru (8.13.4/8.13.4) with SMTP id l261SblV003951 for ; Tue, 6 Mar 2007 08:28:37 +0700 (KRAT) (envelope-from neverov_dg@nkmk.ru) Original-Received: from bsd4.kmk (bsd4.kmk [200.1.1.54]) by ns.nkmk.ru (8.13.4/8.13.4) with ESMTP id l261SZfQ003945 for ; Tue, 6 Mar 2007 08:28:36 +0700 (KRAT) (envelope-from neverov_dg@nkmk.ru) Original-Received: from bsd4.kmk (root@localhost) by bsd4.kmk (8.12.11/8.12.11) with SMTP id l261SZpa078200 for ; Tue, 6 Mar 2007 08:28:35 +0700 (KRAT) (envelope-from neverov_dg@nkmk.ru) Original-Received: from nd.nkmk.ru (nd.nkmk.ru [10.40.8.178]) by bsd4.kmk (8.12.11/8.12.11) with ESMTP id l261SXM7078191 for ; Tue, 6 Mar 2007 08:28:33 +0700 (KRAT) (envelope-from neverov_dg@nkmk.ru) X-Mailer: The Bat! (v3.5) Professional X-Priority: 3 (Normal) In-Reply-To: X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 05032007 #260333, status: clean X-detected-kernel: FreeBSD 4.6-4.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41696 Archived-At: > 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)