emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Table field clipping doesn't handle double-width characters properly
Date: Fri, 17 Dec 2010 11:57:34 +0100	[thread overview]
Message-ID: <87pqt04qg1.fsf@gmail.com> (raw)


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

             reply	other threads:[~2010-12-17 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 10:57 Štěpán Němec [this message]
2011-01-09 10:35 ` [BUG] Table field clipping doesn't handle double-width characters properly David Maus

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87pqt04qg1.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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