From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: "Outer world" encoding for non-Latin1 language environments Date: Tue, 05 Mar 2002 19:28:19 +0200 Message-ID: <8011-Tue05Mar2002192819+0200-eliz@is.elta.co.il> References: <20020227132949.C18112@fmi.uni-sofia.bg> <20020301200057.A25880@fmi.uni-sofia.bg> <8582-Fri01Mar2002215726+0200-eliz@is.elta.co.il> <20020305125736.A2422@fmi.uni-sofia.bg> Reply-To: Eli Zaretskii NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1015349998 1283 195.204.10.66 (5 Mar 2002 17:39:58 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 5 Mar 2002 17:39:58 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16iIur-0000Kb-00 for ; Tue, 05 Mar 2002 18:39:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16iIoF-0005gG-00; Tue, 05 Mar 2002 12:33:07 -0500 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16iImX-0004hx-00 for ; Tue, 05 Mar 2002 12:31:21 -0500 Original-Received: from zaretsky (diup-221-210.inter.net.il [213.8.221.210]) by heimdall.inter.net.il (Mirapoint) with ESMTP id BFW08321; Tue, 5 Mar 2002 19:30:43 +0200 (IST) Original-To: anton@lml.bas.bg X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <20020305125736.A2422@fmi.uni-sofia.bg> (message from Anton Zinoviev on Tue, 5 Mar 2002 12:57:39 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1746 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1746 > From: Anton Zinoviev > Date: Tue, 5 Mar 2002 12:57:39 +0200 > > > > ^[%/1\200\212\koi8-r^B...... > > > > > > where dots are Latin-1 letters instead of Cyrillic. > > > > The current CVS version and the pretest of Emacs 21.2 do support the > > above. Please try a newser version. > > Pasting from xterm in utf-8 mode works fine. I think that pasting > from koi8-r generates double-width Cyrillic letters from JISX0208 > instead of regular Cyrillic letters from ISO 8859-5. That's strange: I thought compound-text decoded Cyrillic text into cyrillic-iso8859-5 characters, not jisx0208 characters. Are you sure you get jisx0208? What does Emacs say if you go to one of the Cyrillic characters you pasted and type "C-u C-x ="? Please post everything Emacs displays in the buffer it pops up. > I tried rgrep koi8-r on sources and couldn't find where the clipboard > support is located. Where is it? If you are looking for the support for ICCCM Extended Segments, it's in mule.el, functions ctext-post-read-conversion and ctext-pre-write-conversion (that's in CVS head; in the RC branch and in the pretest 21.1.95, these functions are in mule-conf.el instead). The rest of support for X selections is in xselect.c. > The bug is in lisp/international/mule-cmds.el: Latin-5 is stated to be > coding system for some of the Cyrillic locales. However Latin-5 is > actually ISO 8859-9 (quiet similar to Latin-1) and has nothing to do > with ISO 8859-5 (Cyrillic-ISO). Yes, you are right. Please suggest what changes should be done in locale-language-names for the Cyrillic locales. > I observed a change between Emacs I used before and Emacs as I got it > from CVS. If I set the keyboard coding system apropriately, the > previous version of Emacs worked fine both on the text-mode console > and in X Window. The last version of Emacs works in text-mode as well > but in X Window it only beeps on non-ASCII symbols. Please send more details about this problem; if you can debug this by yorself, it would be even better. I don't have any access to a system in Cyrillic locale running X. Is it possible that v21.1 that worked for you was compiled with XIM, whereas the CVS version is not, or vice versa? For XIM, the locale-coding-system should be set correctly, or else non-ASCII input will not DTRT. Perhaps the same bug in mule-cmds.el that you mentioned also affects this issue, as it sets the wrong locale-coding-system given the value of LANG and LC_* environment variables? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel