help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting Mule, Unicode & X selection to play together


From: Michael Livshin
Subject: Re: getting Mule, Unicode & X selection to play together
Date: Wed, 18 Dec 2002 01:02:25 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-pc-linux)

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
>From help-gnu-emacs-bounces@gnu.org  Tue Dec 17 18:20:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!wn12feed!worldnet.att.net!64.154.60.72!cyclone2.usenetserver.com!news.webusenet.com!news01.optonline.net!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail
Message-ID: <3DFFB0E0.1050204@rcn.com>
From: Tribhuvan <loka@rcn.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US;
        rv:1.0.1) Gecko/20020920 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: gnu.emacs.help
References: <041220020952400758%ajanta@no.spam>
        <56cfb0e3.0212041458.5eab182a@posting.google.com>
        <x5k7ipl35x.fsf@lola.goethe.zz> <061220020416350201%ajanta@no.spam>
        <slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
        <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu>
        <091220021652087216%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
        <111220021101520860%ajanta@no.spam> <111220021253524057%ajanta@no.spam>
        <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam>
        <87u1hjdwta.fsf@hurd.crasseux.com> <121220021324043990%ajanta@no.spam>
        <m3el8iar9g.fsf@mika.informatik.uni-freiburg.de>
        <171220021132381961%ajanta@no.spam>
        <mailman.343.1040149880.19936.help-gnu-emacs@gnu.org>
        <ulm2ocm2f.fsf@synopsys.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 17
Date: Tue, 17 Dec 2002 23:17:30 GMT
NNTP-Posting-Host: 24.189.235.22
X-Trace: news4.srv.hcvlny.cv.net 1040167050 24.189.235.22 (Tue, 17 Dec 2002
        18:17:30 EST)
NNTP-Posting-Date: Tue, 17 Dec 2002 18:17:30 EST
Organization: Optimum Online
Xref: shelby.stanford.edu gnu.emacs.help:108240
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Dec 2002 23:20:09 -0000



David Masterson wrote:
   Are
> you expecting all packages to distribute in a form that is compatible
> to all package managers so that they can be managed on all systems?
> 

I think this brings to light that:

If you're getting a binary dist pkg, by default you get management
for your OS, which means you lose control on the install process.
Therefore, we really only need focus on standards for gnu/fsf source
distributions.

Tribhuvan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]