From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: RTL lines Date: Thu, 28 Oct 2021 09:03:11 +0200 Message-ID: <20211028070311.GA17431@tuxteam.de> References: <3519414.WYFCpekPd3@galex-713.eu> <4537597.zJ5D36GCzO@galex-713.eu> <831r45vg6l.fsf@gnu.org> <3345060.FcSoDe5yjW@galex-713.eu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33516"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 28 09:07:06 2021 Return-path: Envelope-to: geh-help-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 1mfzVC-0008St-BY for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 09:07:06 +0200 Original-Received: from localhost ([::1]:39854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfzVA-0002Wp-M1 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 03:07:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfzRY-0000m2-EW for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 03:03:20 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:59530) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1mfzRS-0001cb-7L for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 03:03:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Hnny5PLHday5dRQgNORF69HJbkCPDbqv4itAXnj8X7A=; b=QrW9tAMXAZmh/BVb25IaUHDzhU4PulOPTWcDiR7nhQ2MXUzvCX81b8JbFm8EznStoDdOJGa0Qn6xitxsevQfbAeDIzaoqgVlrV78+TrxoSM7T9b9qQvW0qUILiVgaTKVUq7xoj8GQeCxc7+I+jdiR4rMhxC714kXgw19Oqvb4uF5NxLuGalz/V7fNYos6ODA0OzfiFhCmfznOc/fHxkDvL5FoSK7icmV7aMvx21b0ExdkFUycDIUT7V8kKo9UHB37ktiDexk4RCExZGZ8NuIw2g9z9qHkIGcAkR2jtMxRjDMOg1ud5YNVtRZSVWi+J7pwkd9R41tX83WeQNb7GSF0w==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1mfzRP-0004jb-Pr for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 09:03:11 +0200 Content-Disposition: inline In-Reply-To: <3345060.FcSoDe5yjW@galex-713.eu> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134250 Archived-At: --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 28, 2021 at 08:08:53AM +0200, Alexandre Garreau wrote: [...] > Oh ok, but do they define what a paragraph is? This is... complicated. See [0], especially [1], and the references =66rom there. My take (but note that I'm an analphabet here) is that there usually will be a surrounding level of "markup" (e.g. XML, HTML, something else) which decides what a paragraph is. The usual convention of an empty line separating paragraphs is fine as that "surrounding level", too. Unicode also has a "paragraph separator", \u2029, in case you need one. However that separation is done, the BIDI algorithm doesn't care. It works exclusively whithin one paragraph, whatever happens in one paragraph doesn't touch the others, and thus it wants to be fed single paragraphs. Read the refs. Very instructive (and you'll learn to appreciate a bit more what a labour of love Eli has been doing before he became our maintainer). Cheers [0] https://www.unicode.org/reports/tr9/ [1] https://www.unicode.org/reports/tr9/#Basic_Display_Algorithm - t --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmF6Sy8ACgkQBcgs9XrR2kapGQCbB/kgCOcZdDFVX+Uu5RdllU2A P0YAn2Y/xuA8jY5zdzGHIu8+oqCWu5uK =H2EL -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--