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

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

bug#28454: RTL HTML causes *Article* buffer to be stuck in RTL mode


From: Eli Zaretskii
Subject: bug#28454: RTL HTML causes *Article* buffer to be stuck in RTL mode
Date: Thu, 14 Sep 2017 19:45:34 +0300

> From: Tim Landscheidt <tim@tim-landscheidt.de>
> Date: Thu, 14 Sep 2017 01:40:41 +0000
> 
> In Gnus v5.13 (GNU Emacs 25.2.1), if I display HTML mails
> that start with (cf. attachment for examplary spam):
> 
> | <html dir="rtl" […]
> 
> the *Article* buffer switches to RTL mode, i. e. all lines,
> including headers, are right-aligned.  If I subsequently
> display a plain text mail (or a HTML mail without "dir" at-
> tribute), this state remains, i. e. all lines, including
> headers, are still right-aligned.
> 
> After killing the *Article* buffer, displaying plain text
> mails works as usual again.

It sounds like Gnus is reusing the *Article* buffer, in which case it
should reset bidi-paragraph-direction to nil before displaying a new
article.  As a workaround, you can do that manually when the problem
happens.





reply via email to

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