[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode combining characters
From: |
Eli Zaretskii |
Subject: |
Re: Unicode combining characters |
Date: |
Wed, 26 May 2021 20:14:02 +0300 |
> Date: Wed, 26 May 2021 15:54:43 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > (setq shr (string 2358 2381 2352))
> > (setq sh-r (string 2358 2352))
> >
> > (string-width shr) ;; 2
> > (string-width sh-r) ;; 2
>
> Sorry, it turns out I've misremembered: string-width doesn't account
> for "automatic compositions", the ones that happen due to
> composition-function-table (as opposed to "static compositions" which
> happen due to the 'composition' text property). So this case
> currently cannot be handled correctly by string-width; we should fix
> that.
Please try the latest master branch, I hope I fixed this now.
- Unicode combining characters, Anand Tamariya, 2021/05/25
- Re: Unicode combining characters, Anand Tamariya, 2021/05/26
- Re: Unicode combining characters, Joost Kremers, 2021/05/26
- Re: Unicode combining characters, Eli Zaretskii, 2021/05/26
- Re: Unicode combining characters,
Eli Zaretskii <=
- Re: Unicode combining characters, Anand Tamariya, 2021/05/27
- Re: Unicode combining characters, Eli Zaretskii, 2021/05/27
- Re: Unicode combining characters, Basil L. Contovounesios, 2021/05/27
- Re: Unicode combining characters, Eli Zaretskii, 2021/05/27
- Re: Unicode combining characters, Anand Tamariya, 2021/05/27
- Re: Unicode combining characters, Eli Zaretskii, 2021/05/27