GNU bug report logs - #64420
string-width of … is 2 in CJK environments

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Sun, 2 Jul 2023 12:58:02 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: itaemu <at> gmail.com, casouri <at> gmail.com, 64420 <at> debbugs.gnu.org
Subject: Re: bug#64420: string-width of … is 2 in CJK
 environments
Date: Sat, 12 Aug 2023 20:09:15 +0300
> Date: Sat, 12 Aug 2023 19:40:01 +0300
> Cc: itaemu <at> gmail.com, casouri <at> gmail.com, 64420 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> >> With the caveat that, in the terminal, if I switch to Chinese-BIG5 and
> >> visit a file with ambiguous characters like … (which triggers some bugs
> >> with display and navigation around those chars), (setopt
> >> cjk-ambiguous-chars-are-wide nil) doesn't fix those bugs -- I have to
> >> kill and re-visit the buffer for them to go away. But maybe that's expected.
> > Does "M-x redraw-display RET" solve the problem after setting the
> > variable?
> 
> Looks like it does, yes.

I guess the :set function should trigger that or something.  Let me
think about that.




This bug report was last modified 2 years ago.

Previous Next


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