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

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