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

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

bug#27526: 25.1; Nonconformance to Unicode bidirectionality algorithm du


From: Eli Zaretskii
Subject: bug#27526: 25.1; Nonconformance to Unicode bidirectionality algorithm due to paragraph separator
Date: Mon, 17 Jul 2017 17:54:49 +0300

> Date: Tue, 04 Jul 2017 19:18:39 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > From: Itai Berli <address@hidden>
> > Date: Tue, 4 Jul 2017 18:57:33 +0300
> > 
> > How about letting the user decide what's best for them? Would it be 
> > possible to add an option to Emacs that a
> > user can set, say, in their .emacs file, which will determine whether the 
> > bidi imiplementation will consider the
> > newline character as the paragraph separator or an empty line?
> 
> Could be.  I'd need to carefully review the code to say for sure.
> Originally, the regexp which defines where paragraph begins was
> customizable, but it led to grave bugs, so I removed that.  Maybe a
> more restricted facility could avoid such pitfalls.

It turned out to be relatively easy, so I implemented this on the
master branch of the Emacs Git repository.  There are two new
variables that you should set to "^" to get the behavior you wanted.
I hope you can build the master branch and see whether the new
facilities solve your case.

Thanks.





reply via email to

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