[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-27 30a7ee5: Fix Arabic shaping when eww/shr fill the text to b
From: |
Stefan Monnier |
Subject: |
Re: emacs-27 30a7ee5: Fix Arabic shaping when eww/shr fill the text to be rendered |
Date: |
Fri, 05 Jun 2020 11:20:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Yes, it does. But the problem is more general, so the fix is not just
> a kludge to fix what shr does. As the comment explains.
Yes, the fix is fine.
>> Isn't that a problem, since its docstring says:
>>
>> [...]
>> Setting this to nil is intended for use in debugging the display code.
>> [...]
>
> It's "do like I say, not like I do" ;-)
;-)
>> Can we change SHR so it doesn't bind this var?
>
> I didn't see any better way at the time. Shr's naïve filling
> algorithm cannot cope with the complexity of RTL text in an LTR
> paragraph, when a long line has been continued. Maybe it's even
> entirely impossible to DTRT in Lisp in these cases. But if you or
> someone else have ideas, please describe them.
Fair enough, thanks,
Stefan