From: Eli Zaretskii <eliz@gnu.org>
To: hossein valizadeh <valizadeh.ho@gmail.com>
Cc: 54325@debbugs.gnu.org
Subject: bug#54325: Emacs Shows the ZWNJ character (U+200C) as a space character
Date: Thu, 10 Mar 2022 19:48:07 +0200 [thread overview]
Message-ID: <8335jpem20.fsf@gnu.org> (raw)
In-Reply-To: <CAMyfNNpFVggDCCykrYQhNOK_SLJw6U0LWfxr7JN1ONKcbBD9mQ@mail.gmail.com> (message from hossein valizadeh on Thu, 10 Mar 2022 20:53:49 +0330)
[PLEASE keep the bug address on the CC list.]
> From: hossein valizadeh <valizadeh.ho@gmail.com>
> Date: Thu, 10 Mar 2022 20:53:49 +0330
>
> > Also, does this happen in "emacs -Q"?
> Yes, it happens ...
>
> اینها
>
> ماهها
>
> رفتهای
OK, I see it now, thanks.
I think what you want is to customize the variable
arabic-shaper-ZWNJ-handling to the value 'as-space or maybe even
'absorb. Then the display will be as you expect.
FTR: Emacs 27 had a bug in the character composition/shaping rules for
the Arabic script, and on my system the text you sent is displayed in
Emacs 27 with glitches (when I move the cursor across the ZWNJ
character, it leaves artifacts behind). Emacs 28 fixes that problem,
and that's why you see the difference. By default, Emacs isn't
supposed to display ZWNJ specially in Arabic shaping, but the above
variable can change that, so I suggest you use it.
Bottom line: I don't think there's a bug here. You just don't like
the default behavior, but an optional behavior like you want is
available.
next prev parent reply other threads:[~2022-03-10 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-10 2:28 bug#54325: Emacs Shows the ZWNJ character (U+200C) as a space character hossein valizadeh
2022-03-10 2:45 ` bug#54325: my emacs-bug-info hossein valizadeh
2022-03-10 6:44 ` bug#54325: Emacs Shows the ZWNJ character (U+200C) as a space character Eli Zaretskii
[not found] ` <CAMyfNNoWTJJj-SrZ+Zs0_DimZO3iMbBfe5Ww8MqMOXVKKfW-MA@mail.gmail.com>
2022-03-10 17:04 ` Eli Zaretskii
[not found] ` <CAMyfNNpFVggDCCykrYQhNOK_SLJw6U0LWfxr7JN1ONKcbBD9mQ@mail.gmail.com>
2022-03-10 17:48 ` Eli Zaretskii [this message]
2022-03-10 17:56 ` hossein valizadeh
2022-03-10 18:12 ` Eli Zaretskii
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=8335jpem20.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=54325@debbugs.gnu.org \
--cc=valizadeh.ho@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 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.