emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] lists in tables


From: Michael Brand
Subject: Re: [O] lists in tables
Date: Fri, 10 Jun 2011 19:17:55 +0200

Hi Uwe

On Thu, Jun 9, 2011 at 22:27, Uwe Brauer <address@hidden> wrote:
> And there is now easy way to allow more than one line per row?

No, there is no easy way.

The question is, what should be a row delimiter in a table. The answer
for an Org table is, each newline is also the end of the table row. Of
course it would be neat to enhance the Org table format with ... why
not the broken pipe "¦" to continue a multiline field
|------------+--------------------|
| field @1$1 | field @1$2         |
| field @2$1 | field @2$2         |
¦            ¦ automatically      ¦
¦            ¦ wraps over 3 lines ¦
| field @3$1 | field @3$2         |
|------------+--------------------|
|            | <18>               |
|------------+--------------------|
but this would mean a tremendous effort
- in extending the user interface (not the only question: in the same
  table you want some fields to wrap and some to truncate, right?
  (just kidding))
- in implementation
- in keeping all this consistent again

BTW the function org-table-wrap-region does "only" spread the contents
of _several table rows_ into again _several table rows_. Even that
function can not change that still one text line is one table row.

When I take notes only for myself I write sometimes
|----------------------+------------------------------------|
| my_field_1_1 in @1$1 | my_field_1_2 in @1$2               |
| my_field_2_1 in @2$1 | my_field_2_2 pretends to wrap over |
|                      | \ three lines but is just 3 fields |
|                      | \ @address@hidden with one line each    |
| my_field_3_1 in @5$1 | my_field_3_2 in @5$2               |
|----------------------+------------------------------------|
with the help of the function org-table-wrap-region and manually
readjust "\". But most of the useful things except e. g. auto
alignment of the table frames can not be used: S-<up>/S-<down>, export
of the table or spreadsheet and much more.

Look also here for more and how other people work around:
http://thread.gmane.org/gmane.emacs.orgmode/37756
http://thread.gmane.org/gmane.emacs.orgmode/31402/focus=31443
http://thread.gmane.org/gmane.emacs.orgmode/14630

Michael



reply via email to

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