emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Pressing TAB in table cell with CJK characters sometimes destroys proper column alignment [8.2.10 (8.2.10-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
Date: Tue, 07 Apr 2015 10:18:04 +0800	[thread overview]
Message-ID: <87lhi4y943.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 551DEFDE.9050902@tworks.co.jp

Eugen Dueck <eugen@tworks.co.jp> writes:

> In a simple org-table like the following:
> | aaaa |   |
> | 漢   |   |
> when pressing the TAB key in the bottom left cell, one space character
> is removed from that cell and the table thus looks like
> | aaaa |   |
> | 漢  |   |
> Pressing TAB again in that cell removes another space character
> | aaaa |   |
> | 漢 |   |
> I can repeat this until only one space remains between the Japanese
> character and the column separator to its right.
> When working on a table, navigating via TAB, over time all the CJK
> cells that I TABbed out of - or Shift-TABbed out of - get affected,
> messing up the overall table layout. Once I press C-c C-c, the
> formatting of the whole table gets restored, until my next TAB, but it
> would of course be nice if TABs didn't destroy it in the first place.
> Btw, org-table rocks and I use it all the time - and I hope to be able
> to use it with Japanese characters as well.

A while ago I spent some time making this work as well as possible for
double-width glyphs, but I also noticed that sometime recently it's gone
back to the old behavior. I can look into it again, but work is
encroaching and it might take me a little time...

  reply	other threads:[~2015-04-07  2:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03  1:41 Bug: Pressing TAB in table cell with CJK characters sometimes destroys proper column alignment [8.2.10 (8.2.10-dist @ /usr/share/emacs24/site-lisp/org-mode/)] Eugen Dueck
2015-04-07  2:18 ` Eric Abrahamsen [this message]
2015-05-06 15:27   ` Grant Rettke

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhi4y943.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).