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: RLM and LRM are composed? Date: Mon, 29 Mar 2010 19:06:32 +0300 Message-ID: <837hov159z.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1269878899 27708 80.91.229.12 (29 Mar 2010 16:08:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 16:08:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 29 18:08:15 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 1NwHVe-0003EP-Hs for ged-emacs-devel@m.gmane.org; Mon, 29 Mar 2010 18:08:14 +0200 Original-Received: from localhost ([127.0.0.1]:49587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwHVd-0007zw-Fa for ged-emacs-devel@m.gmane.org; Mon, 29 Mar 2010 12:08:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwHUA-0007Rf-4P for emacs-devel@gnu.org; Mon, 29 Mar 2010 12:06:42 -0400 Original-Received: from [140.186.70.92] (port=52681 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwHU9-0007RT-0n for emacs-devel@gnu.org; Mon, 29 Mar 2010 12:06:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwHU6-0003wT-Lc for emacs-devel@gnu.org; Mon, 29 Mar 2010 12:06:40 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50292) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwHU6-0003w7-Ex for emacs-devel@gnu.org; Mon, 29 Mar 2010 12:06:38 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0100500WO7WF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 29 Mar 2010 19:06:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.176.135]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L010052DWQPJ430@a-mtaout22.012.net.il>; Mon, 29 Mar 2010 19:06:26 +0300 (IDT) 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:122849 Archived-At: Evaluate this form: (aset standard-display-table ?=E2=80=8E (vconcat "->")) and then visit a file with this single line: Hebrew =E2=80=8F(=D7=A2=D7=91=D7=A8=D7=99=D7=AA)=09=D7=A9=D7=9C= =D7=95=D7=9D The character being set up in the standard-display-table is RLM, RIGHT-TO-LEFT MARK. If you are reading this in a GUI session, chance= s are it will be displayed as whitespace. The same character is before the left paren after "Hebrew". However, Emacs does not display "->" instead of it, as I'd expect. It thinks it does (try "C-u C-x =3D" o= n that character), but it doesn't. If I step with a debugger through produce_glyphs (in the TTY case) or through x_produce_glyphs (in the GUI case), I see that the glyph we produce for displaying this character is not IT_CHARACTER, but IT_COMPOSITION. Questions: 1. Why do we display this character as composition? It is not supposed to be composed with anything, AFAIK. 2. Is it a bug or a feature that composed characters don't go through the display table? If it's a feature, what is its purpose? TIA