From: Leo Gaspard <orgmode@leo.gaspard.io>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Full-width characters break column display
Date: Sat, 03 Nov 2018 03:35:04 +0900 [thread overview]
Message-ID: <874lczjpk7.fsf@llwynog.ekleog.org> (raw)
In-Reply-To: <87o9b8bicv.fsf@nicolasgoaziou.fr>
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> The problem is that
>
> (string-width "何か")
>
> 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… 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
prev parent reply other threads:[~2018-11-02 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 15:54 Full-width characters break column display Leo Gaspard
2018-11-01 17:29 ` Nicolas Goaziou
2018-11-01 18:23 ` Leo Gaspard
2018-11-01 21:25 ` Nicolas Goaziou
2018-11-02 18:35 ` Leo Gaspard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lczjpk7.fsf@llwynog.ekleog.org \
--to=orgmode@leo.gaspard.io \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.