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: Composing Hebrew diacriticals Date: Wed, 05 May 2010 11:39:28 +0900 Message-ID: References: <83mxwlw2c0.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 1273074204 4593 80.91.229.12 (5 May 2010 15:43:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 15:43:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 05 17:43:21 2010 connect(): No such file or directory 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 1O9gkp-0003SH-1x for ged-emacs-devel@m.gmane.org; Wed, 05 May 2010 17:43:21 +0200 Original-Received: from localhost ([127.0.0.1]:55500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9gko-0004lY-9M for ged-emacs-devel@m.gmane.org; Wed, 05 May 2010 11:43:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9USx-0000HX-SD for emacs-devel@gnu.org; Tue, 04 May 2010 22:36:04 -0400 Original-Received: from [140.186.70.92] (port=33733 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9USw-0000FM-FK for emacs-devel@gnu.org; Tue, 04 May 2010 22:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9USv-0004fI-LG for emacs-devel@gnu.org; Tue, 04 May 2010 22:36:02 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:35247) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9USs-0004eT-Mt; Tue, 04 May 2010 22:35:59 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o452Zt9D013302; Wed, 5 May 2010 11:35:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o452ZsHr027790; Wed, 5 May 2010 11:35:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id o452Zs88015077; Wed, 5 May 2010 11:35:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1O9UWG-0003vN-GY; Wed, 05 May 2010 11:39:28 +0900 In-Reply-To: <83mxwlw2c0.fsf@gnu.org> (message from Eli Zaretskii on Fri, 30 Apr 2010 15:29:35 +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:124533 Archived-At: In article <83mxwlw2c0.fsf@gnu.org>, Eli Zaretskii writes: > AFAICS, Hebrew diacriticals are not currently composed with > consonants, even in the pre-bidi display. Is that true? Yes. > If it's true, what will it take to construct the appropriate > composition rules for the diacriticals? This will be ok. (set-char-table-range composition-function-table '(#x591 . #x5F4) '(["[\u0591-\u05F4]+" 0 font-shape-gstring])) On Windows, I expect uniscribe already has capability to handle that. On GNU/Linux, unfortunately, m17n-db packages of various distribution is not yet updated. So, you have to install a few database files manually. I'll prepare those files soon so that GNU/Linux users can test hebrew composition easily. > I tried to read composite.el and some of the files in lisp/language > that appear to use its facilities, but quickly got lost, probably > because I know to little about this matter. The ELisp manual also > doesn't document these facilities, unfortunately. Sorry for my laziness. For composition, there are many stakeholders and I'm still wondering to what degree to document. For instance, you have to understand what OpenType font can do and what it can't do. The former part can be delegated to font-shape-gstring, but the latter part must be implemented by lisp. The characteristics of terminal (graphical or charater) must also be concerned. I'll provide a proper internal document (i.e. for Emacs developpers) in haste. --- Kenichi Handa handa@m17n.org