Subject: bug#23652: 25.1.50; wrong alignment in complex text layout (CTL) in eshell

From: Salman Mohammadi <[email-masked]>
Date: Mon, 30 May 2016 10:58:06 +0200

Yeah, it will work finely if we set that variable.

https://i.imgur.com/LE0uzaZ.png

On 05/30/2016 02:25 AM, Eli Zaretskii wrote:
>> From: Salman Mohammadi <[email-masked]>
>> Date: Sun, 29 May 2016 21:18:54 +0200
>>
>>
>> If the command at the first line in eshell starts with a Latin word the
>> alignment of
>> all following lines are LTR and it is OK. But if the first command is
>> RTL (for instance Persian script) all the proceeding lines are RTL
>> without considering where the following commands are RTL or LTR.
>>
>> Here are some screenshots:
>>
>> https://i.imgur.com/ravHXi3.png
>> https://i.imgur.com/bsnpGVD.png
> Does it help to set bidi-paragraph-direction to the value
> 'left-to-right in the Eshell buffer?  If this gives good results, we
> can do that by default as part of Eshell initialization.
>
> Thanks.