Gnus development mailing list
 help / color / mirror / Atom feed
From: "السّلام عليكم" <yamaoka@jpl.org>
To: ding@gnus.org
Subject: summary shows R2L
Date: Thu, 26 Jan 2012 10:07:36 +0900	[thread overview]
Message-ID: <b4m62fzp8yv.fsf@jpl.org> (raw)

السّلام عليكم (Hello),

You will see the summary buffer is drawn right to left if:
 - You use Emacs 24.
 - The subject of this article is at the beginning of the summary
   buffer.
 - The summary line of this article has no mark, i.e., begins with
   a space.

If you don't see it so, try setting `gnus-summary-line-format' to
the default value ("%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n").

I found this today in a trash folder.  The other summary lines
are also drawn right to left even if those are English messages.
So, I added this snippet as a workaround:

(add-hook 'gnus-summary-mode-hook
	  (lambda ()
	    (setq bidi-paragraph-direction 'left-to-right)))

I think it worth making Gnus do it by default.  WDYT?
In addition, I also tried the next one:

(add-hook 'gnus-article-mode-hook
	  (lambda ()
	    (setq bidi-paragraph-direction 'left-to-right)))

But I couldn't see whether it is worthwhile or not, since I'm not
familiar with R2L text.



             reply	other threads:[~2012-01-26  1:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26  1:07 السّلام عليكم [this message]
2012-01-26  7:27 ` Bidi (R2L) in Gnus summary buffer (was: summary shows R2L) Reiner Steib
2012-01-26  8:41   ` Eli Zaretskii
2012-01-26 10:39     ` Bidi (R2L) in Gnus summary buffer Katsumi Yamaoka
2012-01-26 16:42       ` Eli Zaretskii
2012-01-26  9:54 ` summary shows R2L Leonidas Tsampros

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=b4m62fzp8yv.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).