From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44521: 27.1; ivy.el breaks harfbuzz Arabic shaping Date: Sun, 08 Nov 2020 19:20:35 +0200 Message-ID: <83k0uv69zw.fsf@gnu.org> References: <87tutz4yfq.fsf@brutus.matara> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44521@debbugs.gnu.org To: Thamer Mahmoud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 18:21:26 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kboNa-0001pZ-UO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 18:21:26 +0100 Original-Received: from localhost ([::1]:39650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kboNa-0002lV-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 12:21:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kboNC-0002ki-CJ for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 12:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kboNC-0003QJ-2w for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 12:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kboNB-0002Zd-UO for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 12:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2020 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44521 X-GNU-PR-Package: emacs Original-Received: via spool by 44521-submit@debbugs.gnu.org id=B44521.16048560419846 (code B ref 44521); Sun, 08 Nov 2020 17:21:01 +0000 Original-Received: (at 44521) by debbugs.gnu.org; 8 Nov 2020 17:20:41 +0000 Original-Received: from localhost ([127.0.0.1]:32962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kboMq-0002Yk-VJ for submit@debbugs.gnu.org; Sun, 08 Nov 2020 12:20:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kboMo-0002YX-7X for 44521@debbugs.gnu.org; Sun, 08 Nov 2020 12:20:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53763) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kboMj-0003DM-0R; Sun, 08 Nov 2020 12:20:33 -0500 Original-Received: from [176.228.60.248] (port=4654 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kboMh-00074v-TV; Sun, 08 Nov 2020 12:20:32 -0500 In-Reply-To: <87tutz4yfq.fsf@brutus.matara> (message from Thamer Mahmoud on Sun, 08 Nov 2020 19:15:37 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192892 Archived-At: > From: Thamer Mahmoud > Date: Sun, 08 Nov 2020 19:15:37 +0300 > > (progn > (load-library "~/.emacs.d/elpa/ivy-0.13.0/ivy-overlay.el") > (load-library "~/.emacs.d/elpa/ivy-0.13.0/colir.el") > (load-library "~/.emacs.d/elpa/ivy-0.13.0/ivy.el") > (ivy-mode t) > (run-with-timer .5 nil 'set-input-method "arabic") > (run-with-timer .5 nil 'insert "السلام عليكم") > (execute-extended-command nil)) > > 2. While still in the minibuffer, type any Arabic letter. Note the > AIN(ع) in "عليكم" changes shape from initial to final. > > This bug breaks shaping in most buffers, especially after using > swiper.el (ivy-based isearch). I'm not familiar with ivy, but if it writes the text in the minibuffer in several overlays, then the Arabic text will indeed become disconnected and generally shaped incorrectly. I'll try to look into this, but to make this easier and more efficient I'd appreciate a test case that is less complicated, preferably not using ivy at all. Thanks.