all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tim Landscheidt <tim@tim-landscheidt.de>
Cc: 28454@debbugs.gnu.org
Subject: bug#28454: RTL HTML causes *Article* buffer to be stuck in RTL mode
Date: Thu, 14 Sep 2017 19:45:34 +0300	[thread overview]
Message-ID: <838thhns9d.fsf@gnu.org> (raw)
In-Reply-To: <87vakmqcpy.fsf@passepartout.tim-landscheidt.de> (message from Tim Landscheidt on Thu, 14 Sep 2017 01:40:41 +0000)

> 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	other threads:[~2017-09-14 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-14  1:40 bug#28454: RTL HTML causes *Article* buffer to be stuck in RTL mode Tim Landscheidt
2017-09-14 16:45 ` Eli Zaretskii [this message]
2017-09-16  3:27   ` Tim Landscheidt
2017-09-19  8:22     ` Tim Landscheidt
2017-09-30 13:42       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838thhns9d.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28454@debbugs.gnu.org \
    --cc=tim@tim-landscheidt.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.