emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode confusables and reordering characters considered harmful


From: tomas
Subject: Re: Unicode confusables and reordering characters considered harmful
Date: Wed, 3 Nov 2021 15:46:06 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 03, 2021 at 03:15:34PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 3 Nov 2021 13:41:19 +0100
> > From: <tomas@tuxteam.de>
> > 
> > But you raise an interesting point: in an R to L stretch, is the order
> > of the arguments also R to L, or L to R?
> 
> The order of the arguments is always the "logical" order, i.e. the
> order of increasing buffer positions, because that's how the
> compiler/interpreter reads the program text.

That makes sense. So in Stefan's case...

> [Stefan Monnier]
>
>     int hi = 5;
>     int שָׁלוֹם = hi;
>     int hello = 10;
>     int السّلامعليك = hello;
>     myfun(שָׁלוֹם ,السّلامعليكم)
>
> There's no override here, but did I call `myfun` with args 5 and 10 or
> did I call it with args 10 and 5?

... the args are 10 and 5, because the whole arg list is RTL.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]