From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [emacs-bidi] Treatment of LRE,RLE,LRO,RLO,PDF,LRM,RLM Date: Sat, 13 Nov 2010 15:44:55 +0200 Message-ID: <83bp5te3s8.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1289655995 15692 80.91.229.12 (13 Nov 2010 13:46:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 13:46:35 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 13 14:46:31 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 1PHGQt-0005Ld-90 for ged-emacs-devel@m.gmane.org; Sat, 13 Nov 2010 14:46:30 +0100 Original-Received: from localhost ([127.0.0.1]:38703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHGQn-0006YA-0Z for ged-emacs-devel@m.gmane.org; Sat, 13 Nov 2010 08:46:13 -0500 Original-Received: from [140.186.70.92] (port=41033 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHGQe-0006WS-V7 for emacs-devel@gnu.org; Sat, 13 Nov 2010 08:46:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHGQa-0007sh-Qq for emacs-devel@gnu.org; Sat, 13 Nov 2010 08:46:04 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHGQa-0007s4-Ff; Sat, 13 Nov 2010 08:46:00 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LBT00I00STZBJ00@a-mtaout22.012.net.il>; Sat, 13 Nov 2010 15:44:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.249.126]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LBT00INVSUPBE00@a-mtaout22.012.net.il>; Sat, 13 Nov 2010 15:44:50 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:132595 Archived-At: > From: Kenichi Handa > Date: Mon, 01 Nov 2010 17:15:13 +0900 > Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org > > Actually, glyphless-char-control should be a customizable > variable with proper set: function. But, I don't know how > to write the correct 'defcustom' form. Could someone DTRT? I didn't do this; volunteers are welcome. > (2) For Windows port: > > I wrote x_draw_glyphless_glyph_string_foreground (in > w32term.c) by referring to x_draw_glyph_string_foreground in > the same file. But, it doesn't draw acronym nor hexa-code. > I couldn't figure out what is wrong. Please someone who > knows Windows code fix it. I fixed this. The problem was that w32_draw_rectangle wiped out what was drawn inside it; I switched the order, so the box is drawn before the glyphs inside it. Jason, could you please take a look and see if I did everything right? Assuming that on X the order doesn't matter (does it?), perhaps we should switch the order there as well, for uniformity. > (3) For mac port: > > As I have no idea how to write a code for mac, the 'case > GLYPHLESS_GLYPH:' part in ns_draw_glyph_string (in nsterm.m) > is not finished. Please fill in the correct code by > referring to x_draw_glyph_string_foreground in xterm.c. Not done; I have no idea how to do this. In addition, I did this: . renamed glyphless-char-control to glyphless-char-display-control . renamed hexa-code to hex-code. . changed TTY display top enclose U+nnnn and "empty box" displays in "[]", to simulate a box and make the display easier to read. . documented this feature in NEWS and in the manual. There are a few issues with TTY display, see my other mail.