From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Anton Zinoviev Newsgroups: gmane.emacs.devel Subject: Re: "Outer world" encoding for non-Latin1 language environments Date: Tue, 5 Mar 2002 12:57:39 +0200 Message-ID: <20020305125736.A2422@fmi.uni-sofia.bg> References: <20020227132949.C18112@fmi.uni-sofia.bg> <20020301200057.A25880@fmi.uni-sofia.bg> <8582-Fri01Mar2002215726+0200-eliz@is.elta.co.il> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1015324100 16197 195.204.10.66 (5 Mar 2002 10:28:20 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 5 Mar 2002 10:28:20 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16iCB9-0004D9-00 for ; Tue, 05 Mar 2002 11:28:19 +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 16iC1G-0005Zr-00; Tue, 05 Mar 2002 05:18:06 -0500 Original-Received: from www.infoman.org ([62.44.101.36] helo=debian.fmi.uni-sofia.bg) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16iBys-0005P5-00 for ; Tue, 05 Mar 2002 05:15:40 -0500 Original-Received: from mail.fmi.uni-sofia.bg (mail.fmi.uni-sofia.bg [62.44.101.4]) by debian.fmi.uni-sofia.bg (Postfix) with ESMTP id 0A7F111D32F for ; Tue, 5 Mar 2002 12:15:04 +0200 (EET) Original-Received: from logic.fmi.uni-sofia.bg ([62.44.100.59]) by mail.fmi.uni-sofia.bg (Netscape Messaging Server 3.62) with ESMTP id 108 for ; Tue, 5 Mar 2002 12:06:06 +0200 Original-Received: from zinoviev by logic.fmi.uni-sofia.bg with local (Exim 3.12 #1 (Debian)) id 16iCdY-0001Kk-00 for ; Tue, 05 Mar 2002 12:57:40 +0200 Original-To: emacs-devel@gnu.org Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <8582-Fri01Mar2002215726+0200-eliz@is.elta.co.il>; from eliz@is.elta.co.il on Fri, Mar 01, 2002 at 09:57:26PM +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:1739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1739 Thanks to all who replied! On 1.III.2002 at 21:57 (+0200) Eli Zaretskii wrote: > > Date: Fri, 1 Mar 2002 20:00:58 +0200 > > From: Anton Zinoviev > > > > I was under impression that Emacs doesn't support compound-text. It > > doesn't touch command sequences and pasting from xterm gives something > > like: > > > > ^[%/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. I tried rgrep koi8-r on sources and couldn't find where the clipboard support is located. Where is it? > > In this case setting the keyboard won't make any harm to this user, as > > then he or she can use some of the input methods provided by Emacs. > > There is no situation when it might be usefull if Emacs interprets my > > Cyrillic input as Latin1. > > See Stefan's response: the default is not Latin-1, and Emacs should > interpret your keyboard input correctly even without > keyboard-coding-system being set. If that doesn't work, please tell > the details; perhaps there's some bug. 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). 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. It would be nice if Emacs understood directly xkeysyms but the previous behaviour is also fine. The version of Emacs I used before is 21.1.1 from Debian and uses Athena widget. I compiled the new version of Emacs with Lesstif. Regards, Anton Zinoviev _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel