unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Editing the 0x80..0x90 characters
Date: Thu, 9 May 2002 08:05:30 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020509075629.2376F-100000@is> (raw)
In-Reply-To: <200205090015.g490F5h13042@rum.cs.yale.edu>


On Wed, 8 May 2002, Stefan Monnier wrote:

> Currently those coding systems
> decode into (or encode from) ascii + latin-iso8859-5 + eight-bit-control
> + eight-bit-graphic.  The idea is to change it to decode into
> ascii + latin-iso8859-5 + mule-unicode.  So I don't see how the problem
> is mixed character sets is changed.

I thought that the purpose of that part of the change was to make the 
situation better, not just modify the charsets into which the text is 
decoded.  Sorry if I misunderstood.

> I don't understand anything about cpXXX charsets, so I'm not sure
> how to fix the problems you mentioned earlier.

All you need is to put a plist on them, like this:

  (setplist 'cp850-decode-table
            '(charset latin-iso8859-1 language "Latin-1" offset 160))

(See codepage.el for more details.)  For each cpNNN coding system, Emacs 
needs to know the target charset and the associated language 
environment.  That's because on the systems that use cpNNN, there's a 
system call to get the installed codepage, and Emacs uses that to set up 
the correct language environment automatically.

> What do you think of the patch below ?

Can you say a few words about its purpose?  I could figure that out from 
the code, but having some description as guidelines would help.  TIA.

> I'm not sure what the koi8-u stuff is about.  I suspect it's also
> meant for ukrainian so the new language environment should maybe
> be "Ukrainian" rather than "Cyrillic-KOI8-U" since that's what
> mule-cmds.el seems to expect for the "uk" locale.

KOI8-U is indeed for the Ukrainian language.  But I don't understand the 
last part: what is the importance of calling the language environment 
"Ukrainian" rather than "Cyrillic-KOI8-U"?  Is that just to make it 
easier for Ukrainian users to understand it's for them, or is there 
something else involved?

  reply	other threads:[~2002-05-09  5:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uuoffynbfb.fsf@nbsp.nsk.su>
     [not found] ` <3CD177AB.75299AE0@is.elta.co.il>
     [not found]   ` <uubsbxn65h.fsf@nbsp.nsk.su>
     [not found]     ` <3CD2581B.42469AF1@is.elta.co.il>
     [not found]       ` <5l6625dsfu.fsf@rum.cs.yale.edu>
     [not found]         ` <3CD2E2E5.4EF10708@is.elta.co.il>
     [not found]           ` <5lsn56cf58.fsf@rum.cs.yale.edu>
     [not found]             ` <3CD5F7CB.F2FFD9B4@is.elta.co.il>
2002-05-09  0:15               ` Editing the 0x80..0x90 characters Stefan Monnier
2002-05-09  5:05                 ` Eli Zaretskii [this message]
2002-05-09 18:29                   ` Stefan Monnier
2002-05-09 18:57                     ` Eli Zaretskii

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=Pine.SUN.3.91.1020509075629.2376F-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).