From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dmitri.Minaev@britishcouncil.ru Newsgroups: gmane.emacs.help Subject: RE: NT Emacs Latin & cyrillic script Date: Fri, 11 Apr 2003 13:07:08 +0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" X-Trace: main.gmane.org 1050052465 8528 80.91.224.249 (11 Apr 2003 09:14:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2003 09:14:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 11 11:14:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193uc2-0002D8-00 for ; Fri, 11 Apr 2003 11:14:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193uZW-0000bU-08 for gnu-help-gnu-emacs@m.gmane.org; Fri, 11 Apr 2003 05:11:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193uZ2-0000Cb-00 for help-gnu-emacs@gnu.org; Fri, 11 Apr 2003 05:11:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193uYd-0007hq-00 for help-gnu-emacs@gnu.org; Fri, 11 Apr 2003 05:10:54 -0400 Original-Received: from [217.204.112.57] (helo=gw11.britishcouncil.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193uYP-00074W-00 for help-gnu-emacs@gnu.org; Fri, 11 Apr 2003 05:10:37 -0400 Original-To: Benjamin.Riefenstahl@epost.de, help-gnu-emacs@gnu.org X-Mailer: Internet Mail Service (5.5.2650.21) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8366 Hello, Benjamin, To enable cp1251 codepage in Emacs/MULE, add to .emacs the following: (codepage-setup 1251) (define-coding-system-alias 'windows-1251 'cp1251) (set-selection-coding-system 'cp1251) That should be enough to use cp1251 coding system. -- With best regards, Dmitri Minaev > -----Original Message----- > From: Benjamin Riefenstahl [mailto:Benjamin.Riefenstahl@epost.de] > Sent: Thursday, April 10, 2003 9:19 PM > To: help-gnu-emacs@gnu.org > Subject: Re: NT Emacs Latin & cyrillic script > > > Hi Ulrich, > > > "Ulrich Dirr" writes: > > I've downloaded a precompiled version of 21.2 and installed it. > > Everything is working well, even auctex (on Win2k). > > > > But I would like to input and display latin and cyrillic scripts > > simultaneously. I've read a lot of docs but now I'm more > confused than > > before. > > > > [...] > > > > Does the language/keyboard support which I've activated in > Win2k help? > > Or is this independent of emacs? > > It helps, but it is independent of Emacs. Because Emacs doesn't (yet) > use Unicode input, in addition to tell the OS to *send* cyrillic > keyboard input, you need to tell Emacs to switch *interpreting* > keyboard input in cyrillic. > > So first you use set-keyboard-coding-system (C-x RET k) to switch > Emacs to cyrillic, than you use the languages menu on the taskbar (or > a Windows keyboard shortcut, if you have assigned one) to switch the > OS. You do it the other way around to switch out of cyrillic. > > One problem is that 21.2 doesn't have the appropriate coding system > for cyrillic on Windows (cp1251) [*] which you need as a parameter for > set-keyboard-coding-system. You can get it from Emacs CVS > (lisp/international/code-pages.el) but last I tried that version with > Emacs 21.2 it required some support files and tweaking. Mail me for > details if you want to pursue this and you can't get it to work. > > [*] Somebody please correct me if I am wrong. And no, cp1251 > doesn't seem to be compatible with iso8859-5. > > An alternative would of course be to get Emacs from CVS and compile it > yourself, if you can do that. > > > It should be possible to input cyrillic easily with my keyboard. It > > should display correctly as cyrillic, and it should be possible to > > TeX it (say T2A encoding). And I want to be able to switch to latin > > back. > > I don't know about TeX specific issues. > > > Hope this helps, benny > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >