From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hermann sorgel Newsgroups: gmane.emacs.bugs Subject: bug#72230: 29.4; Cursor Disappears with Hebrew Text Date: Mon, 22 Jul 2024 00:35:17 +0300 Message-ID: References: <86o76qbvd9.fsf@gnu.org> <86ikwybuoq.fsf@gnu.org> <86a5iabq90.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000d8fc5061dc8b590" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Po Lu , Eli Zaretskii , 72230@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 22 09:07:39 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 1sVn90-000ADi-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Jul 2024 09:07:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVn8k-00049x-Bk; Mon, 22 Jul 2024 03:07:23 -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 1sVn8N-00036F-RK for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 03:07:00 -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 1sVn8N-0007cj-9Y for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 03:06:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVn8P-0005xC-RG for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 03:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: hermann sorgel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2024 07:07: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.172163197622836 (code B ref 72230); Mon, 22 Jul 2024 07:07:01 +0000 Original-Received: (at 72230) by debbugs.gnu.org; 22 Jul 2024 07:06:16 +0000 Original-Received: from localhost ([127.0.0.1]:56725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVn7g-0005wG-DE for submit@debbugs.gnu.org; Mon, 22 Jul 2024 03:06:16 -0400 Original-Received: from mail-oa1-f48.google.com ([209.85.160.48]:52576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVeEP-0004BZ-1n for 72230@debbugs.gnu.org; Sun, 21 Jul 2024 17:36:37 -0400 Original-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-261112c303bso1479570fac.1 for <72230@debbugs.gnu.org>; Sun, 21 Jul 2024 14:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721597728; x=1722202528; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Z+aDwRVhtqIjZzmKXL2gQ0j7ta4o5bhOvbNVVCEe4+0=; b=kBI0MuIa1w1VI22xDF0peT5ONftAPcSZ7gvpnotOpE828e1tyHQpWcmahitE17B8ny JQ3Eo/jehiO67gFtd+FrdyzmmLEnWeYRn6Hod4Er6/C7on2oDQSj2KqfZMKjwLlyKqli avl/zd53jJ5xUjCStPJZ1IAaGEiTMTM9dSoMB83WwBxoJFZYHNLyD4H1FLdvmzzcs7FA EBivAUh+aoGq8UlKjrqu9E12C/3gXXU8yPoZoDEJG3y+1pygtliVt0XQwFLllkSghIdG ZB7dKbqHJ/JsNgxIt/4jYaVwDLa6RxlIEfOvG/f+42tRkc2W5Nz/FK+EokO/9EOHgAJX dEcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721597728; x=1722202528; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z+aDwRVhtqIjZzmKXL2gQ0j7ta4o5bhOvbNVVCEe4+0=; b=DEFCPANsCp6hkkOQzriQGjZbgL7oXn6U4v374GohUV6pbs20XqEJPS9LgfHDQUSYRq Yp1wcAP1vVtCitjW6zh0ZOKz0ET4vpD4IY8hCxjXNj5iGpROpOnBa6Mzas7i5FmzcWow EWvLqb7wT2kuyPg6HJjO8Yks0z7DZaIBoTaHZXtCi1nO6ssVgwX4oUZPYeUkOSLoqIpU wsPkm/oMlQ02yFSrCTsRlWMtFTP3WOP+jT0jZfvAYKDt0X8cv4tQv1btzPmpZJlbJcQL IZJ1lVs5r9kLnGgjNz/YWaH73JTaAGpeqdQspMP+vCgtSEWptVetSYgXbDI4U1SCuSdV ICUg== X-Forwarded-Encrypted: i=1; AJvYcCX4FnnlSfp55yz4Ox5xySd1RKcUR6+tyoIjlTTEJaO4p2QuFD9TV3ARecpHmSKl2qLJx+nnkM5UWmuP4ub9P3YT46+6gZ8= X-Gm-Message-State: AOJu0YwsnVJeotTbvwfUQZLpTuWuHb5xT/89bvUtk6vh5vpxztiP8Y7I uaJVCyFJJUQ29Giu9b+LQz5meXBwg+CtUAoZPIMZ5prRRRRTVNCDRYC+yLAK46kCrRqdABEczb0 2ucXiQlTPxwxY5YW6Dvc4c5LLpOs= X-Google-Smtp-Source: AGHT+IFnumUm90UkuieVBZiG4IKIfvwlQFH5/pN0fSJrRzape7MvdNZFZDUwUGWN0O0C1NL/HlHEHP3U4JtfvpcVgaI= X-Received: by 2002:a05:6870:5588:b0:25e:d90:fe70 with SMTP id 586e51a60fabf-261216527d1mr5273531fac.43.1721597728491; Sun, 21 Jul 2024 14:35:28 -0700 (PDT) In-Reply-To: X-Mailman-Approved-At: Mon, 22 Jul 2024 03:06:15 -0400 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:289109 Archived-At: --0000000000000d8fc5061dc8b590 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, thank you so much. This works for me too. On Sun, Jul 21, 2024 at 10:26=E2=80=AFPM Stefan Kangas wrote: > Gerd M=C3=B6llmann writes: > > > 1 file changed, 4 insertions(+) > > src/nsterm.m | 4 ++++ > > > > modified src/nsterm.m > > @@ -3137,6 +3137,10 @@ Note that CURSOR_WIDTH is meaningful only for > (h)bar cursors. > > if ((cursor_glyph->resolved_level & 1) !=3D 0) > > s.origin.x +=3D cursor_glyph->pixel_width - s.size.width; > > > > + /* Get rid of the clipping set previously. */ > > + [ctx restoreGraphicsState]; > > + [ctx saveGraphicsState]; > > + NSRectClip (s); > > NSRectFill (s); > > [ctx restoreGraphicsState]; > > break; > > > > This fixes the bug for me. > --0000000000000d8fc5061dc8b590 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, thank you so much. This works for me= too.


On Sun, Jul 21, 2024 at 10:26=E2=80=AFPM Stefan Kangas <stefankangas@gmail.com> wrote= :
Gerd M=C3=B6ll= mann <gerd= .moellmann@gmail.com> writes:

> 1 file changed, 4 insertions(+)
> src/nsterm.m | 4 ++++
>
> modified=C2=A0 =C2=A0src/nsterm.m
> @@ -3137,6 +3137,10 @@ Note that CURSOR_WIDTH is meaningful only for (= h)bar cursors.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 if ((cursor_glyph->resolved_level & = 1) !=3D 0)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 s.origin.x +=3D cursor_glyph->pix= el_width - s.size.width;
>
> +=C2=A0 =C2=A0 =C2=A0 /* Get rid of the clipping set previously. */ > +=C2=A0 =C2=A0 =C2=A0 [ctx restoreGraphicsState];
> +=C2=A0 =C2=A0 =C2=A0 [ctx saveGraphicsState];
> +=C2=A0 =C2=A0 =C2=A0 NSRectClip (s);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 NSRectFill (s);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 [ctx restoreGraphicsState];
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 break;
>

This fixes the bug for me.
--0000000000000d8fc5061dc8b590--