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: Usage of standard-display-table in MSDOS Date: Fri, 27 Aug 2010 20:44:16 +0900 Message-ID: References: <83aao8mjzx.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282909476 6691 80.91.229.12 (27 Aug 2010 11:44:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 11:44:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 27 13:44:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OoxMH-0002uD-DN for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 13:44:33 +0200 Original-Received: from localhost ([127.0.0.1]:57290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoxMG-0000bY-Jp for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 07:44:32 -0400 Original-Received: from [140.186.70.92] (port=56072 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoxMA-0000bL-Dh for emacs-devel@gnu.org; Fri, 27 Aug 2010 07:44:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoxM9-0006I2-AY for emacs-devel@gnu.org; Fri, 27 Aug 2010 07:44:26 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:34069) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoxM7-0006HE-B4; Fri, 27 Aug 2010 07:44:23 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o7RBiHxT013010; Fri, 27 Aug 2010 20:44:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o7RBiHLx020126; Fri, 27 Aug 2010 20:44:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id o7RBiHJe029922; Fri, 27 Aug 2010 20:44:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1OoxM1-0006Lg-5n; Fri, 27 Aug 2010 20:44:17 +0900 In-Reply-To: <83aao8mjzx.fsf@gnu.org> (message from Eli Zaretskii on Fri, 27 Aug 2010 13:24:02 +0300) X-detected-operating-system: by eggs.gnu.org: Solaris 9 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:129294 Archived-At: In article <83aao8mjzx.fsf@gnu.org>, Eli Zaretskii writes: > It sounds like you are saying that standard-display-8bit no longer > does what its doc string advertises: > "Display characters in the range L to H literally." > The "literally" part is no longer true, is it? What's the meaning of "literally" when a display table element is [#xA0]? Before Emacs 23, the character #xA0 represents the byte 0xA0. But now it is a character representing a Unicode character U+00A0, and #x3FFFA0 is the character representing the byte 0xA0. And, to "display characters literally", we have been encoded characters by the terminal coding system. Before Emacs 23, the encoded result of #xA0 is always the byte 0xA0, but now it depends on the terminal coding system. > And one other question: why do we do something similar in > standard-display-european-internal? Specifically: > (defun standard-display-european-internal () > ;; Actually set up direct output of non-ASCII characters. > (standard-display-8bit (if (eq window-system 'pc) 128 160) 255) > (I'm asking about the case where window-system is _not_ `pc'.) > This is called in set-display-table-and-terminal-coding-system under > the following conditions: > (let ((coding (get-language-info language-name 'unibyte-display))) > (if (and coding > (or (not coding-system) > (coding-system-equal coding coding-system))) > (standard-display-european-internal) I don't know. I didn't modify those part when I merged unicode branch. I should have investigated the semantics of display table at that time. --- Kenichi Handa handa@m17n.org