From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen 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 Message-ID: <87lhi4y943.fsf@ericabrahamsen.net> References: <551DEFDE.9050902@tworks.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfJ5l-0001K6-HZ for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 22:18:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfJ5h-0003Ff-DE for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 22:18:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:41700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfJ5h-0003FZ-6y for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 22:18:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YfJ5e-0004lW-UM for emacs-orgmode@gnu.org; Tue, 07 Apr 2015 04:18:11 +0200 Received: from 114.248.19.146 ([114.248.19.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 04:18:10 +0200 Received: from eric by 114.248.19.146 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Apr 2015 04:18:10 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eugen Dueck 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...