unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitri.Minaev@britishcouncil.ru
Subject: RE: NT Emacs Latin & cyrillic script
Date: Fri, 11 Apr 2003 13:07:08 +0400	[thread overview]
Message-ID: <B5CFBC051993D41196FF00D0B78EE626DA3E07@RUS2NT01> (raw)

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" <ud@art-satz.de> 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
> 

             reply	other threads:[~2003-04-11  9:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11  9:07 Dmitri.Minaev [this message]
2003-04-11 13:46 ` NT Emacs Latin & cyrillic script Benjamin Riefenstahl
     [not found] ` <mailman.4442.1050069602.21513.help-gnu-emacs@gnu.org>
2003-04-11 15:23   ` Ulrich Dirr
2003-04-11 16:24     ` Benjamin Riefenstahl
  -- strict thread matches above, loose matches on Subject: below --
2003-04-11 11:08 Dmitri.Minaev
2003-04-10 17:19 Ulrich Dirr
2003-04-10 20:19 ` Benjamin Riefenstahl
2003-04-11  7:45   ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B5CFBC051993D41196FF00D0B78EE626DA3E07@RUS2NT01 \
    --to=dmitri.minaev@britishcouncil.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).