From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: RTL lines Date: Thu, 28 Oct 2021 11:59:30 +0300 Message-ID: <83o879tthp.fsf@gnu.org> 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: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28165"; mail-complaints-to="usenet@ciao.gmane.io" 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 11:01:46 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 1mg1IA-000785-0U for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 11:01:46 +0200 Original-Received: from localhost ([::1]:40016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg1I8-0003WD-SG for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 05:01:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1G0-0003Tk-4X for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:59:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1Fz-0004Bj-Qr for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ZXpMnWnUVbpzAnLZsyDK/1aghXlIAb5bWPpM8RK5x7s=; b=Xh+8o7r/lJhn9XeE8gQI JEqZ9/y6k51TZKtNoKMIIbZ7coNXIQ8e+BtFqAhKtbg0uwnp8q3HmYe3/WRxCsxahVaquzoSlKmbo Z9a/qFpSUS+t3NQzTxZ/tp2dLap7RQHWn373bZvkC4h1cgFKGtFPoFlrt4Sqv6d3BlXPpRU3AbmKT 3FSStYsI/ornSnmfGbVwCGFPU1T7nRoY2DCkRNsnpzA5kq3k1IWoRd/uGyhLQBp2dzmkkK/lvBvvm ey8aWLnGhSjLjAGC4mjJRBWn+Vp4JrbOdEhL1JhdjvaoU75Z1zHrlzL3nPbMdliotHRJpqXyljphB HdLp+Q1iVpjOSg==; Original-Received: from [87.69.77.57] (port=1233 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg1Fz-0007Ke-4q for help-gnu-emacs@gnu.org; Thu, 28 Oct 2021 04:59:31 -0400 In-Reply-To: <3345060.FcSoDe5yjW@galex-713.eu> (message from Alexandre Garreau on Thu, 28 Oct 2021 08:08:53 +0200) 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:134253 Archived-At: > From: Alexandre Garreau > Cc: help-gnu-emacs@gnu.org > Date: Thu, 28 Oct 2021 08:08:53 +0200 > > > > Thinking to it, yes, a paragraph is the most meaningful semantical > > > unit to do that. I guess in any file where lines can be filled > > > (like, except csv files for instance) there wouldn’t be sense to do > > > that… > > > > That's not our invention, that's what the Unicode Bidirectional > > Algorithm (which Emacs implements) mandates. > > Oh ok, but do they define what a paragraph is? Yes, they do. > > The reordering of bidirectional text for display has its own separate > > definition of what is a paragraph, see bidi-paragraph-start-re and > > bidi-paragraph-separate-re. > > Oh! but why isn’t that kept synchronized with the normal emacs definition > of a paragraph (such as with the outline/org-mode one? when they’re > respectively enabled) Because in some important modes that "normal" definition makes no sense for bidirectional reordering. For example, texinfo-mode.