Gnus development mailing list
 help / color / mirror / Atom feed
* summary shows R2L
@ 2012-01-26  1:07 السّلام عليكم
  2012-01-26  7:27 ` Bidi (R2L) in Gnus summary buffer (was: summary shows R2L) Reiner Steib
  2012-01-26  9:54 ` summary shows R2L Leonidas Tsampros
  0 siblings, 2 replies; 6+ messages in thread
From: السّلام عليكم @ 2012-01-26  1:07 UTC (permalink / raw)
  To: ding

السّلام عليكم (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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-26 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26  1:07 summary shows R2L السّلام عليكم
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

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).