From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Text mode Emacs in multibyte terminal Date: Wed, 07 Dec 2005 16:41:03 +0900 Message-ID: References: <87d5l0gs9n.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1133941502 21243 80.91.229.2 (7 Dec 2005 07:45:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2005 07:45:02 +0000 (UTC) Cc: schwab@suse.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 07 08:44:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ejtxf-0004r9-DZ for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2005 08:43:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejtxs-0005AT-Bd for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2005 02:43:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ejtvl-00059G-Ev for emacs-devel@gnu.org; Wed, 07 Dec 2005 02:41:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ejtvj-00058o-C4 for emacs-devel@gnu.org; Wed, 07 Dec 2005 02:41:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejtvi-00058c-Nj for emacs-devel@gnu.org; Wed, 07 Dec 2005 02:41:34 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EjtwW-0007My-94 for emacs-devel@gnu.org; Wed, 07 Dec 2005 02:42:24 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id jB77f6J7004795; Wed, 7 Dec 2005 16:41:06 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id jB77f5nX006885; Wed, 7 Dec 2005 16:41:06 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1EjtvD-0002NW-00; Wed, 07 Dec 2005 16:41:03 +0900 Original-To: Stefan Monnier In-reply-to: <87d5l0gs9n.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 16 Nov 2005 17:11:04 -0500) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47101 Archived-At: Sorry for the late response. In article <87d5l0gs9n.fsf-monnier+emacs@gnu.org>, Stefan Monnier writes: >> The problem is that all non-control characters are >> written verbatim to the terminal as if it were single-byte encoded. > You mean all the eight-bit-* chars? I'd argue that such chars should always > be written as \NNN except for the special legacy case of unibyte sessions. This was the case that a binary file is read into a unibyte buffer, and \240..\377 are displayed as is; i.e. those exact bytes are sent to the terminal. That's happened because Emacs setup standard-display-table for Latin-1 even if the locale is UTF-8. I'v just installed a fix not to setup standard-display-table in such a case. But, it seems that you are proposing not to setup standard-display-table even if the locale is Latin-1, right? --- Kenichi Handa handa@m17n.org