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#72230: 29.4; Cursor Disappears with Hebrew Text Date: Sun, 21 Jul 2024 19:01:41 +0300 Message-ID: <86ikwybuoq.fsf@gnu.org> References: <86o76qbvd9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7185"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72230@debbugs.gnu.org To: hermannsorgel@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 21 18:02:33 2024 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 1sVZ17-0001gT-JJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Jul 2024 18:02:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVZ0j-0005Bk-6z; Sun, 21 Jul 2024 12:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVZ0a-0004rt-GC for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 12:02:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVZ0a-0006g2-5f for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 12:02:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVZ0b-00019A-P3 for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2024 12:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2024 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72230 X-GNU-PR-Package: emacs Original-Received: via spool by 72230-submit@debbugs.gnu.org id=B72230.17215777134393 (code B ref 72230); Sun, 21 Jul 2024 16:02:01 +0000 Original-Received: (at 72230) by debbugs.gnu.org; 21 Jul 2024 16:01:53 +0000 Original-Received: from localhost ([127.0.0.1]:55846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVZ0T-00018n-7K for submit@debbugs.gnu.org; Sun, 21 Jul 2024 12:01:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVZ0R-00018a-1h for 72230@debbugs.gnu.org; Sun, 21 Jul 2024 12:01:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVZ0J-0006eJ-OC; Sun, 21 Jul 2024 12:01:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rpCb/JBpypvv4U3eTzE7F5MTX97S+oC6XSV8/OPZ8Dg=; b=aYHY9ixgGZML l0eNQTsZfwxqoM8SevuP83rvBW5CKkzj5pVZLvZ9uoND7T+ZneX7aPyzRricAOQHbmyATvqIHtSga TfY+lq3LXN2zWUm7HxOlUrVVT8m2EoIpycvd9QW7bmq+BJt+f8QARLp1hVbvby6CUONnXuMv2hHuE RfKgdqqNwbGtJa2kpucbCb3gBn9Gs3qDexbBlmEOP6Ca+JSpu96kmI/xWS16gEh01xe/8fM43hVBK hPsJ4o63mEzji6q8qV3AUgX+o301oZTkVDlkespTUZ6oP3hkhVJDnBan/fdpY7v71BqnJKaUsBxKP aIuFpBJqbQrlN5H+ErXkOQ==; In-Reply-To: <86o76qbvd9.fsf@gnu.org> (message from Eli Zaretskii on Sun, 21 Jul 2024 18:46:58 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289081 Archived-At: > Cc: 72230@debbugs.gnu.org > Date: Sun, 21 Jul 2024 18:46:58 +0300 > From: Eli Zaretskii > > Thanks. I cannot reproduce this on my system, but I'm not on macOS. > Maybe this is specific to macOS? Can a macOS user please try > reproducing this? And I think I see the problem. This fragment of nsterm.m: case BAR_CURSOR: s = r; /* If the character under cursor is R2L, draw the bar cursor on the right of its glyph, rather than on the left. */ cursor_glyph = get_phys_cursor_glyph (w); if ((cursor_glyph->resolved_level & 1) != 0) s.origin.x += cursor_glyph->pixel_width - s.size.width; is incorrect: it should use the value of the cursor_width argument, not s.size.width. Can someone who is capable of building Emacs on macOS please try copying more closely the code from xterm.c or w32term.c that draws the bar cursor, and see if that solves the problem?