[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: windows-1251 language environment
From: |
Kevin Rodgers |
Subject: |
Re: windows-1251 language environment |
Date: |
Tue, 30 Sep 2003 11:11:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Paul Pogonyshev wrote:
I recompiled Emacs today and found that "Windows-1251" language
environment is gone. This is definitely a wrong decision. Maybe you
removed it because you dislike Windows (me too, i don't use it) -- i
don't know, but by far the most of russian speakers use `cp1251'
codepage and i and many others have to cooperate.
It was not hard for me to hack `language/cyrillic.el' and return that
language environment, but i ask you to revert the change in the Emacs
CVS tree.
I think this message explains that change. Also, please report CVS Emacs bugs
to emacs-pretest-bug@gnu.org, not here (bug-gnu-emacs@gnu.org).
From: Anton Zinoviev <anton@lml.bas.bg>
Newsgroups: gmane.emacs.devel
Subject: Patch for some Cyrillic languages
Date: Fri, 26 Sep 2003 19:02:40 +0300
Lines: 336
Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org
Approved: news@gmane.org
Message-ID: <20030926160239.GI25564@lml.bas.bg>
NNTP-Posting-Host: deer.gmane.org
...
emacs/lisp/language/cyrillic.el
...
CP1251:
This coding system was implemented differently that the others. A
buffer with symbols from iso-8859-5 character set can not be saved
using CP1251 (although iso-8859-5 is a subset of CP1251). There was
no support for cp1251 fonts and no mime-charset. I haven't given much
thought about this, I simply reimplemented this coding system the same
way as the other Cyrillic coding systems are implemented.
During this I renamed this coding system from windows-1251 to cp1251
(the first stays still as an alias). Reason: the name CP1251 is used
by Glibc and GNU utilities (includingly gettext), this name is what
most people are used to and will expect from Emacs.
This patch doesn't include a generic language environment for CP1251.
I will make such an environment latter since CP1251 is widely used for
several languages.
--
Kevin Rodgers