emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2015-04-03  1:41 Eugen Dueck
  2015-04-07  2:18 ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Eugen Dueck @ 2015-04-03  1:41 UTC (permalink / raw)
  To: emacs-orgmode

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.

------------------------------------------------------------------------



Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
  of 2014-12-10 on gaia, modified by Debian
Package: Org-mode version 8.2.10 (8.2.10-dist @ 
/usr/share/emacs24/site-lisp/org-mode/)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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/)]
  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
  2015-05-06 15:27   ` Grant Rettke
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2015-04-07  2:18 UTC (permalink / raw)
  To: emacs-orgmode

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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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/)]
  2015-04-07  2:18 ` Eric Abrahamsen
@ 2015-05-06 15:27   ` Grant Rettke
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Rettke @ 2015-05-06 15:27 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode@gnu.org

Is there a task defined for this work?

I am interested in this too.
Grant Rettke
--
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Mon, Apr 6, 2015 at 9:18 PM, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> 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...
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-06 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-05-06 15:27   ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).