emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: Nicolas Goaziou <n.goaziou@gmail.com>,
	emacs-orgmode@gnu.org,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: lists in tables
Date: Fri, 10 Jun 2011 19:17:55 +0200	[thread overview]
Message-ID: <BANLkTikjDx_vPiiPoju5KMLzeJNttW3p4w@mail.gmail.com> (raw)
In-Reply-To: <877h8uyclj.fsf@mat.ucm.es>

Hi Uwe

On Thu, Jun 9, 2011 at 22:27, Uwe Brauer <oub@mat.ucm.es> 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 |
|                      | \ @2$2..@4$2 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	other threads:[~2011-06-10 17:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 18:15 Uwe Brauer
2011-06-09 18:44 ` Nicolas Goaziou
2011-06-09 19:44   ` Carsten Dominik
2011-06-09 20:27     ` Uwe Brauer
2011-06-10 17:17       ` Michael Brand [this message]
2011-06-10 18:39         ` Can you clock two tasks at once? Mark S.
2011-06-10 19:57           ` Bernt Hansen
2011-06-30 16:08         ` lists in tables Bastien

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=BANLkTikjDx_vPiiPoju5KMLzeJNttW3p4w@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=oub@mat.ucm.es \
    /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).