GNU bug report logs - #63029
[BUG?] format inconsistency in deciding string widths on different locales

Previous Next

Package: emacs;

Reported by: Ruijie Yu <ruijie <at> netyu.xyz>

Date: Sun, 23 Apr 2023 10:39:02 UTC

Severity: normal

Done: Ruijie Yu <ruijie <at> netyu.xyz>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 63029 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: 63029 <at> debbugs.gnu.org
Subject: Re: bug#63029: [BUG?] format inconsistency in deciding string
 widths on different locales
Date: Sun, 23 Apr 2023 17:32:43 +0300
> From: Ruijie Yu <ruijie <at> netyu.xyz>
> Cc: 63029 <at> debbugs.gnu.org
> Date: Sun, 23 Apr 2023 22:23:16 +0800
> 
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > See also bug#54138 and
> > https://lists.gnu.org/archive/html/emacs-devel/2022-02/msg00917.html.
> 
> Thanks for the link.  I have found the answer in your response there.
> 
> >> And how do we, the elisp users, get this information?
> >
> > I don't understand this question.  Please elaborate: what information
> > do you want to get, besides the width of the characters (which is
> > accessible via char-width-table).
> 
> You mentioning `char-width-table' here and `char-width' on the linked
> thread precisely answered my question.  I was looking for `char-width'
> without knowing its name.  Thanks.

OK, so can we close this issue?

Btw, the recommended method of computing the width of a string is via
string-pixel-width.




This bug report was last modified 2 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.