unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pip Cet <pipcet@gmail.com>
Cc: 41626@debbugs.gnu.org
Subject: bug#41626: 28.0.50; activating mark breaks RTL shaping in etc/HELLO (auto-composition-mode)
Date: Sun, 31 May 2020 17:46:03 +0300	[thread overview]
Message-ID: <83d06kkvro.fsf@gnu.org> (raw)
In-Reply-To: <CAOqdjBf9diR1WAQbUyvhnWC-0RxgLpm7WWQyTK-80RyqXGMtgQ@mail.gmail.com> (message from Pip Cet on Sun, 31 May 2020 10:02:40 +0000)

> From: Pip Cet <pipcet@gmail.com>
> Date: Sun, 31 May 2020 10:02:40 +0000
> 
> Recipe:
> start emacs -Q etc/HELLO
> move point to character position 358 (ARABIC LETTER SEEN)
> hit C-SPC to activate the mark
> 
> Expected result:
> mark is activated, no change to shaping
> 
> Actual result:
> The character at position 357 is no longer composed with the one at
> position 358. (screenshot with-mark.png) whereas it was composed
> before (screenshot without-mark.png)
> 
> The same thing works fine in a separate buffer in an RTL paragraph.

This is a known problem with how we handle character composition and
faces when they intermix.  At the time, my conclusion was that fixing
this would be next to impossible without changing the way we handle
the "stop position" during iteration through buffer text.

Of course, I could be mistaken.





      parent reply	other threads:[~2020-05-31 14:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 10:02 bug#41626: 28.0.50; activating mark breaks RTL shaping in etc/HELLO (auto-composition-mode) Pip Cet
2020-05-31 12:40 ` Basil L. Contovounesios
2020-05-31 13:10   ` Pip Cet
2020-05-31 14:59     ` Eli Zaretskii
2020-05-31 17:08       ` Pip Cet
2020-05-31 17:30         ` Eli Zaretskii
2020-05-31 17:35           ` Eli Zaretskii
2020-06-03  7:31             ` Pip Cet
2020-05-31 14:46 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83d06kkvro.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=41626@debbugs.gnu.org \
    --cc=pipcet@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).