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: bidi and shaping problems in describe-input-method Date: Fri, 09 Mar 2012 10:15:45 +0200 Message-ID: <83boo61972.fsf@gnu.org> References: <87d38mwuiv.fsf@m17n.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331280958 22092 80.91.229.3 (9 Mar 2012 08:15:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2012 08:15:58 +0000 (UTC) Cc: list-general@mohsen.1.banan.byname.net, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 09 09:15:57 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S5uzU-0001sZ-K5 for ged-emacs-devel@m.gmane.org; Fri, 09 Mar 2012 09:15:56 +0100 Original-Received: from localhost ([::1]:57488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5uzT-0001rp-MD for ged-emacs-devel@m.gmane.org; Fri, 09 Mar 2012 03:15:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5uzL-0001pr-QP for emacs-devel@gnu.org; Fri, 09 Mar 2012 03:15:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5uzF-00088a-FN for emacs-devel@gnu.org; Fri, 09 Mar 2012 03:15:47 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5uzF-00088R-6L for emacs-devel@gnu.org; Fri, 09 Mar 2012 03:15:41 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M0L00300YTN5I00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 09 Mar 2012 10:15:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.138.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0L00216YY2XS90@a-mtaout22.012.net.il>; Fri, 09 Mar 2012 10:15:39 +0200 (IST) In-reply-to: <87d38mwuiv.fsf@m17n.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148942 Archived-At: > From: Kenichi Handa > Cc: list-general@mohsen.1.banan.byname.net, emacs-devel@gnu.org > Date: Fri, 09 Mar 2012 08:19:20 +0900 > > No, the shaping engine checks buffer/string contents. So, > if there's a space between A and B, the rule for shaping AB > sequence is not activated. Please try these two: > > (insert #x642 #x64C) > (insert #x642 (propertize " " 'invisible t) #x64C) This looks exactly identical to me (on MS-Windows), except that the second one causes annoying behavior of cursor motion around the inserted text. Does it work for you on GNU/Linux? If so, does it work for you to change quail-insert-kbd-layout to use this trick in order to separate the `lower' from the `upper' in the key cells? I tried that on my machine, and it didn't have the desired effect.