From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nima Aryan Newsgroups: gmane.emacs.bugs Subject: bug#28339: 25.2; Emacs shows ZWNJ character (Zero Width non-Joiner) as Space Date: Thu, 14 Sep 2017 21:13:57 +0000 Message-ID: References: <87d16usnfi.fsf@gnu.org> <83wp52od4m.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114d9354f2908105592cc199" X-Trace: blaine.gmane.org 1505423713 4810 195.159.176.226 (14 Sep 2017 21:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2017 21:15:13 +0000 (UTC) Cc: 28339@debbugs.gnu.org To: Eli Zaretskii , handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 14 23:15:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsbTV-000102-MG for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Sep 2017 23:15:05 +0200 Original-Received: from localhost ([::1]:50078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsbTd-0003J3-3Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Sep 2017 17:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsbTX-0003HS-Jw for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2017 17:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsbTS-0000u6-KD for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2017 17:15:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsbTS-0000tx-Gs for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2017 17:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsbTS-0008Tl-Bz for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2017 17:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nima Aryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Sep 2017 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28339-submit@debbugs.gnu.org id=B28339.150542365832534 (code B ref 28339); Thu, 14 Sep 2017 21:15:02 +0000 Original-Received: (at 28339) by debbugs.gnu.org; 14 Sep 2017 21:14:18 +0000 Original-Received: from localhost ([127.0.0.1]:41572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsbSk-0008Sg-3B for submit@debbugs.gnu.org; Thu, 14 Sep 2017 17:14:18 -0400 Original-Received: from mail-yw0-f182.google.com ([209.85.161.182]:47919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsbSi-0008ST-HZ for 28339@debbugs.gnu.org; Thu, 14 Sep 2017 17:14:16 -0400 Original-Received: by mail-yw0-f182.google.com with SMTP id t127so379118ywg.4 for <28339@debbugs.gnu.org>; Thu, 14 Sep 2017 14:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kup2JPykGgShiA2DivtzrIzSD5/H9hFQNHcrYz8Y6vw=; b=uACiMcXKYUD7M34EzVUmNnCRs3KqsuuNPzvzpjgfoR1BnR/EzlPKS06FXOzP09nOFf iRxImHHX/v9CCAzGPyaZulHJBYyFt9smygoBuV3JSHVUd3QmPGW77VGZIX9w8VB4t838 nHttnJByXdVLPPqbvhnFBnPi4ZMRG04ScOAwp9WRssOFQCrCiIzkm5tOXanpZXhooNY7 uUO3Rowz1Plp+VOxFYRznk/LBTbQAM4Lafn1+nH5D11DQr25eeuc/5zxsCuxV+EIfT0S As7tK5yJXy6QXznsQXPI9OspIquzSmeLovqktDSJQK8Zd4eA95yv85+5Cwcjsl5wtc+B 77zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kup2JPykGgShiA2DivtzrIzSD5/H9hFQNHcrYz8Y6vw=; b=kdZnNGpaTNcNmCu8/FY4YgQapkADl+rMD7lzBLp/9QppIn5Kx7rx2E2375m4SFMK4+ ds982OJ7W4aFi2RS20kXDQ3I5XQjIaYgCKpcTLgacrf0it1uZVSf6PlH+sr5GUtX7fFZ TTvqO2jEU/CeY5ax154birT5twbcA05UNnMbWM/OxcjI4uaOkga5B/1XiH6hnIWbBUbh 3AvS3zEDAo88DyL8nOBZF/pHvKrZwsZ2dBtz9no586Qm7XRBOfCDw6Jx4Xkn5gYiXArR cws7G3LOL2wuPvTfIrd2aQU+L8MdLkNyu0F/mfT3TUaFF6gmexU2qDOiIObh+UTxlgMp ZsPQ== X-Gm-Message-State: AHPjjUgT1tUeYnjD7JhmokRBya7eGp7GN2x3lxuCoZwy4gVjZBflM9mY 2SODSrnNdceOD+TyPpFRbxmVAQalBL2yZVJ7sds= X-Google-Smtp-Source: ADKCNb5vvlI6lOB1KU/te5UCwKqppWVgmuccAEs72ZlHxoPl7AMrK0nxWBh7iqopgcOqi4ccDhIFgp6lFnpo/sVjX6k= X-Received: by 10.13.205.195 with SMTP id p186mr15840216ywd.334.1505423650884; Thu, 14 Sep 2017 14:14:10 -0700 (PDT) In-Reply-To: <83wp52od4m.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136979 Archived-At: --001a114d9354f2908105592cc199 Content-Type: text/plain; charset="UTF-8" I've no technical background in typography, but as a use case when the user type 'A[ZWNJ]B' the editor should show 'A[Discontinuation of continuous script but without any space or kerning]B'. It can be translated to '[the end shape of A][No space or kerning][the beginning shape of B]' . Persian/Hebrew/Arabic scripts have different glyphs for the same character based on their position in the word (beginning, middle, end), so the ZWNJ is vital here. Regarding ZWNJ from user point of view in these scripts, it works exactly like 'Space' but without showing it. This might be misunderstanding on my part, but It is strange to me if the font (or shaper?) replaces the ZWNJ with space. It's OK to show nothing for ZWNJ but not the space. I've not such experience with other editors such as Gedit (or even with terminal emulators) and if this is the case how other editors figure it out? Thanks a lot, P.s. Regarding the new patch I'll test it as soon as possible. --001a114d9354f2908105592cc199 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've no technical background in typography, but as a u= se case when the user type 'A[ZWNJ]B' the editor should show 'A= [Discontinuation of continuous script but without any space or kerning]B= 9;. It can be translated to '[the end shape of A][No space or kerning][= the beginning shape of B]' . Persian/Hebrew/Arabic scripts have differe= nt glyphs for the same character based on their position in the word (begin= ning, middle, end), so the ZWNJ is vital here. Regarding ZWNJ from user poi= nt of view in these scripts, it works exactly like 'Space' but with= out showing it.=C2=A0

This might be misunderstanding on = my part, but It is strange to me if the font (or shaper?) replaces the ZWNJ= with space. It's OK to show nothing for ZWNJ but not the space. I'= ve not such experience with other editors such as Gedit (or even with termi= nal emulators) and if this is the case how other editors figure it out?=C2= =A0

Thanks a lot,

P.s. Re= garding the new patch I'll test it as soon as possible.

<= /div>
--001a114d9354f2908105592cc199--