all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nima Aryan <nimawebgard@gmail.com>
To: 28339@debbugs.gnu.org
Subject: bug#28339: 25.2; Emacs shows ZWNJ character (Zero Width non-Joiner) as Space
Date: Sun, 03 Sep 2017 19:31:16 +0000	[thread overview]
Message-ID: <CALp2H_1BC8Gv14LVZY14-nfag3PXObNaQP3TYUPzh-6aqtB5Cg@mail.gmail.com> (raw)
In-Reply-To: <831snnyaem.fsf@gnu.org>

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

The problem is specific (as it could be tested) to non-English Alphabet. At
least Persian.

I've tested the 'glyphless-char-display-control' and I can confirm that as
It seems, it's working on English input as expected. For example choosing
to set `Hex box` cause ZWNJ be replaced as hex box. Other options
(including defaults) seems to works as expected.

But the same option (on the same session) does not work as expected  for
Persian (and possibly other similar) alphabets. Actually with exactly same
option using Persian characters a clear normal space is shown instead of
Hex box (completely different behavior). No matter what the option for
non-English alphabet is, the ZWNJ is shown as a normal space character.

Using Persian, ZWNJ really matters. For example while `A+ZWNJ+B` should be
displayed as `AB` it's shown as `A  B` in Persian but `AB` in English. ZWNJ
might not have any application in English but it's vital for some other
languages. It's a kind of an end-immediate-start in continuous scripts. In
Latin alphabet it might have some uses in German language (fl). However it
very important for Persian, Hebrew,, Arabic, Urdu, Hindi and some other
alphabets.

Thanks

p.s. Just as a hypothesis, BiDi most interfere here as well and causes such
behavior.

On Sun, Sep 3, 2017 at 9:42 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Sun, 03 Sep 2017 20:06:33 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 28339@debbugs.gnu.org
> >
> > Emacs traditionally tries not to hide characters from the user.
>
> Maybe there's a misunderstanding on my part: are you saying that you
> do NOT see ZWNJ on display?  In that case, it could be because the
> character is by default displayed as a very thin (1-pixel) space.
> When you move the cursor across it, you should see a very thin bar
> instead of the normal cursor.
>
> In any case, the variable I mentioned lets you change how this
> character is displayed.
>

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

  reply	other threads:[~2017-09-03 19:31 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 15:57 bug#28339: 25.2; Emacs shows ZWNJ character (Zero Width non-Joiner) as Space Nima Aryan
2017-09-03 17:06 ` Eli Zaretskii
2017-09-03 17:11   ` Eli Zaretskii
2017-09-03 19:31     ` Nima Aryan [this message]
2017-09-04  4:26       ` Eli Zaretskii
2017-09-04  5:05         ` sadid sahami
2017-09-04  9:15           ` Eli Zaretskii
2017-09-04 11:43             ` Nima Aryan
2017-09-04 11:49               ` Nima Aryan
2017-09-04 12:11               ` Eli Zaretskii
2017-09-06 23:25           ` handa
2017-09-07  2:40             ` Eli Zaretskii
     [not found] ` <CALp2H_0RgoW6NL-N3yLA_io38-y8noymU4gGwEbLGcDV4AX9_g@mail.gmail.com>
2017-09-10 23:08   ` handa
2017-09-11 16:19     ` Eli Zaretskii
2017-09-13 14:06       ` handa
2017-09-13 15:02         ` Eli Zaretskii
2017-09-14 12:24           ` handa
2017-09-14 17:15             ` Eli Zaretskii
2017-09-16  1:32               ` handa
2017-09-16  4:05                 ` Nima Aryan
2017-09-16  7:24                 ` Eli Zaretskii
2017-09-16 17:30               ` Benjamin Riefenstahl
2017-09-16 17:42                 ` Eli Zaretskii
2017-09-16 18:05                   ` Benjamin Riefenstahl
2017-09-16 18:23                     ` Eli Zaretskii
2017-09-16 18:20                   ` Eli Zaretskii
2017-09-18  1:52                   ` handa
2017-09-18 15:16                     ` Eli Zaretskii
2017-09-19 12:18                       ` handa
2017-09-20  7:25                         ` Eli Zaretskii
2017-09-18 15:22                     ` Benjamin Riefenstahl
2017-09-14 21:13           ` Nima Aryan
     [not found] ` <CALp2H_2w50RrBiaWV1dpg760cUpamy1nZdRgrwJKAjESq3no3Q@mail.gmail.com>
2017-09-13 14:02   ` handa
     [not found] ` <CALp2H_3tLC71X6-jvH2XD-6qX8O=KE5wHa561QPk-w2OoCX9HA@mail.gmail.com>
2017-09-16 12:36   ` handa
     [not found] ` <CALp2H_2MWgjoEEm6Rp5+5uOdMk-RbFWzaCrweo=pbdzAaq8btA@mail.gmail.com>
2017-10-06 10:05   ` handa
2017-10-06 12:14     ` Eli Zaretskii
2017-10-07  1:11       ` handa
2020-09-04  5:12       ` Lars Ingebrigtsen

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=CALp2H_1BC8Gv14LVZY14-nfag3PXObNaQP3TYUPzh-6aqtB5Cg@mail.gmail.com \
    --to=nimawebgard@gmail.com \
    --cc=28339@debbugs.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.