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: Fri, 07 May 2010 09:48:05 +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 1273193370 8324 80.91.229.12 (7 May 2010 00:49:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 00:49:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Yair F." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 07 02:49:29 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 1OABkv-0003nH-AY for ged-emacs-devel@m.gmane.org; Fri, 07 May 2010 02:49:29 +0200 Original-Received: from localhost ([127.0.0.1]:54248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OABku-0004Ze-KW for ged-emacs-devel@m.gmane.org; Thu, 06 May 2010 20:49:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OABkj-0004Tf-3X for emacs-devel@gnu.org; Thu, 06 May 2010 20:49:17 -0400 Original-Received: from [140.186.70.92] (port=55413 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OABkg-0004LR-TQ for emacs-devel@gnu.org; Thu, 06 May 2010 20:49:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OABfm-0004w3-0d for emacs-devel@gnu.org; Thu, 06 May 2010 20:44:11 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:56079) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OABfl-0004vK-DC for emacs-devel@gnu.org; Thu, 06 May 2010 20:44:09 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o470i2iO028690; Fri, 7 May 2010 09:44:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o470i2bZ001347; Fri, 7 May 2010 09:44:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id o470i2Jm017046; Fri, 7 May 2010 09:44:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1OABjZ-0002Jm-Nk; Fri, 07 May 2010 09:48:05 +0900 In-Reply-To: (yair.f.lists@gmail.com) 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:124608 Archived-At: In article , "Yair F." writes: > Kenichi Handa m17n.org> writes: > > This will be ok. > > > > (set-char-table-range > > composition-function-table '(#x591 . #x5F4) > > '(["[\u0591-\u05F4]+" 0 font-shape-gstring])) > > > There are some restrictions on which characters are allowed to be composed. Yes. If font_driver->shape is implemented correctly, font-shape-gstring should compose the given sequence with multiple grapheme clusters. But, I admit the above regexp is not optimal. For efficiency, the regexp should match only with a character sequence that is composed into one grapheme cluster. --- Kenichi Handa handa@m17n.org