From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Gaspard Subject: Re: Full-width characters break column display Date: Sat, 03 Nov 2018 03:35:04 +0900 Message-ID: <874lczjpk7.fsf@llwynog.ekleog.org> References: <871s84vlmu.fsf@llwynog.ekleog.org> <87ftwkd7vc.fsf@nicolasgoaziou.fr> <87y3acu06k.fsf@llwynog.ekleog.org> <87o9b8bicv.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIeIA-0002ek-8G for emacs-orgmode@gnu.org; Fri, 02 Nov 2018 14:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIeHy-0005T5-N5 for emacs-orgmode@gnu.org; Fri, 02 Nov 2018 14:35:31 -0400 Received: from grym.ekleog.org ([94.23.42.210]:54256 helo=smtp.gaspard.ninja) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gIeHq-0005OX-BO for emacs-orgmode@gnu.org; Fri, 02 Nov 2018 14:35:18 -0400 In-Reply-To: <87o9b8bicv.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > The problem is that=20 > > (string-width "=E4=BD=95=E3=81=8B") > > equals > > (string-width " ") > > i.e, 4 characters, but both strings do not have the same length > visually. > > As long as the two sexps above disagree, it seems difficult to support > this. Oh. OK, so now I feel stupid: I was convinced full-width chars were twice the width of half-width chars=E2=80=A6 and it turns out the names are treacherous, and they are actually not. I guess this is a font / display issue then, and not an org-mode issue. Sorry for having bothered you and thank you! Leo