[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bidi reordering in program source buffers
From: |
Eli Zaretskii |
Subject: |
Re: bidi reordering in program source buffers |
Date: |
Thu, 25 Aug 2011 20:28:30 +0300 |
> Date: Thu, 25 Aug 2011 16:51:54 +0300
> From: "Ehud Karni" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
> address@hidden
>
> On Sat, 20 Aug 2011 13:53:29 Eli Zaretskii <address@hidden> wrote:
> >
> > In general, having something like this on display:
> >
> > printf ("FEDCBA %d PONMLK %f ZYX %lu\n", foo, bar, baz);
> >
> > for a source that in logical order reads
> >
> > printf ("ABCDEF %d KLMNOP %f XYZ %lu\n", foo, bar, baz);
> >
> > which is what you suggest, is only marginally better than the original
> > logical-order string, because the reading order is ambiguous at best,
> > and downright undecipherable in more complex situations, where the
> > format string includes punctuation and L2R text. So if we think the
> > above is acceptable, we might as well consider not reordering this at
> > all.
>
> I agree.
>
> The default setting of bidi reordering for this kind of buffer should
> be nil.
Thanks for the feedback.
So in your opinion, buffers that display source code should not be
reordered, not even the strings and comments they display? IOW, we
should give up showing human-readable portions of those buffers in a
legible display form? That's a bit harsh, no?
> I think a (global) function that toggles the bidi reordering
> ONLY for the local buffer should ease the work of Emacs users.
Can you elaborate why this is needed?
In any case, the function should simply toggle the value of
bidi-display-reordering, as it's per-buffer variable. But I rather
think Emacs should set this variable correctly without user
intervention.
- Re: bidi-display-reordering is now non-nil by default, (continued)
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Stefan Monnier, 2011/08/18
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/19
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Eli Zaretskii, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Andreas Schwab, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Eli Zaretskii, 2011/08/20
- Re: bidi reordering in program source buffers (was: bidi-display-reordering is now non-nil by default), Ehud Karni, 2011/08/25
- Re: bidi reordering in program source buffers,
Eli Zaretskii <=
- Re: bidi reordering in program source buffers, Ehud Karni, 2011/08/25
- Re: bidi reordering in program source buffers, Eli Zaretskii, 2011/08/25
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Chong Yidong, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/20
- Re: bidi-display-reordering is now non-nil by default, Lars Magne Ingebrigtsen, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Eli Zaretskii, 2011/08/19
- Re: bidi-display-reordering is now non-nil by default, Andrey Paramonov, 2011/08/15
Re: bidi-display-reordering is now non-nil by default, Andrey Paramonov, 2011/08/16