From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Frederik Fouvry via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55256: Writing direction Date: Wed, 4 May 2022 11:02:50 +0200 Message-ID: References: <875ymlepz6.fsf@acrolinx.com> <8735hpepcq.fsf@acrolinx.com> <834k254sez.fsf@gnu.org> Reply-To: Frederik Fouvry Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fd222405de2be57b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7753"; mail-complaints-to="usenet@ciao.gmane.io" To: 55256@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 04 11:04:57 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmAwK-0001i8-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 May 2022 11:04:56 +0200 Original-Received: from localhost ([::1]:39724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmAwJ-0001uQ-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 May 2022 05:04:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmAvT-0001tp-2v for bug-gnu-emacs@gnu.org; Wed, 04 May 2022 05:04:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmAvS-0000VL-Fo for bug-gnu-emacs@gnu.org; Wed, 04 May 2022 05:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmAvS-0002rN-81 for bug-gnu-emacs@gnu.org; Wed, 04 May 2022 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Frederik Fouvry Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2022 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55256 X-GNU-PR-Package: emacs Original-Received: via spool by 55256-submit@debbugs.gnu.org id=B55256.165165501510956 (code B ref 55256); Wed, 04 May 2022 09:04:02 +0000 Original-Received: (at 55256) by debbugs.gnu.org; 4 May 2022 09:03:35 +0000 Original-Received: from localhost ([127.0.0.1]:41757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAv1-0002qc-4p for submit@debbugs.gnu.org; Wed, 04 May 2022 05:03:35 -0400 Original-Received: from mail-ej1-f48.google.com ([209.85.218.48]:45595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmAuz-0002qQ-Az for 55256@debbugs.gnu.org; Wed, 04 May 2022 05:03:34 -0400 Original-Received: by mail-ej1-f48.google.com with SMTP id y3so1580285ejo.12 for <55256@debbugs.gnu.org>; Wed, 04 May 2022 02:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acrolinx.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=t8KvlPt/toVVsca1BYyR9AmkY+llBGNZSy698c7drxw=; b=R2tIxJTTZ037dHC8f40VyRCE9WitiAdwAbDVDSNTQwMZWPfpzJa8lz1J5rxJHctkB6 JOiuqnRR3yM1dEh6cgBkH3Mo2W3wZzHvPIHfOGBilvuiWe95cFki1SSZJFuhRRjhVy8d JrHP1KbJ5+pQG9UCV4/HGT+XIRPKuTTHPyNt8C4Jhb/A0jBo0yXMBB3AECoCaurBP3SX BL4O4RMSF8HNg3UcxrLg0F6gx6qLX8mRaVOm6QwUgfCR6KvfxBux97D0ZEp9ff9jydW8 RWLcfag0eWPMUCz8hFMQNGFUXlRzMYy04ThO1X3drbwTCj6giewXcBE1WXtAezDjOn45 t5Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=t8KvlPt/toVVsca1BYyR9AmkY+llBGNZSy698c7drxw=; b=wCdJedXSeN9NId0OyU1GHwN1Nof46q+xHJunfJXg5XmOWWw3J32CE6DqqZ4p6DXfs9 e46wsFN3M/Uja887xgKEtNJHaSA9Ad+E1g7vfWbYtXMJqqH0IijsTf1FI6N8/oC4C8qJ kSYLNZU00A0YJZaEuO2IhDSIwnQbp3iXe064u40WYzsZhJSvG1swdGeJf8cQY7pYkb+X i8qqSSES3lsW3XHr3Vm3QPSeRPHeyIviTxDQDMw0yWtKkhQjc9P7KQXKNlgSz2w7ZDA5 nIOjviLi3L9ac/X5VVU+PCwZBPrzPwHB+UjheX9dJPwccYSFb9uqcl2PigzB6t/5tKM/ STbQ== X-Gm-Message-State: AOAM530cIj7b7AP5zOj5jWSHpqkxyTLUFfPxX0vncORC9nV9a2BytIrQ LZjpqRjWpywS1YwzgUhMeTFkoxAvI9kc/QzzPgIJeLDoKbW1Dw== X-Google-Smtp-Source: ABdhPJyMAX8zPboF+dUOIXVlAHWMh52lVlmMrQFVdpVGfym+K+CxG/2U1/oUy9eXekj5QhPV4zfKGqTej/TJsfmkHeg= X-Received: by 2002:a17:907:1c20:b0:6f4:639e:9400 with SMTP id nc32-20020a1709071c2000b006f4639e9400mr10825156ejc.485.1651655007078; Wed, 04 May 2022 02:03:27 -0700 (PDT) In-Reply-To: <834k254sez.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231381 Archived-At: --000000000000fd222405de2be57b Content-Type: text/plain; charset="UTF-8" On Wed, 4 May 2022 at 10:23, Eli Zaretskii wrote: > > Date: Wed, 04 May 2022 09:20:05 +0200 > > From: frederik.fouvry--- via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > > > I forgot to add: > > > > The Unicode noncharacters should not cause a change in writing > > direction, since they are not Arabic characters, but a set of characters > > for internal use only (no exchange between different parties). > > That is not entirely true, because Unicode assigns default Bidi Class > properties to some unassigned codepoints, and Emacs obeys that. So an > unassigned codepoint (which is AFAIU what "noncharacter" stands for in > your terminology) for which Unicode says that its Bidi Class should > be, for example, AL, _will_ cause change of text directionality. > > If you use those unassigned codepoints for private use, you will have > to override the default properties by manually modifying the relevant > Emacs char-tables at run time. > That sounds fair enough. I admit that my statement was generalising too much. The odd name "noncharacter" is Unicode terminology, not mine (see e.g. Spec v14, Ch. 2, p.30). --000000000000fd222405de2be57b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, 4 May 2022 at 10:23, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Wed, 04 May 2022 09:20:05 +0200
> From: frederik.fouvry--- via "Bug reports for GNU Emacs,
>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
>
> I forgot to add:
>
> The Unicode noncharacters should not cause a change in writing
> direction, since they are not Arabic characters, but a set of characte= rs
> for internal use only (no exchange between different parties).

That is not entirely true, because Unicode assigns default Bidi Class
properties to some unassigned codepoints, and Emacs obeys that.=C2=A0 So an=
unassigned codepoint (which is AFAIU what "noncharacter" stands f= or in
your terminology) for which Unicode says that its Bidi Class should
be, for example, AL, _will_ cause change of text directionality.

If you use those unassigned codepoints for private use, you will have
to override the default properties by manually modifying the relevant
Emacs char-tables at run time.

That sounds fair e= nough. I admit that my statement was generalising too much.

The odd name "noncharacter&quo= t; is Unicode terminology, not mine (see e.g. Spec v14, Ch. 2, p.30).
=
=
<= div dir=3D"ltr">
--000000000000fd222405de2be57b--