From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: What to use for tables with lengthy text in cells? Date: Mon, 2 Mar 2015 15:16:52 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSZa9-0001PP-Ja for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 18:17:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSZa5-0003lo-Jx for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 18:17:01 -0500 Received: from iport-acv5-out.ucsd.edu ([132.239.0.10]:27859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSZa5-0003lS-Ae for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 18:16:57 -0500 In-Reply-To: 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: Matt Price Cc: Org Mode On Mon, 2 Mar 2015, Matt Price wrote: > I have a project which will require me to enter about a paragraph in each > of 5 fields several times a day. I would use org tables, but I need to be > able to see the table contents in the buffer, and org hides long lines. I > tried using table.el but it feels incredibly clumsy - for instance, I can't > find a way to add a row to the end of the table, which seems crazy. > > I am wondering what other people do in this situation - I guess I could > use a spreadsheet or an odt document but I would much rather stay in emacs > if I can. I sometimes use babel blocks for this purpose. For example, with ob-org.el loaded, with this org file: --8<---------------cut here---------------start------------->8--- #+NAME: abc #+BEGIN_SRC org :exports none This is chunk ~abc~. #+END_SRC Formatting via ascii: #+BEGIN_SRC emacs-lisp :var x=abc() :exports results (org-export-string-as x 'ascii t) #+END_SRC And plainly: call_abc() --8<---------------cut here---------------end--------------->8--- export via ascii yields: --8<---------------cut here---------------start------------->8--- Formatting via ascii: ,---- | This is chunk `abc'. `---- And plainly: `This is chunk ~abc~.' --8<---------------cut here---------------end--------------->8--- You can also use the noweb idiom to capture the contents of any kind of src block. HTH, Chuck