help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTL lines


From: Eli Zaretskii
Subject: Re: RTL lines
Date: Thu, 28 Oct 2021 11:59:30 +0300

> From: Alexandre Garreau <galex-713@galex-713.eu>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]