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: Mon, 30 Aug 2010 11:24:13 +0900 Message-ID: References: <83aao8mjzx.fsf@gnu.org> <837hjcm9cw.fsf@gnu.org> <83y6brkxqe.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 1283135070 14530 80.91.229.12 (30 Aug 2010 02:24:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 02:24:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 04:24:29 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 1Opu2t-0008AL-LH for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 04:24:27 +0200 Original-Received: from localhost ([127.0.0.1]:59209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Opu2s-0005Wn-Qt for ged-emacs-devel@m.gmane.org; Sun, 29 Aug 2010 22:24:26 -0400 Original-Received: from [140.186.70.92] (port=37274 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Opu2m-0005Wi-KR for emacs-devel@gnu.org; Sun, 29 Aug 2010 22:24:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Opu2l-00068j-Hr for emacs-devel@gnu.org; Sun, 29 Aug 2010 22:24:20 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:41829) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Opu2j-00068N-Lh; Sun, 29 Aug 2010 22:24:18 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o7U2OEbx006448; Mon, 30 Aug 2010 11:24:14 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o7U2ODle003234; Mon, 30 Aug 2010 11:24:13 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id o7U2ODd7017526; Mon, 30 Aug 2010 11:24:13 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1Opu2f-0002ft-JW; Mon, 30 Aug 2010 11:24:13 +0900 In-Reply-To: <83y6brkxqe.fsf@gnu.org> (message from Eli Zaretskii on Sat, 28 Aug 2010 10:22:33 +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:129409 Archived-At: In article <83y6brkxqe.fsf@gnu.org>, Eli Zaretskii writes: > > From: Kenichi Handa > Cc: > emacs-devel@gnu.org > Date: Sat, 28 Aug 2010 13:18:02 > +0900 > > > > In article <837hjcm9cw.fsf@gnu.org>, Eli Zaretskii > writes: > > > > > > > "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]? > > > > > It means that a literal byte 0xA0 is sent to the > terminal. > > > > From which document, can we get that interpretation? > That's my understanding of the word "literally". But, how do you apply that understanding to this element: [#x100] > Plus, > standard-display-8bit worked like that in previous > versions of Emacs. If we mean for it to do something > else, we should amend the docstring. The current behaviour of standard-display-8bit is the natural consequence of the fact that we changed character codes. But, perhaps we should explain what "literally" really means. > > (aset standard-display-table (unibyte-char-to-multibyte > #xA0) > (vector (unibyte-char-to-multibyte #xA0))) > Shouldn't standard-display-8bit be modified to use this, instead of > what it does now? It seems like it was previously used to work around > the terminal encoding, but that fire escape was plumbed in Emacs 23. > Perhaps we should reinstate that feature? Yes. That's why I wrote: handa> Should we change the above code and all other codes setting handa> 0x80th..0xA0th elements of a display table? eliz> Yes. IMO, we should consistently use the codepoints of eight-bit eliz> characters in all char-tables. handa>Ok, if Yidong and Stefan agree too, I'll work on it. I have not yet got any response but have started the work. > And there's still the question of what to do with the > fragment in standard-display-european-internal that uses > standard-display-8bit. Should it be removed, or should it > be rewritten in some way? The docstring of standard-display-european says it's semi-obsolete. But, as far as we provide that function, we should modify the current code to do what expected. --- Kenichi Handa handa@m17n.org