emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [BUG] Table field clipping doesn't handle double-width charact


From: Štěpán Němec
Subject: [Orgmode] [BUG] Table field clipping doesn't handle double-width characters properly
Date: Fri, 17 Dec 2010 11:57:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]