From: Michael Livshin <usenet@cmm.kakpryg.net>
Subject: Re: getting Mule, Unicode & X selection to play together
Date: Wed, 18 Dec 2002 01:02:25 +0200 [thread overview]
Message-ID: <s37ke8fdvi.fsf@cmm.kakpryg.net.cmm> (raw)
In-Reply-To: mailman.224.1039932883.19936.help-gnu-emacs@gnu.org
Eli Zaretskii <eliz@is.elta.co.il> writes:
> The problem is, Emacs 21 uses two different codepoints for Cyrillic
> characters: one based on ISO-8859-5, the other based on Unicode.
> Conversion between them is not supported in stock Emacs distributions,
> AFAIK you need either add-on packages (such as ucs-tables you can find
> on gnu.emacs.sources) or the latest development code from CVS.
thanks! I installed the CVS version and got everything to work.
to possible future sufferers: the _key_ thing about getting anything
MULE-related to work seems to be /letting go/. by any means, don't
try logic! you'll spend hours in pain, you'll pull half your hair
out, and it just won't work for you.
my satori found me the minute I happened upon the following, in
fontset.el:
(defvar x-font-name-charset-alist
'(...
("koi8" ascii cyrillic-iso8859-5)
...))
after seeing the above, it was a matter of slapping self on whatever
passes for forehead, setting the global locale to ru_RU.KOI8-R,
setting the Emacs language environment to "Cyrillic-ISO", not
forgetting to explicitly map the "cyrillic-iso8859-5" encoding to an
iso8859-5 font in the fontset (no sir, Emacs *won't* grok it by
itself, how could it?), and voila!
(OK, so as a consequence of setting the global locale to something
un-Unicodelly, I won't be able to cut-n-paste in more than 2
languages at the same time. no biggie, at least cyrillics are
working.)
bitter unfunny sarcasm aside, Emacs 21.3.50 seems to be a *really*
nice piece of work, so far.
thanks all,
--m
--
This program posts news to billions of machines throughout the galaxy. Your
message will cost the net enough to bankrupt your entire planet. As a result
your species will be sold into slavery. Be sure you know what you are doing.
Are you absolutely sure you want to do this? [yn] y
next parent reply other threads:[~2002-12-17 23:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.224.1039932883.19936.help-gnu-emacs@gnu.org>
2002-12-17 23:02 ` Michael Livshin [this message]
2002-12-18 5:47 ` getting Mule, Unicode & X selection to play together Eli Zaretskii
[not found] <mailman.369.1040190440.19936.help-gnu-emacs@gnu.org>
2002-12-18 10:44 ` Michael Livshin
2002-12-18 10:56 ` Eli Zaretskii
2002-12-15 0:09 Michael Livshin
2002-12-15 6:14 ` Eli Zaretskii
2002-12-15 21:33 ` Tatsuya Kinoshita
2002-12-16 9:30 ` Roman Belenov
2002-12-16 11:21 ` Tatsuya Kinoshita
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s37ke8fdvi.fsf@cmm.kakpryg.net.cmm \
--to=usenet@cmm.kakpryg.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.