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

* Bidi (R2L) in Gnus summary buffer (was: summary shows R2L)
  2012-01-26  1:07 summary shows R2L السّلام عليكم
@ 2012-01-26  7:27 ` Reiner Steib
  2012-01-26  8:41   ` Eli Zaretskii
  2012-01-26  9:54 ` summary shows R2L Leonidas Tsampros
  1 sibling, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2012-01-26  7:27 UTC (permalink / raw)
  To: ding, emacs-devel

[ Full quote below for emacs-devel ]

On Thu, Jan 26 2012, السّلام عليكم wrote:
[ Suggestions for Bidi (R2L) in Gnus summary buffer ]
> I think it worth making Gnus do it by default.  WDYT?

Please disuss this on emacs-devel. See also the long thread around
<http://thread.gmane.org/gmane.emacs.devel/142460/focus=143398>.

Bye, Reiner.

[ Full quote below for emacs-devel: ]

On Thu, Jan 26 2012, السّلام عليكم wrote:

> السّلام عليكم (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.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Re: Bidi (R2L) in Gnus summary buffer (was: 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
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2012-01-26  8:41 UTC (permalink / raw)
  To: Reiner Steib; +Cc: ding, emacs-devel

> From: Reiner Steib <reinersteib+gmane@imap.cc>
> Date: Thu, 26 Jan 2012 08:27:29 +0100
> Reply-To: Reiner Steib <Reiner.Steib@gmx.de>
> 
> On Thu, Jan 26 2012, السّلام عليكم wrote:
> [ Suggestions for Bidi (R2L) in Gnus summary buffer ]
> > I think it worth making Gnus do it by default.  WDYT?

Summary buffers should definitely have left-to-right paragraph
direction by default.  I said it long ago, several times AFAIR.  It
should definitely be done before 24.1 is released.  Now is a good
time, IMO.

> Please disuss this on emacs-devel. See also the long thread around
> <http://thread.gmane.org/gmane.emacs.devel/142460/focus=143398>.

That thread is about something different: it's about how to avoid a
jumble caused by reordering of the _fields_ in the summary lines.



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

* Re: summary shows R2L
  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  9:54 ` Leonidas Tsampros
  1 sibling, 0 replies; 6+ messages in thread
From: Leonidas Tsampros @ 2012-01-26  9:54 UTC (permalink / raw)
  To: السّلام
	عليكم
  Cc: ding


السّلام عليكم <yamaoka@jpl.org> writes:

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

Wow. It can be verified on both the Summary buffer, and even the quoted
text of the message buffer while replying is drawn right to
left. Amazing.



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

* Re: Bidi (R2L) in Gnus summary buffer
  2012-01-26  8:41   ` Eli Zaretskii
@ 2012-01-26 10:39     ` Katsumi Yamaoka
  2012-01-26 16:42       ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2012-01-26 10:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: ding, Reiner.Steib, emacs-devel

Eli Zaretskii wrote:
>> From: Reiner Steib <reinersteib+gmane@imap.cc>
>> Date: Thu, 26 Jan 2012 08:27:29 +0100
>> Reply-To: Reiner Steib <Reiner.Steib@gmx.de>
>>
>> On Thu, Jan 26 2012, السّلام عليكم wrote:
>> [ Suggestions for Bidi (R2L) in Gnus summary buffer ]
>>> I think it worth making Gnus do it by default.  WDYT?

> Summary buffers should definitely have left-to-right paragraph
> direction by default.  I said it long ago, several times AFAIR.  It
> should definitely be done before 24.1 is released.  Now is a good
> time, IMO.

Done in Emacs trunk and Gnus trunk.  Thanks.



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

* Re: Bidi (R2L) in Gnus summary buffer
  2012-01-26 10:39     ` Bidi (R2L) in Gnus summary buffer Katsumi Yamaoka
@ 2012-01-26 16:42       ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2012-01-26 16:42 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: ding, Reiner.Steib, emacs-devel

> Date: Thu, 26 Jan 2012 19:39:24 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: Reiner.Steib@gmx.de, ding@gnus.org, emacs-devel@gnu.org
> 
> Eli Zaretskii wrote:
> >> From: Reiner Steib <reinersteib+gmane@imap.cc>
> >> Date: Thu, 26 Jan 2012 08:27:29 +0100
> >> Reply-To: Reiner Steib <Reiner.Steib@gmx.de>
> >>
> >> On Thu, Jan 26 2012, السّلام عليكم wrote:
> >> [ Suggestions for Bidi (R2L) in Gnus summary buffer ]
> >>> I think it worth making Gnus do it by default.  WDYT?
> 
> > Summary buffers should definitely have left-to-right paragraph
> > direction by default.  I said it long ago, several times AFAIR.  It
> > should definitely be done before 24.1 is released.  Now is a good
> > time, IMO.
> 
> Done in Emacs trunk and Gnus trunk.  Thanks.

Thank you.




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