From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: lists in tables Date: Fri, 10 Jun 2011 19:17:55 +0200 Message-ID: References: <87k4cu3m7w.fsf@gilgamesch.quim.ucm.es> <87aadqq1z2.fsf@gmail.com> <877h8uyclj.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV5LQ-0003am-Q9 for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 13:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QV5LJ-00044y-7e for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 13:18:04 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:37637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QV5LJ-00044o-1b for emacs-orgmode@gnu.org; Fri, 10 Jun 2011 13:17:57 -0400 Received: by ewy9 with SMTP id 9so1136982ewy.0 for ; Fri, 10 Jun 2011 10:17:56 -0700 (PDT) In-Reply-To: <877h8uyclj.fsf@mat.ucm.es> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Uwe Brauer Cc: Nicolas Goaziou , emacs-orgmode@gnu.org, Carsten Dominik Hi Uwe On Thu, Jun 9, 2011 at 22:27, Uwe Brauer 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 "=A6" to continue a multiline field |------------+--------------------| | field @1$1 | field @1$2 | | field @2$1 | field @2$2 | =A6 =A6 automatically =A6 =A6 =A6 wraps over 3 lines =A6 | 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-/S-, 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=3D31443 http://thread.gmane.org/gmane.emacs.orgmode/14630 Michael