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, 06 Sep 2010 10:30:20 +0900 Message-ID: References: <83aao8mjzx.fsf@gnu.org> <837hjcm9cw.fsf@gnu.org> <83y6brkxqe.fsf@gnu.org> <201009012333.o81NXrRq016732@beta.mvs.co.il> <201009042254.o84MsEcf004615@beta.mvs.co.il> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283736640 4059 80.91.229.12 (6 Sep 2010 01:30:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 01:30:40 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org To: ehud@unix.mvs.co.il Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 06 03:30:38 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 1OsQXd-0002xb-FP for ged-emacs-devel@m.gmane.org; Mon, 06 Sep 2010 03:30:37 +0200 Original-Received: from localhost ([127.0.0.1]:56461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsQXc-0002uE-RE for ged-emacs-devel@m.gmane.org; Sun, 05 Sep 2010 21:30:36 -0400 Original-Received: from [140.186.70.92] (port=34772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsQXX-0002u9-CC for emacs-devel@gnu.org; Sun, 05 Sep 2010 21:30:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsQXW-0001HZ-Be for emacs-devel@gnu.org; Sun, 05 Sep 2010 21:30:31 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:34404) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsQXT-0001H0-Uk; Sun, 05 Sep 2010 21:30:28 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o861UMfp019917; Mon, 6 Sep 2010 10:30:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o861ULYS013071; Mon, 6 Sep 2010 10:30:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id o861ULDA019078; Mon, 6 Sep 2010 10:30:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1OsQXM-0007jS-V1; Mon, 06 Sep 2010 10:30:20 +0900 In-Reply-To: <201009042254.o84MsEcf004615@beta.mvs.co.il> (ehud@unix.mvs.co.il) 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:129699 Archived-At: In article <201009042254.o84MsEcf004615@beta.mvs.co.il>, "Ehud Karni" writes: > > My change was to make (standard-display-8bit 128 255) work > > as Emacs 21 for a unibyte buffer; i.e. when you visit a file > > by specifying no-conversion coding-system or by using > > find-file-literally. > OK, I misunderstood you before. For text terminal all the 8 bit bytes > are sent as is. ON x, most of the bytes are displayed as empty boxes > (i.e. no glyph). I don't know how to set the display table to get > something more meaningful. This is the lasted docstring of standard-display-8bit: ============================================================ standard-display-8bit is a compiled Lisp function in `disp-table.el'. (standard-display-8bit L H) Display characters representing raw bytes in the range L to H literally. On a terminal display, each character in the range is displayed by sending the corresponding byte directly to the terminal. On a graphic display, each character in the range is displayed using the default font by a glyph whose code is the corresponding byte. Note that ASCII printable characters (SPC to TILDA) are displayed in the default way after this call. ============================================================ So, on X (or on any graphic display), whether it works as expected or not depends on which font you use as the default font. Most TrueType fonts are not good in this repect. X core fonts of legacy charset (e.g. -*-iso8859-8) are good. Please tell me which font is the default for you (by moving cursor on some Latin alphabet and typing C-u C-x =). --- Kenichi Handa handa@m17n.org