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: Wed, 27 Feb 2002 13:10:41 +0200 (IST) Message-ID: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: quimby2.netfonds.no 1014808763 28449 195.204.10.66 (27 Feb 2002 11:19:23 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 27 Feb 2002 11:19:23 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 16g27H-0007Ol-00 for ; Wed, 27 Feb 2002 12:19:23 +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 16g23K-000863-00; Wed, 27 Feb 2002 06:15:18 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16g20J-0007ir-00 for ; Wed, 27 Feb 2002 06:12:11 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA22686; Wed, 27 Feb 2002 13:10:41 +0200 (IST) X-Sender: eliz@is Original-To: Anton Zinoviev In-Reply-To: <20020227132949.C18112@fmi.uni-sofia.bg> 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:1592 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1592 On Wed, 27 Feb 2002, Anton Zinoviev wrote: > Even when users choose some non-Latin1 language environment Emacs > doesn't suppose that it's new default encoding is actually the > encoding of the X-clipboard, the console font, etc. This can be > easily changed in this way: Why change it? The default for X selections is compound-text, which can handle many different languages/scripts mixed in a single selection. What you propose (to set it to koi8-u) will limit the selections to a single charset. Why is that a good idea? > > (defun setup-koi8u-coding-system () > (let () > (set-keyboard-coding-system 'koi8-u) > (set-clipboard-coding-system 'koi8-u) > (set-terminal-coding-system 'koi8-u))) Whether defining a language environment should set keyboard and terminal encodings is an old issue, but it isn't a clear-cut one. It is possible that someone defines a language environment but her keyboard and/or terminal cannot cope with encoded characters. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel