emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Table field clipping doesn't handle double-width characters properly
@ 2010-12-17 10:57 Štěpán Němec
  2011-01-09 10:35 ` David Maus
  0 siblings, 1 reply; 2+ messages in thread
From: Štěpán Němec @ 2010-12-17 10:57 UTC (permalink / raw)
  To: emacs-orgmode


Take the following table for instance:

| Year | English title                              | Korean title                   | Transliterated title                 |
|------+--------------------------------------------+--------------------------------+--------------------------------------|
| 1996 | Crocodile                                  | 악어                           | Ag-o                                 |
|      | Wild Animals                               | 야생동물 보호구역              | Yasaeng dongmul bohoguyeog           |
| 1998 | Birdcage Inn                               | 파란 대문                      | Paran daemun                         |
| 2000 | The Isle                                   | 섬                             | Seom                                 |
|      | Real Fiction                               | 실제 상황                      | Shilje sanghwang                     |
| 2001 | Address Unknown                            | 수취인 불명                    | Suchwiin bulmyeong                   |
|      | Bad Guy                                    | 나쁜 남자                      | Nabbeun namja                        |
| 2002 | The Coast Guard                            | 해안선                         | Haeanseon                            |
| 2003 | Spring, Summer, Fall, Winter... and Spring | 봄, 여름, 가을, 겨울 그리고 봄 | Bom yeoreum gaeul gyeoul geurigo bom |
| 2004 | Samaritan Girl                             | 사마리아                       | Samaria                              |
|      | 3-Iron                                     | 빈 집                          | Bin-jip                              |
| 2005 | The Bow                                    | 활                             | Hwal                                 |
| 2006 | Time                                       | 시간                           | Shi gan                              |
| 2007 | Breath                                     | 숨                             | Soom                                 |
| 2008 | Dream                                      | 비몽                           | Bimong                               |


If you add a width declaration ("<N>") to the column containing Korean,
when realigning the table you'll get an "args out of range" error inside
the text-properties-related code in `org-table-align' (provided the
width declaration actually does cause the text to be clipped).

  Štěpán

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

* Re: [BUG] Table field clipping doesn't handle double-width characters properly
  2010-12-17 10:57 [BUG] Table field clipping doesn't handle double-width characters properly Štěpán Němec
@ 2011-01-09 10:35 ` David Maus
  0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2011-01-09 10:35 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2957 bytes --]

At Fri, 17 Dec 2010 11:57:34 +0100,
Štěpán Němec wrote:
> 
> 
> Take the following table for instance:
> 
> | Year | English title                              | Korean title                   | Transliterated title                 |
> |------+--------------------------------------------+--------------------------------+--------------------------------------|
> | 1996 | Crocodile                                  | 악어                           | Ag-o                                 |
> |      | Wild Animals                               | 야생동물 보호구역              | Yasaeng dongmul bohoguyeog           |
> | 1998 | Birdcage Inn                               | 파란 대문                      | Paran daemun                         |
> | 2000 | The Isle                                   | 섬                             | Seom                                 |
> |      | Real Fiction                               | 실제 상황                      | Shilje sanghwang                     |
> | 2001 | Address Unknown                            | 수취인 불명                    | Suchwiin bulmyeong                   |
> |      | Bad Guy                                    | 나쁜 남자                      | Nabbeun namja                        |
> | 2002 | The Coast Guard                            | 해안선                         | Haeanseon                            |
> | 2003 | Spring, Summer, Fall, Winter... and Spring | 봄, 여름, 가을, 겨울 그리고 봄 | Bom yeoreum gaeul gyeoul geurigo bom |
> | 2004 | Samaritan Girl                             | 사마리아                       | Samaria                              |
> |      | 3-Iron                                     | 빈 집                          | Bin-jip                              |
> | 2005 | The Bow                                    | 활                             | Hwal                                 |
> | 2006 | Time                                       | 시간                           | Shi gan                              |
> | 2007 | Breath                                     | 숨                             | Soom                                 |
> | 2008 | Dream                                      | 비몽                           | Bimong                               |
> 
> 
> If you add a width declaration ("<N>") to the column containing Korean,
> when realigning the table you'll get an "args out of range" error inside
> the text-properties-related code in `org-table-align' (provided the
> width declaration actually does cause the text to be clipped).

I can confirm this with 

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2011-01-09 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-17 10:57 [BUG] Table field clipping doesn't handle double-width characters properly Štěpán Němec
2011-01-09 10:35 ` David Maus

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