all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hermann sorgel <hermannsorgel@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 72230@debbugs.gnu.org
Subject: bug#72230: 29.4; Cursor Disappears with Hebrew Text
Date: Sun, 21 Jul 2024 20:15:04 +0300	[thread overview]
Message-ID: <CAPinL6Nw3kxEH5ktUXUsjETPd=xxrosx_8L5sqbjBWYn_bz4qA@mail.gmail.com> (raw)
In-Reply-To: <86ikwybuoq.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

Thank you, Eli!

Sadly, I'm not actually into coding, but I'm able to run make. So, the only
thing I've changed was:

s.origin.x += cursor_glyph->pixel_width - *cursor_width*;

Such a build kind of works, but does not fix the described behavior.

Also, with the help of redditors, I've found that Mitsuharu's fork of 29.1
does not have this issue. Hope this will help us find the root of the
problem.

On Sun, Jul 21, 2024 at 7:01 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > Cc: 72230@debbugs.gnu.org
> > Date: Sun, 21 Jul 2024 18:46:58 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > 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?
>

[-- Attachment #2: Type: text/html, Size: 2019 bytes --]

  reply	other threads:[~2024-07-21 17:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-21 14:20 bug#72230: 29.4; Cursor Disappears with Hebrew Text hermann sorgel
2024-07-21 15:46 ` Eli Zaretskii
2024-07-21 16:01   ` Eli Zaretskii
2024-07-21 17:15     ` hermann sorgel [this message]
2024-07-21 17:31     ` hermann sorgel
2024-07-21 17:37       ` Eli Zaretskii
2024-07-21 18:05         ` Stefan Kangas
2024-07-21 18:42           ` Gerd Möllmann
2024-07-21 18:45           ` Gerd Möllmann
2024-07-21 19:26             ` Stefan Kangas
2024-07-21 21:35               ` hermann sorgel
2024-07-22  2:05           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-22  6:47             ` Gerd Möllmann
2024-07-23  6:17               ` Gerd Möllmann
2024-07-23  7:14                 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPinL6Nw3kxEH5ktUXUsjETPd=xxrosx_8L5sqbjBWYn_bz4qA@mail.gmail.com' \
    --to=hermannsorgel@gmail.com \
    --cc=72230@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.