From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yair F Newsgroups: gmane.emacs.devel Subject: Re: Composing Hebrew diacriticals Date: Mon, 10 May 2010 17:09:54 +0300 Message-ID: References: <83mxwlw2c0.fsf@gnu.org> <83eihojc1z.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273502442 5655 80.91.229.12 (10 May 2010 14:40:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 May 2010 14:40:42 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 10 16:40:35 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 1OBU9r-0006Jb-1K for ged-emacs-devel@m.gmane.org; Mon, 10 May 2010 16:40:35 +0200 Original-Received: from localhost ([127.0.0.1]:47685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBTqN-0002JU-MN for ged-emacs-devel@m.gmane.org; Mon, 10 May 2010 10:20:27 -0400 Original-Received: from [140.186.70.92] (port=44858 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBTgu-0003b9-N6 for emacs-devel@gnu.org; Mon, 10 May 2010 10:11:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBTgC-0001yw-HB for emacs-devel@gnu.org; Mon, 10 May 2010 10:10:40 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:54225) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBTgC-0001yZ-Cy; Mon, 10 May 2010 10:09:56 -0400 Original-Received: by wyf19 with SMTP id 19so112992wyf.0 for ; Mon, 10 May 2010 07:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=++XeTC459yIctcndrk3QVm5lQgkKQDOAvAJIX+e8B5w=; b=PuW8qCuF6Wp2TlkQnf6KXvhkfvYD4mK+c/ILI3/72J77JEi1D4+6RJHrtQI6LdHxm4 XN5/WanKiscHCN4bKQW2p9ijExl7gnkvlR7cjgLK3zVWFqsF1UP6ONyPzkZmyB3zEpjM eg5pgcqh33967LqJwrket/6/9cxx1yzWdZVpM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TccVC3lMkJ+3hB6pWqMNssIvUEJX/b+5Ts4/IQXFioFO9wYiJIqNPdUU+qw8BiuSs+ 4e3SZVzZ8/5CIm6UYCuXNkVlrQgTDhaSLTGUBTJQdyh2a36BvTmLtybXUYAn0rdhx5Lm QA8q9RgfaCnWVtNRnXFQAPd8RQGaD9lHY7xmk= Original-Received: by 10.216.85.201 with SMTP id u51mr2454722wee.100.1273500594254; Mon, 10 May 2010 07:09:54 -0700 (PDT) Original-Received: by 10.216.177.204 with HTTP; Mon, 10 May 2010 07:09:54 -0700 (PDT) In-Reply-To: <83eihojc1z.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:124662 Archived-At: > Yair, does the above work for you? =A0For me (on MS-Windows), it > infloops. =A0I will try to find out where it loops later. > The code below sort-of works for me. However, composition only occurs sometimes. I believe it depends on the font being used including font size. How can I debug it further? (Kubuntu/GTK/XFT) (defconst hebrew-composable-pattern (concat "\\(" "[\u05D0-\u05D4\u05D6-\u05E8\u05EA\u05F1-\u05F3]" ;; base (except vav and shin) "[\u05BC\u05BF]?" ;; 0-1 marks of 1st class (dagesh) "[\u05B0-\u05B9\u05BB\u05C7]?" ;; 0-1 marks of 3rd class (vowel) "[\u0591-\u05AF\u05BD]*" ;; 0-2 (3?) marks of 4th class (canti= ll.) "\\|" "\u05D5" ;; base (vav) "\u05BC?" ;; 0-1 marks of 1st class (dagesh) "[\u05B0-\u05BB\u05C7]?" ;; 0-1 marks of extended 3rd class (v= owel) "[\u0591-\u05AF\u05BD]*" ;; 0-2 (3?) marks of 4th class (canti= ll.) "\\|" "\u05E9" ;; base (shin) "\u05BC?" ;; 0-1 marks of 1st class (dagesh) "[\u05C1\u05C2]?" ;; 0-1 marks of 2nd class (shin dot) "[\u05B0-\u05B9\u05BB\u05C7]?" ;; 0-1 marks of 3rd class (vowel) "[\u0591-\u05AF\u05BD]*" ;; 0-2 (3?) marks of 4th class (canti= ll.) "\\)") "Regexp matching a composable sequence of Hebrew characters.") (set-char-table-range composition-function-table '(#x591 . #x5F4) (list (vector hebrew-composable-pattern 0 'font-shape-gstring)))